Author Topic: how to connect to Mysql using python to print db  (Read 1646 times)

jclang3

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
  • Scribus User
how to connect to Mysql using python to print db
« on: July 19, 2014, 05:52:35 pm »
Newbie question.  Connect to Mysql db and print the results in a Scribus publication. This seems to be hinted at all over the forum but no single good answer. I can get around in Python so I can do limited coding. What I want/need, is using Scribus to print results from db including photos. I have a web site www.heierresource.com and I want to print it into a catalog. Converting from /to PDF loses formatting(have tried using Adobe and Architect). I am naively hoping to open a new page insert the python code and have the SQL file/table printed, then repeat using a different table. Is this possible? I have checked the tutorials and queried the forums and I just do not see the answer, I could have over looked something. thanks

a.l.e

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1299
  • Karma: 19
    • the graphics lab
Re: how to connect to Mysql using python to print db
« Reply #1 on: July 22, 2014, 10:00:12 am »
short answer: yes, there are ways to do this with scribus

short answer 2: you will need good scripting skills (or simple programming skills :-) to achieve that.

short answre 3: there is no readymade solution for it.

 

palmate