Dec-18-2017, 05:31 PM
so that python knows where the import is located, you need an __init__.py file in the directory above the source directory,
and an empty on in the source directory itself.
Just a check, you did call it (case sensitive) SwapHeaders.py, right
so the __init__.py file should look like:
If you wish, I'll move the entire thing to github, then you can download all in one step
and an empty on in the source directory itself.
Just a check, you did call it (case sensitive) SwapHeaders.py, right
so the __init__.py file should look like:
src/ __init__.py SwapHeaders.py TestAsImport.pyThe programs should be named accordingly
If you wish, I'll move the entire thing to github, then you can download all in one step