That is my code:
filename = raw_input('Filename? --> ')
if filename != 'q':
my_socket.send(filename)
data = my_socket.recv(1024)
when I run - I get this:
File "temp.py", line 51
if filename != 'q':
^
SyntaxError: invalid syntax
I tried over and over to play with the tabs and spaced, but for nothing. It won't work.