Re: import problem
dn via Tutor <[email protected]> Sun, 29 Mar 2026 15:55:28 +1300
| Newsgroups | gmane.comp.python.tutor |
|---|---|
| Organization | DWM |
| Message-ID | <[email protected]> |
On 29/03/2026 13:41, Alan Gauld via Tutor wrote: > On 29/03/2026 00:17, Alex Kleider via Tutor wrote: >> I'm having an import problem that baffles me! >> When I run a script (code/logic.py) I get an import error but if the >> same script is imported (by main.py,) no error occurs. > > Can you remove all the try/except stuff > and run the two files. Then post the two > sets of output with the full tracebacks. > That might make it easier to see what's going on. ... and the sub-directory/ies from which you are running the two. -- Regards, =dn _______________________________________________ Tutor maillist - To unsubscribe send an email to [email protected] To unsubscribe or change subscription options: %(web_page_url)slistinfo/%(_internal_name)s