Generating RTF with Python
Hi, does anyone know of a high-level solution to produce RTF from Python (something similar to Reportlab for producing PDF)? Thanks, Andreas pgptlX6o8zD33.pgp Description: PGP signature -- http://mail.python.org/mailman/listinfo/python-list
[Subprocess/Windows] subprocess module under Windows 98
Hi, I am using subprocess.Popen() to start Java processes (converters) from within Zope under Windows 98 (sorry, we have to support the platform). The call looks like this: P = Popen('java.exe arguments...', stdout=PIPE, stderr=PIPE, stdin=open('nul:')). stdin=open('nul:') is required to make Popen() actually running under Windows 98 (stdin=None works fine on XP). However for every Popen() call Windows 98 opens an empty DOS box that disappear after completion of the converter process. The Popen() has some 'startupinfo' and 'creationflags' attributes but I could not find any documentation. Is there a way to suppress the DOS boxes somehow using these attributes or is there another way to get rid of them? Thanks in advance, Andreas pgpwXZAww91hx.pgp Description: PGP signature -- http://mail.python.org/mailman/listinfo/python-list
Re: subprocess module under Windows 98
--On 2. November 2005 08:48:24 -0800 Ernesto <[EMAIL PROTECTED]> wrote: This worked for me on XP... not sure for 98... http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/409002 Thanks, this works! Andreas pgpeWK0kWa6KX.pgp Description: PGP signature -- http://mail.python.org/mailman/listinfo/python-list
Encoding sniffer?
Does anyone know of a Python module that is able to sniff the encoding of text? Please: I know that there is no reliable way to do this but I need something that works for most of the case...so please no discussion about the sense of such a module and approach. Andreas pgpj27jiq5WgN.pgp Description: PGP signature -- http://mail.python.org/mailman/listinfo/python-list
Re: Encoding sniffer?
Thanks! --On 5. Januar 2006 18:21:39 -0600 [EMAIL PROTECTED] wrote: http://orca.mojam.com/~skip/python/ pgpyF17uM2CTT.pgp Description: PGP signature -- http://mail.python.org/mailman/listinfo/python-list