- Runtime error
- Input
- Comments 0
- (0.07 sec)
Main.py:7500: SyntaxWarning: "is" with a literal. Did you mean "=="? if cnfg["decimal_places"] is 0: Main.py:7758: SyntaxWarning: "is not" with a literal. Did you mean "!="? if speed_to_max is not 0: new_val = speed_to_max + cnfg["current_position"] Main.py:7762: SyntaxWarning: "is not" with a literal. Did you mean "!="? if speed_to_min is not 0: new_val = cnfg["current_position"] - speed_to_min Traceback (most recent call last): File "Main.py", line 2, in <module> import Live ModuleNotFoundError: No module named 'Live'
submitted by /u/Mikey-Dub
[link] [comments]
r/learnpython Runtime error Input Comments 0 (0.07 sec) Main.py:7500: SyntaxWarning: “is” with a literal. Did you mean “==”? if cnfg[“decimal_places”] is 0: Main.py:7758: SyntaxWarning: “is not” with a literal. Did you mean “!=”? if speed_to_max is not 0: new_val = speed_to_max + cnfg[“current_position”] Main.py:7762: SyntaxWarning: “is not” with a literal. Did you mean “!=”? if speed_to_min is not 0: new_val = cnfg[“current_position”] – speed_to_min Traceback (most recent call last): File “Main.py”, line 2, in <module> import Live ModuleNotFoundError: No module named ‘Live’ submitted by /u/Mikey-Dub [link] [comments]
- Runtime error
- Input
- Comments 0
- (0.07 sec)
Main.py:7500: SyntaxWarning: "is" with a literal. Did you mean "=="? if cnfg["decimal_places"] is 0: Main.py:7758: SyntaxWarning: "is not" with a literal. Did you mean "!="? if speed_to_max is not 0: new_val = speed_to_max + cnfg["current_position"] Main.py:7762: SyntaxWarning: "is not" with a literal. Did you mean "!="? if speed_to_min is not 0: new_val = cnfg["current_position"] - speed_to_min Traceback (most recent call last): File "Main.py", line 2, in <module> import Live ModuleNotFoundError: No module named 'Live'
submitted by /u/Mikey-Dub
[link] [comments]