Light Switch Command Python Debug | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Light Switch Command Python Debug

Idk if im running the code wrong or i have the wrong extenssion for code play , can someone help me debug this code https://code.sololearn.com/cb37ni1qsTs3/?ref=app

13th Aug 2020, 4:42 PM
Leonardo Monterey
Leonardo Monterey - avatar
4 Answers
+ 3
You're looking at a dot file, which is used for a graph description. This isn't the file you want. The file that you need is the python file which has the py extension. switch_command.py https://github.com/Sean-Bradley/Design-Patterns-In-Python/tree/master/command
13th Aug 2020, 5:30 PM
ChaoticDawg
ChaoticDawg - avatar
+ 1
Ok i see what you mean the, i thought i was gonna change an extension on this code. Thanks
13th Aug 2020, 5:46 PM
Leonardo Monterey
Leonardo Monterey - avatar
0
Im kinda new to putting things together where do i put this new file and or which file am i replacing?
13th Aug 2020, 5:37 PM
Leonardo Monterey
Leonardo Monterey - avatar
0
Ok i think i understand you
13th Aug 2020, 5:39 PM
Leonardo Monterey
Leonardo Monterey - avatar