#!/usr/bin/env python
import argparse
import urllib


def main():
    """main function
    :returns: @todo

    """
    root = argparse.ArgumentParser(prog="urlencode", description="encode url")
    root.add_argument("url");
    args = root.parse_args()
    if(args.url is not None):
        print(urllib.quote_plus(args.url));

if __name__ == '__main__':
    main()
