a python documenting tool .
Steps :
- Create a folder on your machine ( let's say
demo/)- enter in this folder
- if your are on ubuntu :
cd demo
- if your are on ubuntu :
- enter in this folder
- Create a python file in that folder ( let's say
pycco_demo.py)- in this file , copy the contents from this file, and paste in your file .
- Now create a python virtual environment in this current folder of yours .
- Activate the virtual environment .
- Install Pycco :
pip install Pycco - Now run command :
pycco pycco_demo.py- this will create a folder named
docs/in your current folder . - this
docs/folder will have a html file called :pycco_demo.html - just open this file in your browser , and viola ! your documentation is there !
- this will create a folder named
NOTE : we are using : |
python3.12|Pycco==0.6.0|