ncorbuk / SubZone

SubZone - Subdomains, Dns records, & more! || Python tutorial || Certificate authority abuse || Adavnced || Hacking/Info-Sec ||
MIT License
43 stars 12 forks source link

Chosen filenames prevent importing #1

Closed 42B closed 5 years ago

42B commented 5 years ago
>>> import subzone_v1.0
  File "<input>", line 1
    import subzone_v1.0
                      ^
SyntaxError: invalid syntax
ncorbuk commented 5 years ago

use subzone v2.0

ncorbuk commented 5 years ago

your using the wrong one sorry, that one is broken i thought i removed it

ncorbuk commented 5 years ago

fork it again and use v2 my friend all is working

42B commented 5 years ago

@ncorbuk

You aren't understanding the issue, the exact same problem persists if I wanted to import version 2 from another python script.

ncorbuk commented 5 years ago

oh i see i will look into this... do you know why the filenames are preventing by any chance?

ncorbuk commented 5 years ago

oh yea i see lol will fix now.

42B commented 5 years ago

@ncorbuk

I gave you an example...

If you wanted my suggestion, I would potentially delete version 1 and rename version 2 something like subzone.py. Having version numbers in the filename is odd.

ncorbuk commented 5 years ago

Yes sorry you did, have just done that now... thanks for your input i never thought about the version number in filename etc causing a problem. thanks :)

42B commented 5 years ago

@ncorbuk

No problem, just saw your post on reddit and thought I'd take a look through your project!

ncorbuk commented 5 years ago

ah i see, i thought so haha thanks been a great help seems i had bugs i did not know about! will look into the rest buddy 👍 going to close this now, another tick off the list ha!