Code giving me error while run in Windows python shell | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Code giving me error while run in Windows python shell

pls refer below link for code https://github.com/CoreSecurity/impacket/blob/master/examples/smbexec.py

26th Aug 2018, 5:52 PM
Raj Patel
Raj Patel - avatar
9 Answers
+ 4
If you get syntax error, use Python 2
26th Aug 2018, 6:05 PM
Mert Yazıcı
Mert Yazıcı - avatar
+ 4
can you post error message
26th Aug 2018, 6:09 PM
Mert Yazıcı
Mert Yazıcı - avatar
+ 3
I can't help you if error line is 59 because I only see 'pass' but you can post full error message so others can help
26th Aug 2018, 6:45 PM
Mert Yazıcı
Mert Yazıcı - avatar
+ 1
line 59 code error
26th Aug 2018, 6:12 PM
Raj Patel
Raj Patel - avatar
0
same error
26th Aug 2018, 6:08 PM
Raj Patel
Raj Patel - avatar
0
only error line changed
26th Aug 2018, 6:09 PM
Raj Patel
Raj Patel - avatar
0
ok
26th Aug 2018, 6:09 PM
Raj Patel
Raj Patel - avatar
0
showing error File "/home/main.py", line 98 except Exception, e: ^ SyntaxError: invalid syntax
27th Aug 2018, 5:24 AM
Raj Patel
Raj Patel - avatar
0
hello plz some one help me
27th Aug 2018, 4:30 PM
Raj Patel
Raj Patel - avatar