Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/usr/bin/env python
import urllib2
import pinboard
pinuser = raw_input('Pinboard username: ')
pinpasswd = raw_input('Pinboard password: ')
oldtag = raw_input('Tag to rename: ')
newtag = raw_input('Rename tag to: ')
p = pinboard.open(pinuser, pinpasswd)
p.rename_tag(oldtag, newtag)
print "Done!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.