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

All Samples(5633)  |  Call(5633)  |  Derive(0)  |  Import(0)
L.insert(index, object) -- insert object before index

src/o/b/objbrowser-HEAD/examples/add_columns.py   objbrowser(Download)
 
    attribute_columns = list(DEFAULT_ATTR_COLS)
    attribute_columns.insert(5, sqrt_attr_model_1)
    attribute_columns.insert(6, sqrt_attr_model_2)
    attribute_columns.insert(7, sqrt_attr_model_3)
    attribute_columns.insert(8, sqrt_attr_model_4)
 
    # You can also add the attribute to the details pane
    attribute_details = list(DEFAULT_ATTR_DETAILS)
    attribute_details.insert(0, sqrt_attr_model_1)

src/p/y/PySide-1.2.2/sources/pyside-examples/examples/mainwindows/recentfiles.py   PySide(Download)
            pass
 
        files.insert(0, fileName)
        del files[MainWindow.MaxRecentFiles:]
 

src/e/x/Examples-HEAD/examples/mainwindows/recentfiles.py   Examples(Download)
            pass
 
        files.insert(0, fileName)
        del files[MainWindow.MaxRecentFiles:]
 

src/p/y/PyModel-1.0/samples/StackResult/Stack.py   PyModel(Download)
def Push(x):
  global stack
  stack.insert(0,x)
 
# Push is always enabled

src/p/y/PyModel-1.0/samples/Stack/Stack.py   PyModel(Download)
def Push(x):
  global stack
  stack.insert(0,x)
 
# Push is always enabled

src/p/y/PyModel-HEAD/samples/StackResult/Stack.py   PyModel(Download)
def Push(x):
  global stack
  stack.insert(0,x)
 
# Push is always enabled

src/p/y/PyModel-HEAD/samples/Stack/Stack.py   PyModel(Download)
def Push(x):
  global stack
  stack.insert(0,x)
 
# Push is always enabled

src/g/a/gae-twitter-oauth-example-HEAD/werkzeug/wsgi.py   gae-twitter-oauth-example(Download)
        iterable_close = getattr(iterator, 'close', None)
        if iterable_close:
            callbacks.insert(0, iterable_close)
        self._callbacks = callbacks
 

src/v/p/vpython-wx-HEAD/site-packages/visual/examples/extrusion_overview.py   vpython-wx(Download)
    path = list(P.pos)
    P0 = vector(path[0])
    path.insert(1,P0+0.01*norm(vector(path[1])-P0))
    E = extrusion(frame=f, pos=path,
              color=(0.904,0.693,0.595), material=materials.plastic, shape=square+disk-hole1-hole2, scale=1.6)

src/o/b/objbrowser-HEAD/examples/simple_add_column.py   objbrowser(Download)
 
    attribute_columns = list(DEFAULT_ATTR_COLS)
    attribute_columns.insert(5, sqrt_attr_model)
 
    return browse(*args, attribute_columns = attribute_columns, **kwargs)

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