Dec-21-2018, 01:38 AM
Thanks all! Thanks for the links!
reportlab looks great. I fetched it with pip3 install. It's going to take a while for my puny brain to digest.
The book looks way over my level, but very interesting.
Please excuse my ignorance, but computing is not my thing.
Question: How do I integrate my /path/to/myfiles/ in snippsat's code?
Like this maybe: path = '/home/pedro/mytextfiles/'
then:
for start,file in enumerate(glob.glob(path + "*.txt"), 1):
subprocess.run(['python', 'txt2pdf.py', '--output', f'txt{start}.pdf', file])
Will that work??
reportlab looks great. I fetched it with pip3 install. It's going to take a while for my puny brain to digest.
The book looks way over my level, but very interesting.
Please excuse my ignorance, but computing is not my thing.
Question: How do I integrate my /path/to/myfiles/ in snippsat's code?
Like this maybe: path = '/home/pedro/mytextfiles/'
then:
for start,file in enumerate(glob.glob(path + "*.txt"), 1):
subprocess.run(['python', 'txt2pdf.py', '--output', f'txt{start}.pdf', file])
Will that work??