[PyQt] pyqt server side and pdf file output
    Hans-Peter Jansen 
    hpj at urpla.net
       
    Fri Oct  1 21:58:18 BST 2010
    
    
  
On Friday 01 October 2010, 14:35:11 damiano michael wrote:
>   hi !
>
> i would like to write a server side python script that generate .pdf
> documents.
>
> for the moment i have Python 2.7 installed server side
> and matplolib installed server side too.
>
> A simple script that create a simple plot and generate a .png picture
> works.
>
[Off topic stuff removed]
>
> Is it possible to do the same thing with PYQt ?
> I can install PyQT server side and then what must i do ?
PyQt knows terminal-less modes, so yes, you can run PyQt on a server.
 - Instantiate your app with QCoreApplication
 - use PyQwt for the plots
 - check out PyQwt examples, how to generate svn's and pdf's from your code
Hth,
Pete
    
    
More information about the PyQt
mailing list