Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Importing module from a package results in import error
Post: RE: Importing module from a package results in imp...

(Mar-27-2020, 06:42 PM)Malt Wrote: If you want to run your program from /home/pkg then you can actually make a call to change your directory path to /home/pkg using os.chdir() in client.py I don't w...
goghvv General Coding Help 2 2,403 Mar-27-2020, 07:13 PM
    Thread: Importing module from a package results in import error
Post: Importing module from a package results in import ...

I have a folder 'home', containing another folder (package) that contains couple python files (modules). --- home ------ pkg --------- mod1.py --------- mod2.py Inside mod1.py, I am importing mod2.py...
goghvv General Coding Help 2 2,403 Mar-27-2020, 06:18 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020