Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Incomplete Output
#2
The calls to print won't display the results as expected because you left some arguments after the closing parenthesis. For example
 print ('file line count :'), num_lines
should be
 print ('file line count :', num_lines)
With your current code, num_lines will be printed with python 2.7 but not with 3.5.
Reply


Messages In This Thread
Incomplete Output - by oldcity - Oct-19-2018, 08:03 PM
RE: Incomplete Output - by Gribouillis - Oct-19-2018, 08:22 PM
RE: Incomplete Output - by buran - Oct-19-2018, 08:29 PM
RE: Incomplete Output - by Gribouillis - Oct-20-2018, 09:20 PM
RE: Incomplete Output - by snippsat - Oct-21-2018, 08:35 AM
RE: Incomplete Output - by oldcity - Oct-21-2018, 07:08 PM
Incomplete Output Part 2 - by oldcity - Oct-20-2018, 08:28 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Keep getting "SyntaxError: incomplete input" but can't see why. Pedroski55 3 6,314 May-14-2024, 07:46 AM
Last Post: gavin34
  incomplete registration Low_Ki_ 5 5,808 May-12-2017, 05:41 PM
Last Post: Low_Ki_

Forum Jump:

User Panel Messages

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