Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3277)  |  Call(3277)  |  Derive(0)  |  Import(0)
L.remove(value) -- remove first occurrence of value.
Raises ValueError if the value is not present.

src/q/s/QSTK-0.2.7/Examples/FeatureSearch/functions.py   QSTK(Download)
					sys.stdout.write('feature not removed b/c state already seen. \n\n')
					break
				lSelectedFeatures.remove(retValue2['worstFeature'])
				lSeenStates.append(set(lSelectedFeatures))
				lRemainingFeatures.append(retValue2['worstFeature'])
				lSelectedFeatures.append(retValue2['bestFeature'])
				lSeenStates.append(set(lSelectedFeatures))
				lRemainingFeatures.remove(retValue2['bestFeature'])
				lCorrCoef.append(retValue2['bestFeatureCorrCoef'])
			else:
					sys.stdout.write('feature not removed b/c state already seen. \n\n')
					break
				lSelectedFeatures.remove(retValue2['worstFeature'])
				lSeenStates.append(set(lSelectedFeatures))
				lRemainingFeatures.append(retValue2['worstFeature'])
				lSelectedFeatures.append(retValue2['bestFeature'])
				lSeenStates.append(set(lSelectedFeatures))
				lRemainingFeatures.remove(retValue2['bestFeature'])
				lCorrCoef.append(retValue2['bestFeatureCorrCoef'])
				change = True
					sys.stdout.write('feature not removed b/c state already seen. \n\n')
					break
				lSelectedFeatures.remove(retValue2['worstFeature'])
				lSeenStates.append(set(lSelectedFeatures))
				lRemainingFeatures.append(retValue2['worstFeature'])

src/h/u/hunch-sample-app-HEAD/django/contrib/messages/tests/base.py   hunch-sample-app(Download)
        settings.INSTALLED_APPS = list(settings.INSTALLED_APPS)
        settings.INSTALLED_APPS.remove(
            'django.contrib.messages',
        )
        settings.MIDDLEWARE_CLASSES = list(settings.MIDDLEWARE_CLASSES)
        settings.MIDDLEWARE_CLASSES.remove(
            'django.contrib.messages.middleware.MessageMiddleware',
          list(settings.TEMPLATE_CONTEXT_PROCESSORS)
        settings.TEMPLATE_CONTEXT_PROCESSORS.remove(
            'django.contrib.messages.context_processors.messages',
        )
        data = {
        settings.INSTALLED_APPS = list(settings.INSTALLED_APPS)
        settings.INSTALLED_APPS.remove(
            'django.contrib.messages',
        )
        settings.MIDDLEWARE_CLASSES = list(settings.MIDDLEWARE_CLASSES)
        settings.MIDDLEWARE_CLASSES.remove(
            'django.contrib.messages.middleware.MessageMiddleware',

src/h/e/heroku-playframework-HEAD/play-1.2.2RC1/modules/scala-0.9.1/samples-and-tests/i-am-a-developer/mechanize/_opener.py   heroku-playframework(Download)
                        skip.append(klass)
        for klass in skip:
            default_classes.remove(klass)
 
        for klass in default_classes:

src/l/a/landline-server-HEAD/co.whatisuplabs.ldln/lib/play/samples-and-tests/i-am-a-developer/mechanize/_opener.py   landline-server(Download)
                        skip.append(klass)
        for klass in skip:
            default_classes.remove(klass)
 
        for klass in default_classes:

src/b/i/BigJob-0.64.5/examples/tutorial/barebones-local/local_chained_ensembles.py   BigJob(Download)
                    print "* Submitted 'B' task '%s' with id '%s'" % (i, task.get_id())
                    task_set_B.append(task)
                    task_set_A.remove(a_task)
 
    except Exception, ex:

src/b/i/BigJob2-0.54-42-g09ea8bc/examples/tutorial/barebones-local/local_chained_ensembles.py   BigJob2(Download)
                    print "* Submitted 'B' task '%s' with id '%s'" % (i, task.get_id())
                    task_set_B.append(task)
                    task_set_A.remove(a_task)
 
    except Exception, ex:

src/b/i/BigJob-0.64.5/examples/xsede2013/03_bigjob_chained_ensemble.py   BigJob(Download)
                    print "* Submitted 'B' task '%s' with id '%s'" % (i, task.get_id())
                    task_set_B.append(task)
                    task_set_A.remove(a_task)
 
        # ---------------------------------------------------------------------

src/b/i/BigJob2-0.54-42-g09ea8bc/examples/xsede2013/03_bigjob_chained_ensemble.py   BigJob2(Download)
                    print "* Submitted 'B' task '%s' with id '%s'" % (i, task.get_id())
                    task_set_B.append(task)
                    task_set_A.remove(a_task)
 
        # ---------------------------------------------------------------------

src/p/y/PySide-1.2.2/sources/pyside-examples/examples/mainwindows/recentfiles.py   PySide(Download)
 
        try:
            files.remove(fileName)
        except ValueError:
            pass

src/h/e/heroku-playframework-HEAD/play-1.2.2RC1/samples-and-tests/i-am-a-developer/mechanize/_opener.py   heroku-playframework(Download)
                        skip.append(klass)
        for klass in skip:
            default_classes.remove(klass)
 
        for klass in default_classes:

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next