Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Newbie ? Python 3 Input()
#1
I am running Ubuntu 17.10.1 and Python Python 3.6.3

When I use input() I get a traceback. I bumped into something on python.org and I have success with sys.stdin.read() which is very clunky. Any way to make the regular input statement work?

I did a bunch of searching but couldn't find anything in the forum. Apologies if this has been covered before.
Reply
#2
What is the traceback? Did you run python or python3? Python in ubuntu usually means python 2.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Python newbie laleebee 2 1,316 May-24-2022, 01:39 PM
Last Post: laleebee
Big Grin Newbie to Python - input and branching issue Sherine 3 2,227 Jul-31-2021, 01:09 AM
Last Post: Pedroski55
  Newbie on Python syntax rud0lp20 6 2,932 Apr-21-2020, 04:26 PM
Last Post: jefsummers
  python newbie marcush929 2 2,594 Jan-01-2020, 08:06 AM
Last Post: marcush929
  Newbie help with input LouK 9 4,303 Dec-22-2019, 04:12 AM
Last Post: onlydibs
Smile Help needed. Python Newbie!, it will be fun. knightdea 3 2,619 Oct-13-2019, 08:50 AM
Last Post: perfringo
  Python Linting (newbie) LieveHeer 2 2,613 Jan-24-2019, 05:36 PM
Last Post: LieveHeer
  Python newbie is asking Marcus_Gondwe 4 3,404 Apr-04-2018, 11:08 AM
Last Post: Marcus_Gondwe
  Python Newbie phylon 1 29,786 Jan-09-2018, 10:46 AM
Last Post: Gribouillis
  NEWBIE HELP: How to tell Python when to use a function BoaVenom18 4 5,404 Dec-17-2016, 09:00 PM
Last Post: j.crater

Forum Jump:

User Panel Messages

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