Python Forum
python3 does not understand: exit(0)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
python3 does not understand: exit(0)
#5
Other trouble now: .................................................................................................................................................................
File "/home/sylvain/PycharmProjects/py2/file3.py", line 29, in <module>
sys.exit(0)
NameError: name 'sys' is not defined

Process finished with exit code 1
Reply


Messages In This Thread
python3 does not understand: exit(0) - by sylas - Apr-13-2017, 05:58 AM
RE: python3 does not understand: exit(0) - by sylas - Apr-13-2017, 06:22 AM
RE: python3 does not understand: exit(0) - by wavic - Apr-13-2017, 06:40 AM
RE: python3 does not understand: exit(0) - by sylas - Apr-13-2017, 06:57 AM
RE: python3 does not understand: exit(0) - by wavic - Apr-13-2017, 07:02 AM
RE: python3 does not understand: exit(0) - by sylas - Apr-13-2017, 07:12 AM
RE: python3 does not understand: exit(0) - by wavic - Apr-13-2017, 07:13 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  python difference between sys.exit and exit() mg24 1 1,969 Nov-12-2022, 01:37 PM
Last Post: deanhystad
  How to understand the byte notation in python3 blackknite 3 3,034 Feb-23-2021, 04:45 PM
Last Post: bowlofred
  Gnuradio python3 is not compatible python3 xmlrpc library How Can I Fix İt ? muratoznnnn 3 5,049 Nov-07-2019, 05:47 PM
Last Post: DeaD_EyE

Forum Jump:

User Panel Messages

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