IDLE (Python GUI) → file → open → kill_dupes.py IDLE should be included with all Python installs. Oddly enough, by running the script from IDLE, it worked fine. Kill_dupes.py and maybe its parent program gmusicapi crash on Unicode characters like つんく♂. Type y and press Enter to remove them, or n to not remove them. The program prints a list of the duplicate tracks it found. Press Enter to run the script: Successfully logged in. Run Python with the script you made: C:\Users\YourWindowsUsername>c:\Python27\python.exe c:\Python27\kill_dupes.py You'll see a Window with this written: C:\Users\YourWindowsUsername> ( Win R opens the Run dialog, cmd is the command prompt. Put the modified kill_dupes.py script somewhere you can find it. ( Note: you may wish to change it back after you are done with this script.) In that email, there is a link to change the setting. If you don't do this, Google will email you telling that they blocked someone accessing your account the first time you run the script. Save the file with the edits you made.Īllow less secure apps to access your account via Google. Replace the word username with your Google username, and the word password with your Google password. logged_in = api.login('username', 'password') On line #89, you'll see this (line numbers added for ease of reading): 88.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |