Used argparse to enable command line arguments for user supplied options. Defaults values have been kept, so behavior with no arguments is the same. Should be easier than modifying the source each time this way. Also added a gitignore file that is the standard github python gitignore, plus *~ to handle deleted files.
		
			
				
	
	
		
			54 lines
		
	
	
		
			540 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			54 lines
		
	
	
		
			540 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
# Byte-compiled / optimized / DLL files
 | 
						|
__pycache__/
 | 
						|
*.py[cod]
 | 
						|
 | 
						|
# C extensions
 | 
						|
*.so
 | 
						|
 | 
						|
# Distribution / packaging
 | 
						|
bin/
 | 
						|
build/
 | 
						|
develop-eggs/
 | 
						|
dist/
 | 
						|
eggs/
 | 
						|
lib/
 | 
						|
lib64/
 | 
						|
parts/
 | 
						|
sdist/
 | 
						|
var/
 | 
						|
*.egg-info/
 | 
						|
.installed.cfg
 | 
						|
*.egg
 | 
						|
 | 
						|
# Installer logs
 | 
						|
pip-log.txt
 | 
						|
pip-delete-this-directory.txt
 | 
						|
 | 
						|
# Unit test / coverage reports
 | 
						|
.tox/
 | 
						|
.coverage
 | 
						|
.cache
 | 
						|
nosetests.xml
 | 
						|
coverage.xml
 | 
						|
 | 
						|
# Translations
 | 
						|
*.mo
 | 
						|
 | 
						|
# Mr Developer
 | 
						|
.mr.developer.cfg
 | 
						|
.project
 | 
						|
.pydevproject
 | 
						|
 | 
						|
# Rope
 | 
						|
.ropeproject
 | 
						|
 | 
						|
# Django stuff:
 | 
						|
*.log
 | 
						|
*.pot
 | 
						|
 | 
						|
# Sphinx documentation
 | 
						|
docs/_build/
 | 
						|
 | 
						|
#deleted files
 | 
						|
*~
 |