title: Python 3.3 Console NameError
body: <p>I'm getting a weird error occurring. I'm trying to run a text based game through the python console window, the code runs very well in <strong>IDLE</strong> but when I run in <strong>console</strong> it executes the step to ask for a name then immediately closes.</p>
  
  <p>The error code is"
  <code>NameError: name 'JJ' is not defined</code></p>
  
  <p>The code its supposedly executing is:</p>
  
  <pre><code>print ("*~~~~~~~~~~~~~~~~~~~~~*")
  print ("*|Welcome to the Game|*")
  print ("*~~~~~~~~~~~~~~~~~~~~~*")
  print ("")
  time.sleep(1)
  User_name = input ("What is your Name? ")
  time.sleep(1)
  print ("Welcome",User_name," enter irrelevant story information here")
  print("more irrelevant story here.")
  print ("more irrelevant story here")
  print ("")
  time.sleep (1)
  </code></pre>
  
  <p>I have verified several times that I'm running python 3.3 and the console says" C:\Python33\py.exe so I believe that's also in accordance.</p>
  
  <p>and Yes I did import the time library, that is definitely not the error.</p>
  
  <p>many thanks ahead of time for any help!</p>
  
  <p>Edit: to clear up confusion: Here is a link to pictures showing what is going on: <a href="http://imgur.com/a/0nh11#0" rel="nofollow">http://imgur.com/a/0nh11#0</a> </p>
  
  <p>the first picture shows the error, the second picture shows the code and the third picture shows the program running in IDLE without an error.</p>