Re: [Tutor] Converting files
thank you for all your valuable suggestions... but i want it to be converted using python code .. On Tue, Apr 12, 2011 at 2:38 AM, Evans Anyokwu onyx...@gmail.com wrote: I use Openoffice and it has an option to export your files to .pdf and lots of other file formats. It's a free download - and has all the usual Office applications... Search for 'OpenOffice' online. On Mon, Apr 11, 2011 at 9:48 PM, Alan Gauld alan.ga...@btinternet.comwrote: sunil tech sunil.tech...@gmail.com wrote is there any way to convert any file (eg: document files image files) to .pdf? if so, kindly share... Install a PDF print driver and then print the file to that printer. Set it to save as a file. Then if its printable you can get it as a PDF. You can do the same with postscript(and postscript drivers come with most OS). Then send the postscript file to Adobe's web site to get them to generate the PDF from postscript. (You can also download free convertors) Finally, and because this is a Python list, you could use a Python library and generate the file yourself - but while thats ok for your own data its a lot harder for many file types! HTH, -- Alan Gauld Author of the Learn to Program web site http://www.alan-g.me.uk/ ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] Converting files
I don't know how to do it, but I'm 99% sure I have seen a something related in cherrypy pages, try googling cherrypy pdf generation or something similiar Good luck! El Mar, 12 de Abril de 2011, 10:02, sunil tech escribió: thank you for all your valuable suggestions... but i want it to be converted using python code .. On Tue, Apr 12, 2011 at 2:38 AM, Evans Anyokwu onyx...@gmail.com wrote: I use Openoffice and it has an option to export your files to .pdf and lots of other file formats. It's a free download - and has all the usual Office applications... Search for 'OpenOffice' online. On Mon, Apr 11, 2011 at 9:48 PM, Alan Gauld alan.ga...@btinternet.com wrote: sunil tech sunil.tech...@gmail.com wrote is there any way to convert any file (eg: document files image files) to .pdf? if so, kindly share... Install a PDF print driver and then print the file to that printer. Set it to save as a file. Then if its printable you can get it as a PDF. You can do the same with postscript(and postscript drivers come with most OS). Then send the postscript file to Adobe's web site to get them to generate the PDF from postscript. (You can also download free convertors) Finally, and because this is a Python list, you could use a Python library and generate the file yourself - but while thats ok for your own data its a lot harder for many file types! HTH, -- Alan Gauld Author of the Learn to Program web site http://www.alan-g.me.uk/ ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor ___ andrés chandía P No imprima innecesariamente. ¡Cuide el medio ambiente! ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] Converting files
this is the list for cherrypy cherrypy-users cherrypy-us...@googlegroups.com El Mar, 12 de Abril de 2011, 10:02, sunil tech escribió: thank you for all your valuable suggestions... but i want it to be converted using python code .. On Tue, Apr 12, 2011 at 2:38 AM, Evans Anyokwu onyx...@gmail.com wrote: I use Openoffice and it has an option to export your files to .pdf and lots of other file formats. It's a free download - and has all the usual Office applications... Search for 'OpenOffice' online. On Mon, Apr 11, 2011 at 9:48 PM, Alan Gauld alan.ga...@btinternet.com wrote: sunil tech sunil.tech...@gmail.com wrote is there any way to convert any file (eg: document files image files) to .pdf? if so, kindly share... Install a PDF print driver and then print the file to that printer. Set it to save as a file. Then if its printable you can get it as a PDF. You can do the same with postscript(and postscript drivers come with most OS). Then send the postscript file to Adobe's web site to get them to generate the PDF from postscript. (You can also download free convertors) Finally, and because this is a Python list, you could use a Python library and generate the file yourself - but while thats ok for your own data its a lot harder for many file types! HTH, -- Alan Gauld Author of the Learn to Program web site http://www.alan-g.me.uk/ ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor ___ andrés chandía P No imprima innecesariamente. ¡Cuide el medio ambiente! ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] Converting files
sunil tech wrote: Hi all... is there any way to convert any file (eg: document files image files) to .pdf? If the file is printable, print it to a PDF gateway that generates a PS or PDF file. If it is a Microsoft Office document, or similar, then install OpenOffice or LibreOffice and use it to convert to PDF. If it's not printable, then your question doesn't make sense. What would an ISO or EXE or ZIP file look like converted to PDF? But I wonder whether you bothered to google for python pdf first? The very first link is a comprehensive review of installing and using a PDF generator from Python. -- Steven ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] Converting files
On 4/11/2011 10:40 AM sunil tech said... Hi all... is there any way to convert any file (eg: document files image files) to .pdf? Look into reportlab. Look at the opensource area: http://www.reportlab.com/software/opensource/ if so, kindly share... thank you in advance. ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] Converting files
sunil tech sunil.tech...@gmail.com wrote is there any way to convert any file (eg: document files image files) to .pdf? if so, kindly share... Install a PDF print driver and then print the file to that printer. Set it to save as a file. Then if its printable you can get it as a PDF. You can do the same with postscript(and postscript drivers come with most OS). Then send the postscript file to Adobe's web site to get them to generate the PDF from postscript. (You can also download free convertors) Finally, and because this is a Python list, you could use a Python library and generate the file yourself - but while thats ok for your own data its a lot harder for many file types! HTH, -- Alan Gauld Author of the Learn to Program web site http://www.alan-g.me.uk/ ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] Converting files
I use Openoffice and it has an option to export your files to .pdf and lots of other file formats. It's a free download - and has all the usual Office applications... Search for 'OpenOffice' online. On Mon, Apr 11, 2011 at 9:48 PM, Alan Gauld alan.ga...@btinternet.comwrote: sunil tech sunil.tech...@gmail.com wrote is there any way to convert any file (eg: document files image files) to .pdf? if so, kindly share... Install a PDF print driver and then print the file to that printer. Set it to save as a file. Then if its printable you can get it as a PDF. You can do the same with postscript(and postscript drivers come with most OS). Then send the postscript file to Adobe's web site to get them to generate the PDF from postscript. (You can also download free convertors) Finally, and because this is a Python list, you could use a Python library and generate the file yourself - but while thats ok for your own data its a lot harder for many file types! HTH, -- Alan Gauld Author of the Learn to Program web site http://www.alan-g.me.uk/ ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor