daily pastebin goal
44%
SHARE
TWEET

Untitled

a guest Jul 17th, 2018 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. from __future__ import print_function
  4.  
  5. try:
  6.     import platform_specific_module
  7. except ImportError:
  8.     platform_specific_module = None
  9.  
  10. class NameOfClass(object):
  11.  
  12.     __doc__ = """ Class information  """
  13.  
  14.     STATICVAR = None
  15.  
  16.     def __init(self):
  17.         glabalVar = None
  18.  
  19.     def main(self, var1=None,var2=None):
  20.         if var1 != None:
  21.             "Do If statement"
  22.         else:
  23.             "Do Else Statement"
  24.         return self.submethod("test")
  25.  
  26.     def submethod(test):
  27.         return(test)
  28.    
  29. if __name__ == "__main__":
  30.     "Do something when not imported as module"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top