gelim / censys

Python code to query the Censys public scan database.
149 stars 51 forks source link

SyntaxError: invalid syntax line 87 print final_line.strip("\t" #5

Open Labs22 opened 6 years ago

Labs22 commented 6 years ago

File ".\censys_io.py", line 87 print final_line.strip("\t") ^ SyntaxError: invalid syntax

How I can fix it?

Running on windows 10 python 3.7 and all requirements installed

hjacquemin commented 5 years ago

for all the print line, just add () to have print(final_line.strip("\t"))

also, change the the library name from/to

import urllib --> import urllib.request

In your virtual env, install with pip quote censys and colorama, I got issue with requirements.txt file.

not-devil commented 1 year ago

Traceback (most recent call last): File "/home/asmodeus/Desktop/censys/censys_io.py", line 6, in from censys.ipv4 import * ModuleNotFoundError: No module named 'censys.ipv4'