Did I find the right examples for you? yes no

All Samples(79)  |  Call(0)  |  Derive(0)  |  Import(79)

src/d/j/django-admin-report-HEAD/example/lib/reportlab/lib/utils.py   django-admin-report(Download)
    #way so the system knows it is a PDF file.
    #This supplied by Joe Strout
    import macfs, macostools
    _KNOWN_MAC_EXT = {
        'BMP' : ('ogle','BMP '),

src/d/j/django-admin-report-HEAD/example/lib/reportlab/graphics/shapes.py   django-admin-report(Download)
            ext = ext +  '/.pdf'
            if sys.platform=='mac':
                import macfs, macostools
                macfs.FSSpec(filename).SetCreatorType("CARO", "PDF ")
                macostools.touched(filename)

src/d/j/django-admin-report-HEAD/example/lib/reportlab/graphics/renderPDF.py   django-admin-report(Download)
    if sys.platform=='mac' and not hasattr(fn, "write"):
        try:
            import macfs, macostools
            macfs.FSSpec(fn).SetCreatorType("CARO", "PDF ")
            macostools.touched(fn)

src/s/p/Spherebot-Host-GUI-HEAD/InkscapePortable/App/Inkscape/python/Lib/site-packages/sk1libs/libpdf/lib/utils.py   Spherebot-Host-GUI(Download)
    #way so the system knows it is a PDF file.
    #This supplied by Joe Strout
    import macfs, macostools
    _KNOWN_MAC_EXT = {
        'BMP' : ('ogle','BMP '),

src/p/l/plexnet-HEAD/third_party/generic/pypy/lib-python/2.5.2/plat-mac/macresource.py   plexnet(Download)
import sys
import MacOS
import macostools
 
class ArgumentError(TypeError): pass

src/p/l/plexnet-HEAD/third_party/generic/pypy/lib-python/2.5.2/plat-mac/ic.py   plexnet(Download)
from Carbon import Res
import Carbon.File
import macostools
 
error=icglue.error

src/p/l/plexnet-HEAD/third_party/generic/pypy/lib-python/2.5.2/plat-mac/buildtools.py   plexnet(Download)
import Carbon.File
import MacOS
import macostools
import macresource
import EasyDialogs

src/m/w/mwlib.ext-0.13.2/upstream-src/src/reportlab/lib/utils.py   mwlib.ext(Download)
    #way so the system knows it is a PDF file.
    #This supplied by Joe Strout
    import macfs, macostools
    _KNOWN_MAC_EXT = {
        'BMP' : ('ogle','BMP '),

src/m/w/mwlib.ext-0.13.2/upstream-src/src/reportlab/graphics/shapes.py   mwlib.ext(Download)
            ext = ext +  '/.pdf'
            if sys.platform=='mac':
                import macfs, macostools
                macfs.FSSpec(filename).SetCreatorType("CARO", "PDF ")
                macostools.touched(filename)

src/m/w/mwlib.ext-0.13.2/upstream-src/src/reportlab/graphics/renderPDF.py   mwlib.ext(Download)
    if sys.platform=='mac' and not hasattr(fn, "write"):
        try:
            import macfs, macostools
            macfs.FSSpec(fn).SetCreatorType("CARO", "PDF ")
            macostools.touched(fn)

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