Created
March 31, 2017 17:17
-
-
Save akloster/20ab96fd9f21f22e182b012515e42350 to your computer and use it in GitHub Desktop.
create an image caption in blender python part 2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Parse arguments | |
arguments = sys.argv[sys.argv.index("--")+1:] | |
parser = argparse.ArgumentParser(description="Create captions") | |
parser.add_argument('--template') | |
parser.add_argument('--text') | |
parser.add_argument('--output') | |
args = parser.parse_args(arguments) | |
text = args.text | |
output = args.output | |
template = args.template |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment