I have been trying to find a way to convert my python file to pdf. I found latex, pyweave and others but I am unable to understand on how not to include input code in my pdf. Also, how to use pyweave? My pdf should not contain any code, just the ouputs. How do i achieve it?
In jupyter we've nbconvert tool with --no input flag. How about in regular python file?