Python Forum
Keep getting "SyntaxError: incomplete input" but can't see why.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Keep getting "SyntaxError: incomplete input" but can't see why.
#4
It seems like the issue with the accept(*toktypes) function in IDLE might be related to the interactive nature of the IDLE environment, especially when considering how this function interacts with game app development.

When you define a function interactively in the game app environment, IDLE expects a complete function definition before it executes. The use of nonlocal might be causing confusion because it's used inside a function, which might not be fully supported in interactive mode within the Link Removed game app[/url].
Gribouillis write May-14-2024, 08:03 AM:
Clickbait link removed. Please read What to NOT include in a post
Reply


Messages In This Thread
RE: Keep getting "SyntaxError: incomplete input" but can't see why. - by gavin34 - May-14-2024, 07:46 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Incomplete Output oldcity 6 3,830 Oct-21-2018, 07:08 PM
Last Post: oldcity
  incomplete registration Low_Ki_ 5 4,771 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