# Python CFG progress - Week 2
Create a DFS function for the CFG's
* Some notes on the CFG's themselves
* defined node class in cfg.py
Next week:
* Argparse
* scripts are configurable
* Configurations
* usage
* check for .pyc and function name
- update readme when done with argparser
Usage:
```
python generate_cfg.py <filename - .pyc> <function name - optional - '<module>'> <output directory- filename png>
```
Optional:
- compile `.py` files into pyc and then generate a CFG in the output directory.