A python script template for main


Today, I propose a template for your python scripts. You can use it as you want when you need to create a script. If you want to modify it, go ahead, but let me know…

By default, with this script, you can manage -h for help, -c for config file, -v for verbosity, you can also enter parameters. It will by default use the system stdin and stdout, and will log on error.log the stderr.

If you have trouble to use this script, do not hesitate to contact me through this blog.

To download the main_template.py, go to the project page.

Regards and have fun.


Pas d'articles similaires.

Posted in python. Bookmark the permalink. RSS feed for this post. Leave a trackback.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Protected by WP Anti Spam

Swedish Greys - a WordPress theme from Nordic Themepark.