Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"Interpreter" page
#8
Just ran the sample code you supplied:
name = 'ichabod'
 name.sort()
 print(name)
and received:
ParseError: bad input on line 2
using IE 11

Just tried again with Chrome and got:
AttributeError: 'str' object has no attribute 'sort' on line 2
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
Reply


Messages In This Thread
"Interpreter" page - by Ofnuts - Sep-15-2016, 01:40 PM
RE: "Interpreter" page - by metulburr - Sep-15-2016, 01:58 PM
RE: "Interpreter" page - by Ofnuts - Sep-15-2016, 02:15 PM
RE: "Interpreter" page - by metulburr - Sep-15-2016, 03:16 PM
RE: "Interpreter" page - by Ofnuts - Sep-15-2016, 03:58 PM
RE: "Interpreter" page - by ichabod801 - Sep-15-2016, 04:25 PM
RE: "Interpreter" page - by metulburr - Sep-15-2016, 04:40 PM
RE: "Interpreter" page - by sparkz_alot - Sep-15-2016, 08:36 PM
RE: "Interpreter" page - by Ofnuts - Sep-15-2016, 09:08 PM
RE: "Interpreter" page - by metulburr - Sep-16-2016, 01:18 AM
RE: "Interpreter" page - by nilamo - Sep-16-2016, 02:53 PM
RE: "Interpreter" page - by metulburr - Sep-16-2016, 03:04 PM
RE: "Interpreter" page - by nilamo - Sep-16-2016, 03:10 PM
RE: "Interpreter" page - by Skipper_Dan - Nov-15-2017, 01:49 AM

Forum Jump:

User Panel Messages

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