Python Forum
Go to line starting with and variable not detected
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Go to line starting with and variable not detected
#4
In your code, it seems that new_name is only defined if some conditions have occurred: a line starting with /54/ is needed before, and num in pj needs to be satisfied, perhaps other conditions that we don't see. The error probably means that some of these necessary conditions failed. You could perhaps write
new_name = 'DEFAULT_NAME'
at the top of the file to see if this name is used.
Reply


Messages In This Thread
RE: Go to line starting with and variable not detected - by Gribouillis - Aug-08-2018, 04:46 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  python not detected on computer adriennn 3 1,142 Nov-18-2023, 02:46 PM
Last Post: snippsat
  My .exe made using Python being detected as a virus 100grassfed 2 3,091 Jun-16-2021, 04:41 AM
Last Post: buran
  Finding line numbers starting with certain string Sutsro 3 2,599 Jun-27-2020, 12:36 PM
Last Post: Yoriz
  python --version yields no output, not detected by other programs ten 3 3,516 Jun-25-2020, 04:48 AM
Last Post: perfringo
  "Widget Javascript not detected" error BobLoblaw 0 4,345 Oct-07-2017, 04:48 PM
Last Post: BobLoblaw
  Object Detection that records the number of secs the face is not detected trabis03 1 2,572 Jul-21-2017, 04:14 PM
Last Post: nilamo

Forum Jump:

User Panel Messages

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