main
index
c:\python32\lib\readerlib\main.py

Main file which includes the main reader class

 
Modules
       
readerlib.config32
sys

 
Classes
       
builtins.Exception(builtins.BaseException)
openError
readError
builtins.object
Help
Main

 
class Help(builtins.object)
     Methods defined here:
__init__(self)
showHelp(self)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class Main(builtins.object)
     Methods defined here:
__init__(self, fileToRead, linesToRead, case)
readLower(self, file, count)
Open file 'file' and print the text content in small letters
readUpper(self, file, count)
Open file 'f' and print the text content in capital letters

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class openError(builtins.Exception)
    Error for inability to open file
 
 
Method resolution order:
openError
builtins.Exception
builtins.BaseException
builtins.object

Data descriptors defined here:
__weakref__
list of weak references to the object (if defined)

Methods inherited from builtins.Exception:
__init__(...)
x.__init__(...) initializes x; see help(type(x)) for signature

Data and other attributes inherited from builtins.Exception:
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T

Methods inherited from builtins.BaseException:
__delattr__(...)
x.__delattr__('name') <==> del x.name
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__reduce__(...)
__repr__(...)
x.__repr__() <==> repr(x)
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
__setstate__(...)
__str__(...)
x.__str__() <==> str(x)
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from builtins.BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__traceback__
args

 
class readError(builtins.Exception)
    Error for inability to read file
 
 
Method resolution order:
readError
builtins.Exception
builtins.BaseException
builtins.object

Data descriptors defined here:
__weakref__
list of weak references to the object (if defined)

Methods inherited from builtins.Exception:
__init__(...)
x.__init__(...) initializes x; see help(type(x)) for signature

Data and other attributes inherited from builtins.Exception:
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T

Methods inherited from builtins.BaseException:
__delattr__(...)
x.__delattr__('name') <==> del x.name
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__reduce__(...)
__repr__(...)
x.__repr__() <==> repr(x)
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
__setstate__(...)
__str__(...)
x.__str__() <==> str(x)
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from builtins.BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__traceback__
args

 
Data
        CONFIGUREHELP = 'class Configure:\nchanges the parser configuratio...ut or sys.stderr anything else is not supported\n\n'
DOCUMENT = 'Hi, welcome to the readerlib help\n\n'
DOCUMENT2 = 'Just type Exit (case sensitive) to exit readerlib help\n\n'
HELPHELP = 'class Help:\nThis initializes readerlib help'
MAINHELP = 'class Main:\nThis class just initializes the pack...ration to determine the parsing method for file\n\n'
PROMPT = '>>> '
READHELP = 'def read():\nThis is the function to read the fil...read, it defaults to -1 which means all letters\n\n'