Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # example1
- # ├── main.py
- # └── dir2
- # ├── __init__.py
- # ├── converters.py
- # └── other.py
- ### main.py ###
- #from dir2.converters import Uppercase
- from dir2.other import Uppercase
- print('run main.py')
- Uppercase()
- ### converters.py ###
- def Uppercase():
- print('execute Uppercase()')
- #### other.py ###
- from .converters import Uppercase
- print('run other.py')
- Uppercase()
- ### __init__.py ###
- # empty
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement