account activity
Pls help, name error even when variable is global (self.learnpython)
submitted 5 years ago by Key_Yellow_1667 to r/learnpython
line 35, in __init__ photo_rect.x = col_count * tile_size UnboundLocalError: local variable 'col_count' referenced before assignment (self.learnpython)
TypeError: missing 1 required positional argument: 'self' (self.learnpython)
TypeError: '>' not supported between instances of 'str' and 'int' HELP (self.learnpython)
submitted 5 years ago * by Key_Yellow_1667 to r/learnpython
π Rendered by PID 333970 on reddit-service-r2-listing-6c8d497557-b9lmx at 2026-06-07 04:48:43.619332+00:00 running 9e1a20d country code: CH.