Given a .pyc filename converts it to the appropriate .py
(filename)
| 21 | #------------------------------- Utilities -----------------------------------# |
| 22 | |
| 23 | def fix_ext_py(filename): |
| 24 | """Given a .pyc filename converts it to the appropriate .py""" |
| 25 | if filename.endswith('.pyc'): |
| 26 | filename = filename[:-1] |
| 27 | return filename |
| 28 | |
| 29 | def my_file_and_modname(): |
| 30 | """The .py file and module name of this file (__file__)""" |
no test coverage detected
searching dependent graphs…