Python Forum
Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
the fun of debugging
#1
in a big script i cannot post, i am running into the infamous UnboundLocalError. to make this more complicated, that is the 2nd time that statement was executed. the 1st time worked. another statement nearby also printed out the value of that variable as being the string 'df'. so i have to figure out how that variable can go from having the value 'df' to not being assigned (as opposed to being assigned None). there are no del statements in the code (i've only ever used del once that i can recall).
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
the fun of debugging - by Skaperen - May-31-2018, 04:16 AM
RE: the fun of debugging - by wavic - May-31-2018, 05:00 AM
RE: the fun of debugging - by Skaperen - Jun-01-2018, 02:46 AM

Forum Jump:

User Panel Messages

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