Open heatherbmayer opened 7 years ago
Thanks!
Is it possible to have a single script that works with both Python 2 and Python 3? Otherwise, the installation and setup gets too complicated for the average user.
Python2 is depreciated, and so the average user should only be using Python3 anyway.
I have a problem running this version (I am using 3.5 with the Mac OS X command line)
python tumblr_backup_python3.py -O /Volumes/G-DRIVE\ ev/Tumblr blogname
Traceback (most recent call last):on
File "tumblr_backup_python3.py", line 1087, in
Python2 is depreciated, and so the average user should only be using Python3 anyway.
That's premature. macOS High Sierra only comes with Python 2, e.g.
@bbolli My local fork of tumblr-utils (with features from a lot of my PRs) is fully compatible with both Python 2 and Python 3 in a single script. So, it's possible, it just requires a little more care.
You might want to remove that API key
Use this version for Python 3. It was converted first by hand and then I also ran 2to3 on it just to be safe. It has been tested for both full and incremental backup which was successful.