Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Import Statements?
#2
Do you get any output from print(condition)?

We have no idea what import the following means

Quote:However, when I add another import statement.. It stops working?
If there was a problem with the import you would get an error message
import xyz
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named xyz 
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