Create a Multilanguage PDF in Python

Perseo mturillo at gmail.com
Wed Aug 23 12:29:25 EDT 2006


It's too difficult for me, anyone can help me contact me thru chat or
something else, please. It drives me crazy!

Perseo wrote:
> PERFECT! Done! Thanks
> Now I create a little file in pdf format but the data are in the MySql
> database! :(
> How can I connect to it?
>
> Thanks for all suggestions
> Perseo
>
>
> Rob Wolfe wrote:
> > Perseo wrote:
> > > Nothing to do!
> > > I enable test2.py and the folder with 777 permission and I write at the
> > > top of the file the PYTHONPATH "#!/usr/bin/python" as you told me but
> > > it doesn't works as well.
> >
> > #!/usr/bin/python is not PYTHONPATH. I think you should
> > read this:
> > http://docs.python.org/tut/node4.html#SECTION004220000000000000000
> >
> > > The verdana font doesn't exist in the reportlab fonts folder. I try to
> > > delete the rows where it is called like (registerFont, setFont) but
> > > nothing to do.
> >
> > Fonts are not part of reportlab package. You should find it
> > in your OS or in the net. You need to know what font do you want to
> > use.
> >
> > > any suggestion?!
> >
> > Install reportlab package in your home directory, for example
> > /home/perseo/python/lib
> >
> > and then in the shell write this:
> >
> > export PYTHONPATH=/home/perseo/python/lib
> >
> > and look here:
> > http://docs.python.org/tut/node8.html#SECTION008110000000000000000
> > 
> > HTH,
> > Rob




More information about the Python-list mailing list