Python Forum
Script won't continue after command line
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script won't continue after command line
#7
I'm not certain I know what raw_input is. I tried using it in place of input:

Real_Date = raw_input('Please enter date (ex. 10/15/2018)')
When I did this, I got an error:

NameError: name 'raw_input' is not defined

If this is not what you meant, then I don't understand.

Okay. I have been writing and testing the code using Thonny. I opened it and ran it using Python 3 (IDLE) and it runs perfectly. So evidently the code is okay, it's the interpreter that I am using to write and test the code.
Reply


Messages In This Thread
RE: Script won't continue after command line - by skip671 - Oct-15-2018, 05:10 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Is possible to run the python command to call python script on linux? cuten222 6 863 Jan-30-2024, 09:05 PM
Last Post: DeaD_EyE
  Command line argument issue space issue mg24 5 1,402 Oct-26-2022, 11:05 PM
Last Post: Yoriz
  accept command line argument mg24 5 1,397 Sep-27-2022, 05:58 PM
Last Post: snippsat
  Help, a script line is skipped kucingkembar 5 1,511 Dec-29-2021, 07:34 PM
Last Post: deanhystad
  Accessing varying command line arguements Rakshan 3 2,109 Jul-28-2021, 03:18 PM
Last Post: snippsat
  Run CMD Command In Python Script shantanu97 2 6,575 May-13-2021, 08:08 AM
Last Post: Gribouillis
  How to input & output parameters from command line argument shantanu97 1 2,624 Apr-13-2021, 02:12 PM
Last Post: Larz60+
  How to skip to a different line while importing a different script kat_gamer 2 2,292 Feb-03-2021, 04:10 AM
Last Post: deanhystad
  read the first line in my script chubbychub 1 1,807 Nov-09-2020, 03:18 AM
Last Post: Larz60+
  Passing List of Objects in Command Line Python usman 7 3,290 Sep-27-2020, 03:45 PM
Last Post: ndc85430

Forum Jump:

User Panel Messages

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