Did I find the right examples for you? yes no

All Samples(259559)  |  Call(0)  |  Derive(0)  |  Import(259559)
OS routines for Mac, NT, or Posix depending on what system we're on.

This exports:
  - all functions from posix, nt, os2, or ce, e.g. unlink, stat, etc.
  - os.path is one of the modules posixpath, or ntpath
  - os.name is 'posix', 'nt', 'os2', 'ce' or 'riscos'
  - os.curdir is a string representing the current directory ('.' or ':')
  - os.pardir is a string representing the parent directory ('..' or '::')
  - os.sep is the (or a most common) pathname separator ('/' or ':' or '\\')
  - os.extsep is the extension separator ('.' or '/')(more...)

src/o/h/oh-mainline-HEAD/vendor/packages/gdata/samples/oauth/oauth_on_appengine/appengine_utilities/cron.py   oh-mainline(Download)
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
"""
import os
import cgi
import re

src/h/o/hortonworks-sandbox-HEAD/desktop/core/ext-py/Twisted/doc/core/examples/threadedselect/pygamedemo.py   hortonworks-sandbox(Download)
from twisted.internet import reactor
 
import os
 
import pygame

src/e/d/edna-HEAD/libraries/xia2core-r298/Python/Examples/CCP4/Sortmtz.py   edna(Download)
# 
 
import os
import sys
 
    # then run a quick test
 
    import os
 
    if not os.environ.has_key('XIA2CORE_ROOT'):

src/k/a/kamaelia-HEAD/Sketches/MPS/BugReports/FixTests/Kamaelia/Examples/SimpleGraphicalApps/BouncingCatGame/Sprites/BasicSprite.py   kamaelia(Download)
import pygame.mixer
import random
import os
pygame.init()
 

src/a/n/antisocial-HEAD/ve/share/doc/ipython/examples/widgets/directview/widget.py   antisocial(Download)
#-----------------------------------------------------------------------------
 
import os
import uuid
 

src/a/n/antisocial-HEAD/ve/share/doc/ipython/examples/parallel/pi/pidigits.py   antisocial(Download)
def fetch_pi_file(filename):
    """This will download a segment of pi from super-computing.org
    if the file is not already present.
    """
    import os, urllib

src/a/n/antisocial-HEAD/ve/share/doc/ipython/examples/parallel/davinci/pwordfreq.py   antisocial(Download)
 
 
import os
import time
import urllib

src/o/p/openshift_web2py-HEAD/wsgi/web2py/applications/examples/controllers/default.py   openshift_web2py(Download)
def license():
    import os
    filename = os.path.join(request.env.gluon_parent, 'LICENSE')
    return response.render(dict(license=MARKMIN(read_file(filename))))
 
def changelog():
    import os
    filename = os.path.join(request.env.gluon_parent, 'CHANGELOG')
    return response.render(dict(changelog=MARKMIN(read_file(filename))))
 

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/lib/test2/sample_aop_code.py   plexnet(Download)
    return r
"""
import os, sys
import os.path as osp
 

src/o/h/oh-mainline-HEAD/vendor/packages/twisted/doc/core/examples/dbcred.py   oh-mainline(Download)
    from twisted.python import log
    log.startLogging(sys.stdout)
    import os
    if os.path.isfile('testcred'):
        os.remove('testcred')

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