diff --git a/examples/get_each_args.py b/examples/get_each_args.py index 1f1e5a5..dc9a118 100755 --- a/examples/get_each_args.py +++ b/examples/get_each_args.py @@ -1,6 +1,11 @@ #! /usr/bin/env python # -*- coding: utf-8 -*- +import sys +import os + +sys.path.insert(0, os.path.abspath('..')) + from clint.arguments import Args from clint.textui import puts, colored @@ -8,6 +13,6 @@ all_args = Args().grouped for item in all_args: if item is not '_': - puts(colored.red("key:%s"%item)) + puts(colored.red("key:%s" % item)) print(all_args[item].all)