I am uploading a large file with FTP using Python 3.4.
I would like to be able to show the progress percentage while uploading the file. Here\'s my code:
There are three non-hacky ways I can think of. All of then shift the "ownwership" of the variable:
global
keyword)sizeWritten
a instance variable of that class.