Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # файл my_tools c двумя функциями:
- def func1():
- import 1
- import 2
- ...
- def func2():
- import 3
- import 4
- ...
- alita@magic:~$ python
- Python 3.6.9 (default, Nov 7 2019, 10:44:02)
- [GCC 8.3.0] on linux
- Type "help", "copyright", "credits" or "license" for more information.
- >>> from my_tools import func2
- # при импорте func2 не импортируются импорты 1 и 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement