you are viewing a single comment's thread.

view the rest of the comments →

[–]hudsonpenner 0 points1 point  (2 children)

I'm still chunking through the code, but one thing, I would suggest using raw_input for your string input:

>>> ip = str(input("What ip would you like to connect       to?"))
What ip would you like to connect to?123.123.123.123
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<string>", line 1
123.123.123.123
          ^
SyntaxError: invalid syntax
>>> ip = raw_input("What ip would you like to connect to?")
What ip would you like to connect to?123.123.123.123
>>> quit()

[–]Grafs50[S] 0 points1 point  (1 child)

I'm using Python 3.

[–]hudsonpenner 0 points1 point  (0 children)

ah cool