Did I find the right examples for you? yes no

All Samples(59)  |  Call(38)  |  Derive(0)  |  Import(21)
Provides a file-like object that takes care of all the things you
commonly want to do when processing a text file that has some
line-by-line syntax: strip comments (as long as "#" is your
comment character), skip blank lines, join adjacent lines by
escaping the newline (ie. backslash at end of line), strip
leading and/or trailing whitespace.  All of these are optional
and independently controllable.

Provides a 'warn()' method so you can generate warning messages that
report physical line number, even if the logical line in question(more...)

src/c/h/Chocolatey-Packages-HEAD/mwrock-TfsDesktop/tools/sublime/Backup/20120727105608/AAAPackageDev/setup.py   Chocolatey-Packages(Download)
from distutils.core import Command
from distutils.core import setup
from distutils.text_file import TextFile
from distutils.filelist import FileList
from distutils.errors import *
        """
        log.info("reading manifest template '%s'", self.template)
        template = TextFile(self.template,
                            strip_comments=1,
                            skip_blanks=1,

src/c/h/Chocolatey-Packages-HEAD/mwrock-TfsDesktop/tools/sublime/Backup/20120706164234/AAAPackageDev/setup.py   Chocolatey-Packages(Download)
from distutils.core import Command
from distutils.core import setup
from distutils.text_file import TextFile
from distutils.filelist import FileList
from distutils.errors import *
        """
        log.info("reading manifest template '%s'", self.template)
        template = TextFile(self.template,
                            strip_comments=1,
                            skip_blanks=1,

src/c/h/Chocolatey-Packages-HEAD/mwrock-TfsDesktop/tools/sublime/Backup/20120520162633/AAAPackageDev/setup.py   Chocolatey-Packages(Download)
from distutils.core import Command
from distutils.core import setup
from distutils.text_file import TextFile
from distutils.filelist import FileList
from distutils.errors import *
        """
        log.info("reading manifest template '%s'", self.template)
        template = TextFile(self.template,
                            strip_comments=1,
                            skip_blanks=1,

src/c/h/Chocolatey-Packages-HEAD/mwrock-TfsDesktop/tools/sublime/Backup/20120426035411/PowerShell/setup.py   Chocolatey-Packages(Download)
from distutils.core import Command
from distutils.core import setup
from distutils.text_file import TextFile
from distutils.filelist import FileList
from distutils.errors import *
        """
        log.info("reading manifest template '%s'", self.template)
        template = TextFile(self.template,
                            strip_comments=1,
                            skip_blanks=1,

src/c/h/Chocolatey-Packages-HEAD/mwrock-TfsDesktop/tools/sublime/Backup/20120331054222/AAAPackageDev/setup.py   Chocolatey-Packages(Download)
from distutils.core import Command
from distutils.core import setup
from distutils.text_file import TextFile
from distutils.filelist import FileList
from distutils.errors import *
        """
        log.info("reading manifest template '%s'", self.template)
        template = TextFile(self.template,
                            strip_comments=1,
                            skip_blanks=1,

src/c/h/Chocolatey-Packages-HEAD/mwrock-TfsDesktop/tools/sublime/Packages/PowershellUtils/setup.py   Chocolatey-Packages(Download)
from distutils.core import Command
from distutils.core import setup
from distutils.text_file import TextFile
from distutils.filelist import FileList
from distutils.errors import *
        """
        log.info("reading manifest template '%s'", self.template)
        template = TextFile(self.template,
                            strip_comments=1,
                            skip_blanks=1,

src/c/h/Chocolatey-Packages-HEAD/mwrock-TfsDesktop/tools/sublime/Packages/PowerShell/setup.py   Chocolatey-Packages(Download)
from distutils.core import Command
from distutils.core import setup
from distutils.text_file import TextFile
from distutils.filelist import FileList
from distutils.errors import *
        """
        log.info("reading manifest template '%s'", self.template)
        template = TextFile(self.template,
                            strip_comments=1,
                            skip_blanks=1,

src/c/h/Chocolatey-Packages-HEAD/mwrock-TfsDesktop/tools/sublime/Packages/AAAPackageDev/setup.py   Chocolatey-Packages(Download)
from distutils.core import Command
from distutils.core import setup
from distutils.text_file import TextFile
from distutils.filelist import FileList
from distutils.errors import *
        """
        log.info("reading manifest template '%s'", self.template)
        template = TextFile(self.template,
                            strip_comments=1,
                            skip_blanks=1,

src/a/m/Amara-2.0.0/setup.py   Amara(Download)
from distutils.command.sdist import sdist as cmdclass
from distutils.filelist import FileList
from distutils.text_file import TextFile
class sdist(cmdclass):
    _get_file_list = cmdclass.get_file_list
        # Check for template (usually "MANIFEST.in")
        if os.path.isfile(self.template):
            template = TextFile(self.template,
                                strip_comments=1,
                                skip_blanks=1,

src/s/u/SublimeText2-Config-HEAD/Packages/AAAPackageDev/setup.py   SublimeText2-Config(Download)
from distutils.core import Command
from distutils.core import setup
from distutils.text_file import TextFile
from distutils.filelist import FileList
from distutils.errors import *
        """
        log.info("reading manifest template '%s'", self.template)
        template = TextFile(self.template,
                            strip_comments=1,
                            skip_blanks=1,

  1 | 2 | 3 | 4  Next