Advertisement
Guest User

Untitled

a guest
Jul 25th, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.31 KB | None | 0 0
  1. $ tree
  2. .
  3. └── project/
  4.     ├── __init__.py
  5.     ├── program.py
  6.     └── utils.py
  7.  
  8. 1 directory, 3 files
  9.  
  10. $ cat project/program.py
  11. from .utils import Utils
  12. print(Utils)
  13.  
  14. $ cat project/utils.py
  15. Utils = "foo"
  16.  
  17. $ python2 -m project.program
  18. foo
  19.  
  20. $ python3 -m project.program
  21. foo
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement