![]() ![]() ![]() I have tired to print(temp) right after temp=socket. ![]() I was told that globing is not good to use instead I should use functions where I return the value.Įrror: UnboundLocalError: local variable 'temp' referenced before assignment in file main.py on line 15 The version of Packet Tracer is 8.0.0 and probably python 2 I am getting an UnboundLocalError error when I run a python code that shouldn't result in an error according to most python users. I wonder if someone can point me In the right direction. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |