Skip to content

Instantly share code, notes, and snippets.

@romaimperator
Created June 25, 2012 18:38
Show Gist options
  • Save romaimperator/2990425 to your computer and use it in GitHub Desktop.
Save romaimperator/2990425 to your computer and use it in GitHub Desktop.
import os
# Where file_path is path + filename, no extension
def convert_file(file_path):
if os.path.exists(file_path + ".mobi"):
#skip
else:
#convert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment