daily pastebin goal
62%
SHARE
TWEET

Solution of use one py file to run other py files one by one

Aqueouscarlos Aug 3rd, 2018 101 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import file1
  2. file1.function()
  3.  
  4. import file2
  5. file2.function()
  6.  
  7. import file3
  8. file3.function()
  9.  
  10. '''
  11. # content of file1.py
  12. import a
  13. def function()
  14.    
  15.  
  16. if __name__ == "__main__":
  17. ...
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