Skip to content

dbzHTK/ModuleGenerator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ModuleGenerator

Used to generate a module outline from a template file

This is a quick and dirty script that uses Python 3's string substitute method to automatically generate C header and source modules from templates. The script could be dramatically improved, but it is an example of how embedded software developers can leverage Python to automate common activities like creating a new header/source module.

Using Python 3, you can create a Gpio module in the calling directory using the following command:

python Gpio

If you want the module to be placed into a directory named output then use:

python Gpio output

About

Used to generate a module outline from a template file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%