So I am trying to set up a small script in Python\'s IDLE. The IDLE syntax check tells me this code has a syntax error:
from ftplib import FTP import os def ftp
In addition to the problem with my syntax (missing except statement entirely), my ftp attempt statement was outside of the try block. Since I was not "try"ing it, it failed anyway.
try