Apr-18-2019, 12:38 AM
Sorry, I always get in a panic and think I can't do it! I must have an inferiority complex!
This was the first time I tried to import my own files. I am a morning person. This morning at 5am I made it work for all my modules, integrated them in my file makeWebpage.py
Works great! I had to rearrange the original file so that the paths and variables were available to the functions like makeHTML
The trick seems to be, call a function, not a whole file. Then I can do:
myString = makeHTML()
Sorry to bother you!
This was the first time I tried to import my own files. I am a morning person. This morning at 5am I made it work for all my modules, integrated them in my file makeWebpage.py
Works great! I had to rearrange the original file so that the paths and variables were available to the functions like makeHTML
The trick seems to be, call a function, not a whole file. Then I can do:
myString = makeHTML()
Sorry to bother you!