python - How to generate pdf with epydoc? -


I am considering epydoc for a module document. It looks fine for me and when I prepare the HTML document, I am working fine.

I want to try to make the duchemation in PDF format. I modified the 'Output' setting in my config file

Unfortunately, epydoc fails when generating PDF file error "error: Error reading pstat file: [Error 2] No such file Or directory: 'profile.out' "

This generates some tech files. I think I may miss the latex, but I am not very popular with Texx and Latex . More and more I'm working on Windows.

What should be the next step to creating a PDF file?

Thank you in advance for your help

I think you have an existing con The file is used.

If you have a closer look, you will see an option pstat: profile.out . This option says file profile. Out will be used to generate a call graph. See: Name of one or more pstat files (Profile # or Hotshot Module generated by) are used to generate these call graphs. Pstat: profile.out

You must generate this file using the profile or hotspot module. For example, you can add your module to

  Python - "profiles" - a profile.out mymodule.py  

(also Use hotspot or cProfile , which is much faster than profiles )

This should work ( I hope)


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -