Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command-line compatibility added #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Command-line compatibility added #2

wants to merge 2 commits into from

Conversation

Fiereu
Copy link

@Fiereu Fiereu commented Aug 19, 2020

A really nice tool. Here is a small improvement so that the first issue can be solved :D

Copy link

@JithLord JithLord left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To make things further simpler
Instead of modifying the code to include Path, use
folder = str(sys.argv[1])+"\\"
name = str(sys.argv[2])

While saving the PDF
pdf.output(folder + name+".pdf", "F")

To load the folder
python programName.py "InputFilePath" "FinalPDFName"

lgg added a commit to lgg/jpg2pdf that referenced this pull request Jul 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants