Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
input string split
#4
In python 2.7 you need to use raw_input() instead of input() which is another function. That said you shouldn't be using python 2.7 if you want to learn python because you are going to learn an obsolete language that will retire in less than two months.

Use python 3.
Reply


Messages In This Thread
input string split - by Eric7Giants - Nov-13-2019, 06:12 PM
RE: input string split - by Gribouillis - Nov-13-2019, 06:33 PM
RE: input string split - by Eric7Giants - Nov-13-2019, 06:43 PM
RE: input string split - by Gribouillis - Nov-13-2019, 07:19 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Unable to understand the function string.split() Hudjefa 8 2,506 Sep-16-2024, 04:25 AM
Last Post: Pedroski55
  Using string input for boolean tronic72 3 1,987 Nov-01-2023, 07:48 AM
Last Post: Gribouillis
  doing string split with 2 or more split characters Skaperen 22 6,254 Aug-13-2023, 01:57 AM
Last Post: Skaperen
Sad How to split a String from Text Input into 40 char chunks? lastyle 7 2,640 Aug-01-2023, 09:36 AM
Last Post: Pedroski55
  [split] Parse Nested JSON String in Python mmm07 4 2,773 Mar-28-2023, 06:07 PM
Last Post: snippsat
Question Take user input and split files using 7z in python askfriends 2 2,341 Dec-11-2022, 07:39 PM
Last Post: snippsat
  How to split the input taken from user into a single character? mHosseinDS86 3 2,159 Aug-17-2022, 12:43 PM
Last Post: Pedroski55
  Split string using variable found in a list japo85 2 2,169 Jul-11-2022, 08:52 AM
Last Post: japo85
Big Grin General programming question (input string)[ jamie_01 2 2,373 Jan-08-2022, 12:59 AM
Last Post: BashBedlam
  Split string knob 2 2,602 Nov-19-2021, 10:27 AM
Last Post: ghoul

Forum Jump:

User Panel Messages

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