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

All Samples(10)  |  Call(1)  |  Derive(4)  |  Import(5)

src/p/y/pythia-0.8.1.11/pyre/filesystem/Directory.py   pythia(Download)
    def expand(self):
 
        import os
        import stat
        from BlockDevice import BlockDevice
                node = CharacterDevice(name, self)
            elif stat.S_ISBLK(mode):
                node = BlockDevice(name, self)
            else:
                Firewall.hit("unknown file type: mode=%x" % mode)

src/a/m/amitools-HEAD/amitools/fs/blkdev/RawBlockDevice.py   amitools(Download)
from BlockDevice import BlockDevice
import os.path
import os
 
from ImageFile import ImageFile
 
class RawBlockDevice(BlockDevice):

src/a/m/amitools-HEAD/amitools/fs/blkdev/PartBlockDevice.py   amitools(Download)
from BlockDevice import BlockDevice
import os.path
import os
 
class PartBlockDevice(BlockDevice):

src/a/m/amitools-HEAD/amitools/fs/blkdev/HDFBlockDevice.py   amitools(Download)
from BlockDevice import BlockDevice
from DiskGeometry import DiskGeometry
from ImageFile import ImageFile
import os.path
import os
 
class HDFBlockDevice(BlockDevice):

src/a/m/amitools-HEAD/amitools/fs/blkdev/ADFBlockDevice.py   amitools(Download)
from BlockDevice import BlockDevice
import ctypes
import gzip
 
class ADFBlockDevice(BlockDevice):