Hello all,
I know how to append date to the end of the file name, but I m not sure how can I later in script put that filename as a link to FTP server.
For instance:
import datetime
now = datetime.datetime.now()
suffix = now.strftime(""%d-%m-%Y, %H:%M"")
filename = 'My history(%s).txt'%suffix
How can I hard code it NOW variable so that I can manipulate with it later in script and that time is always the same as it was when it was added to variable.