Created
May 16, 2018 06:32
-
-
Save okdolly-001/3b1084f9cfc6a45a767c1b385b8f054b to your computer and use it in GitHub Desktop.
Check python module os path
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os.path | |
| import my_module | |
| print(os.path.abspath(my_module.__file__)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment