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

Fails to read first 7 pages #4

Closed
jeevanholla opened this issue Sep 28, 2020 · 2 comments
Closed

Fails to read first 7 pages #4

jeevanholla opened this issue Sep 28, 2020 · 2 comments

Comments

@jeevanholla
Copy link

Because of this hardcoded value of 7, "for num in range(7, pages):", this code will fail to read document less than 7 pages or skip first 7 pages of larger document. It was meant to skip content section, so it would have been to make it command line argument for user to choose from.

@ashraf-minhaj
Copy link
Contributor

It will not fail actually, it's how it is coded. Just change the value from 7 to whatever you like. It can and will read the pages.

@naveenramcg
Copy link

Because of this hardcoded value of 7, "for num in range(7, pages):", this code will fail to read document less than 7 pages or skip first 7 pages of larger document. It was meant to skip content section, so it would have been to make it command line argument for user to choose from.

The code is programmed to skip the first 7 pages. You can use any number to make the code suit your need instead of seven. To read the whole pages, you can use code: "for num in range(pages):". This helps you read the full pdf.

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

No branches or pull requests

3 participants