Python Forum
error with python and atom editor
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
error with python and atom editor
#1
hi all, friends for you this code should work in 3.6.4? with the atom editor
name = input ('please give your name')
print ('welcome', name)

it happens that I get an error
please give your namejose
Error:
Traceback (most recent call last): File "\Documents\py4eco\ejercicios\test.py", line 1, in <module> name = input('please give your name') File "<string>", line 1, in <module> NameError: name 'jose' is not defined
everything worked fine until I format my pc and install all the programs, after that I get this error

please help me
Reply
#2
Looks like you're using Python 2.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to expand and collapse individual parts of the code in Atom Lora 2 1,104 Oct-06-2022, 07:32 AM
Last Post: Lora
  Folding in ATOM XavierPlatinum 5 1,169 Sep-11-2022, 09:21 PM
Last Post: XavierPlatinum
  Sublime Text Editor not recognizing Python elroberto 5 2,802 Jun-13-2022, 04:00 PM
Last Post: rob101
  Music Notation editor; how to build the editor? direction to go? philipbergwerf 1 1,650 Jan-01-2022, 04:56 PM
Last Post: Larz60+
  Question re: running code in Editor (i.e. Atom) vs Python interpreter rok 3 2,376 Jun-29-2020, 09:20 PM
Last Post: bowlofred
  free python editor for mac tony1812 5 4,886 May-21-2020, 05:35 AM
Last Post: buran
  #'ing out several lines in Atom Mark17 2 1,833 Oct-24-2019, 03:10 PM
Last Post: Mark17
  Running python from Sublime Text editor balley810 2 2,963 Jul-14-2019, 03:40 PM
Last Post: ThomasL
  python script file not opening in IDLE editor srm 2 4,337 Jun-23-2019, 08:45 AM
Last Post: Larz60+
  Atom editor issue with python 3 johnmick 2 2,864 Jan-25-2019, 10:17 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

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