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

All Samples(4261)  |  Call(4261)  |  Derive(0)  |  Import(0)
L.extend(iterable) -- extend list by appending elements from the iterable

src/m/n/mne-python-HEAD/examples/connectivity/plot_mne_inverse_label_connectivity.py   mne-python(Download)
# Save the plot order and create a circular layout
node_order = list()
node_order.extend(lh_labels[::-1])  # reverse the order
node_order.extend(rh_labels)
 

src/m/n/mne-0.7.1/examples/connectivity/plot_mne_inverse_label_connectivity.py   mne(Download)
# Save the plot order and create a circular layout
node_order = list()
node_order.extend(lh_labels[::-1])  # reverse the order
node_order.extend(rh_labels)
 

src/d/j/django_db_sampler-0.21/db_sampler_script.py   django_db_sampler(Download)
 
            # Make sure its dependencies appear in the list before it does.
            deps.extend(identify_dependencies(obj))
            deps.append(obj)
 
            for child in related.all():
                children.append(child)
                children.extend(identify_simple_children(child, depth=depth-1))
 
    return children
 
        related_objects = getattr(dmobj, m2m_field.name).all()
        related_m2m_objects.extend(related_objects)
 
        through_objects = m2m_field.rel.through.objects.all()
        through_m2m_objects.extend(through_objects)

src/g/m/GMM-HEAD/examples/simulations/watts_strogatz/watts_strogatz.py   GMM(Download)
    ws_data=list()
    for i in xrange(num_iterations):
        ws_data.extend(map(lambda p: ws_gen(n_ws, k_ws, p), probs))
 
    # Output results as a CSV

src/p/y/python-twoauth-HEAD/sample/followingfollowers.py   python-twoauth(Download)
        a = api.friends(cursor = cursor)
        cursor = long(a["next_cursor"])
        friends.extend(a["users"])
 
    print "Getting followers..."
        a = api.followers(cursor = cursor)
        cursor = long(a["next_cursor"])
        followers.extend(a["users"])
 
    print "Getting friend_ids"

src/h/u/hunch-sample-app-HEAD/django/db/models/query.py   hunch-sample-app(Download)
                self._result_cache = list(self.iterator())
        elif self._iter:
            self._result_cache.extend(list(self._iter))
        return len(self._result_cache)
 

src/m/a/matplotlib-ancient-HEAD/examples/tests/backend_driver.py   matplotlib-ancient(Download)
 
all_backends = list(rcsetup.all_backends)  # to leave the original list alone
all_backends.extend(['cairo.png', 'cairo.ps', 'cairo.pdf', 'cairo.svg'])
 
# actual physical directory for each dir

src/r/w/rwet-examples-HEAD/textblobbed/summarize_poorly.py   rwet-examples(Download)
def get_all_hypernym_synsets(word):
	hypernym_synsets = list()
	for synset in word.get_synsets(pos=NOUN):
		hypernym_synsets.extend(synset.hypernyms())
	return hypernym_synsets
				# add all of the hypernym synsets to our comprehensive list
				if len(word_str) > 3 and len(hypernym_synsets) > 0:
					all_hypernym_synsets.extend(hypernym_synsets)
 
	# shuffle all hypernym synsets

src/w/e/Webapp2-Sample-Applications-HEAD/virtualenv.py   Webapp2-Sample-Applications(Download)
def change_prefix(filename, dst_prefix):
    prefixes = [sys.prefix]
 
    if sys.platform == "darwin":
        prefixes.extend((

src/d/j/django-hotsauce-0.5.0/examples/lib/product/modules/custom/models.py   Django-hotsauce(Download)
        else:
            curr = list(context['options'])
            curr.extend(list(options))
            context['options'] = curr
 

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