I have actually made a program that will scan the whole Devices on the same network but the stupid issue that I got from python it turns out it was coming from python 3.10 not python 2.7 I can fix it by simply put raw_input("IP > ") But I'm Actually looking for The solution that will work with Python 3.10
so here is the actual code:
#!/usr/bin/env python
target_ip = input("IP > ")
print(target_ip)
once I typed my Local IP:
`IP > 192.168.0.1`
it Gives me an Error Saying:
Traceback (most recent call last):
File "test.py", line 4, in <module>
target_ip = input("IP > ")
File "<string>", line 1
192.168.0.1
^
SyntaxError: invalid syntax
So Any Solution For This Guys I will Thankful.