Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Import Statements?
#3
woooee Wrote:If there was a problem with the import you would get an error message
Another possibility is that pythonpotato clicks on the file in the file manager and that this launches a console which disappears as soon as the script crashes.

@pythonpotato
Start a terminal or console separately, then type python /path/to/the/script.py in this console. You should see the error message, which is probably an ImportError as woooee said.
Reply


Messages In This Thread
Import Statements? - by pythonpotato - Dec-04-2018, 03:47 AM
RE: Import Statements? - by woooee - Dec-04-2018, 05:46 AM
RE: Import Statements? - by Gribouillis - Dec-04-2018, 05:54 AM
RE: Import Statements? - by pythonpotato - Dec-04-2018, 07:00 AM
RE: Import Statements? - by Gribouillis - Dec-04-2018, 08:01 AM
RE: Import Statements? - by buran - Dec-04-2018, 08:20 AM
RE: Import Statements? - by pythonpotato - Dec-05-2018, 09:47 AM
RE: Import Statements? - by buran - Dec-05-2018, 09:56 AM
RE: Import Statements? - by Gribouillis - Dec-05-2018, 09:59 AM
RE: Import Statements? - by pythonpotato - Dec-07-2018, 02:37 AM
RE: Import Statements? - by buran - Dec-07-2018, 07:56 AM

Forum Jump:

User Panel Messages

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