Skip to content

Conversation

@hvfrancesco
Copy link

I made a quick and simple script to produce 8-pages folding mini-zines directly from inside a Scribus session.

@JLuc
Copy link

JLuc commented Aug 18, 2022

Interesting project !

base.py is OK when no document is open ; but zinezine.py produces the following error (on Linux Ubuntu 22.10, with Scribus 1.5.8, 2022/01/22 version) :

Traceback (most recent call last):
  File "<string>", line 11, in <module>
  File "<string>", line 8, in <module>
ModuleNotFoundError: No module named 'PyPDF2'

( exact line numbers might vary because I added a comment line as a 4th line so as to source these scripts )

@aoloe
Copy link
Owner

aoloe commented Aug 18, 2022

@JLuc , did you install PyPDF2?

@aoloe
Copy link
Owner

aoloe commented Aug 18, 2022

ciao francesco

thanks for your pull request.

i've made some comments in the code (as you see above)... what do you think about them?

on top of it:

  • i would like to see the base.py file renamed to something like create-scribus-document.py
  • you should name your variables with underscores, not with camel case (make_zine instead of makeZine). that's a pretty strong convention in python (which, of course, the Scribus API does not follow...)

i wish you a wonderful evening
a.l.e

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.

3 participants