Go to advanced search

by overflow12
Tue Nov 15, 2016 7:50 pm
Forum: Python
Topic: Occasion Error: name '...' is not defined
Replies: 4
Views: 1695

Re: Occasion Error: name '...' is not defined

elParaguayo wrote:You only define that variable it your first if test is not satisfied. Either include a line to set tbe variable or change the indents of your print statements
Hi elParaguayo, I do have variables declared in actual program. I have fixed my post. Thanks.
by overflow12
Tue Nov 15, 2016 6:16 pm
Forum: Python
Topic: Occasion Error: name '...' is not defined
Replies: 4
Views: 1695

Occasion Error: name '...' is not defined

Hello, I am testing a part of my code which converts a binary number to decimal in the bitwise manner. But when I run I got error message " name 'dcmltemp' is not defined " (please refer to the following code for variable name) If I keep run it 2 or 3 times the error goes away and gives correct resu...

Go to advanced search