Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python
- # -*- coding: utf-8 -*-
- from __future__ import print_function
- try:
- import platform_specific_module
- except ImportError:
- platform_specific_module = None
- class NameOfClass(object):
- __doc__ = """ Class information """
- STATICVAR = None
- def __init(self):
- glabalVar = None
- def main(self, var1=None,var2=None):
- if var1 != None:
- "Do If statement"
- else:
- "Do Else Statement"
- return self.submethod("test")
- def submethod(test):
- return(test)
- if __name__ == "__main__":
- "Do something when not imported as module"
Add Comment
Please, Sign In to add comment