Did I find the right examples for you? yes no

All Samples(234)  |  Call(225)  |  Derive(0)  |  Import(9)
Return an absolute path to the source or compiled file for an object.

The idea is for each object to have a unique origin, so this routine
normalizes the result as much as possible.

        def getabsfile(object, _filename=None):
    """Return an absolute path to the source or compiled file for an object.

    The idea is for each object to have a unique origin, so this routine
    normalizes the result as much as possible."""
    if _filename is None:
        _filename = getsourcefile(object) or getfile(object)
    return os.path.normcase(os.path.abspath(_filename))
        


src/d/r/dramatis-0.1.1/examples/telephone/third/run.py   dramatis(Download)
import os.path
 
sys.path[0:0] = [ os.path.join( os.path.dirname( inspect.getabsfile( inspect.currentframe() ) ), '..', '..', '..', 'lib' ) ]
sys.path[0:0] = [ os.path.join( os.path.dirname( inspect.getabsfile( inspect.currentframe() ) ), '..' ) ]
 

src/d/r/dramatis-0.1.1/examples/telephone/sixth/run.py   dramatis(Download)
import os.path
 
sys.path[0:0] = [ os.path.join( os.path.dirname( inspect.getabsfile( inspect.currentframe() ) ), '..', '..', '..', 'lib' ) ]
sys.path[0:0] = [ os.path.join( os.path.dirname( inspect.getabsfile( inspect.currentframe() ) ), '..' ) ]
 

src/d/r/dramatis-0.1.1/examples/telephone/seventh/run.py   dramatis(Download)
import os.path
 
sys.path[0:0] = [ os.path.join( os.path.dirname( inspect.getabsfile( inspect.currentframe() ) ), '..', '..', '..', 'lib' ) ]
sys.path[0:0] = [ os.path.join( os.path.dirname( inspect.getabsfile( inspect.currentframe() ) ), '..' ) ]
 

src/d/r/dramatis-0.1.1/examples/telephone/second/run.py   dramatis(Download)
import os.path
 
sys.path[0:0] = [ os.path.join( os.path.dirname( inspect.getabsfile( inspect.currentframe() ) ), '..', '..', '..', 'lib' ) ]
sys.path[0:0] = [ os.path.join( os.path.dirname( inspect.getabsfile( inspect.currentframe() ) ), '..' ) ]
 

src/d/r/dramatis-0.1.1/examples/telephone/fourth/run.py   dramatis(Download)
import os.path
 
sys.path[0:0] = [ os.path.join( os.path.dirname( inspect.getabsfile( inspect.currentframe() ) ), '..', '..', '..', 'lib' ) ]
sys.path[0:0] = [ os.path.join( os.path.dirname( inspect.getabsfile( inspect.currentframe() ) ), '..' ) ]
 

src/d/r/dramatis-0.1.1/examples/telephone/first/run.py   dramatis(Download)
import os.path
 
sys.path[0:0] = [ os.path.join( os.path.dirname( inspect.getabsfile( inspect.currentframe() ) ), '..', '..', '..', 'lib' ) ]
sys.path[0:0] = [ os.path.join( os.path.dirname( inspect.getabsfile( inspect.currentframe() ) ), '..' ) ]
 

src/d/r/dramatis-0.1.1/examples/telephone/fifth/run.py   dramatis(Download)
import os.path
 
sys.path[0:0] = [ os.path.join( os.path.dirname( inspect.getabsfile( inspect.currentframe() ) ), '..', '..', '..', 'lib' ) ]
sys.path[0:0] = [ os.path.join( os.path.dirname( inspect.getabsfile( inspect.currentframe() ) ), '..' ) ]
 

src/d/r/dramatis-0.1.1/examples/im/single/wxchat.py   dramatis(Download)
import os.path
 
sys.path[0:0] = [ os.path.join( os.path.dirname( inspect.getabsfile( inspect.currentframe() ) ), '..', '..', '..', 'lib' ) ]
 
from logging import warning

src/d/r/dramatis-0.1.1/examples/telephone/mangler.py   dramatis(Download)
    def _words(cls):
        try:
            return cls._word_list
        except:
            f = os.path.join( os.path.dirname( inspect.getabsfile( inspect.currentframe() ) ), "3esl.txt" )

src/d/r/dramatis-0.1.1/examples/pingpong/scala.py   dramatis(Download)
import os.path
 
sys.path[0:0] = [ os.path.join( os.path.dirname( inspect.getabsfile( inspect.currentframe() ) ), '..', '..', 'lib' ) ]
 
from logging import warning

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