Re: How to use C enum in Python CTypes?

2007-08-07 Thread Jim Langston
"rozniy" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Aug 7, 2:11 pm, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: >> On Tue, 07 Aug 2007 04:57:19 +, rozniy wrote: >> > typedef enum olss_tag >> >{ >> >OLSS_AD, >> >OLSS_DA, >> >OLSS_DIN, >> >OLSS_D

Re: Formatting Results so that They Can be Nicely Imported into a Spreadsheet.

2007-08-04 Thread Jim Langston
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Aug 4, 6:35?pm, SMERSH009 <[EMAIL PROTECTED]> wrote: >> Hi All. >> Let's say I have some badly formatted text called doc: >> >> doc= >> """ >> friendid >> Female >> >> 23 years old >> >>

Re: Python version changes, sys.executable does not

2007-07-19 Thread Jim Langston
"Jeffrey Froman" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello All, > > I have two python versions installed, one in /usr/bin, and one in > /usr/local/bin. However, when invoking python without a full path, > I get the wrong executable with the right sys.executable string! >

Re: Python version changes, sys.executable does not

2007-07-19 Thread Jim Langston
"Jeffrey Froman" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello All, > > I have two python versions installed, one in /usr/bin, and one in > /usr/local/bin. However, when invoking python without a full path, > I get the wrong executable with the right sys.executable string! >

Re: 2**2**2**2**2 wrong? Bug?

2007-07-09 Thread Jim Langston
71089405955631145308950613088. The same as "2**2**2**2**2" -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Langston Sent: 2007Äê7ÔÂ10ÈÕ 12:47 To: python-list@python.org Subject: Re: 2**2**2**2**2 wrong? Bug?

Re: 2**2**2**2**2 wrong? Bug?

2007-07-09 Thread Jim Langston
"Paul Rubin" <http://[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > "Jim Langston" <[EMAIL PROTECTED]> writes: >> In Python 2.5 on intel, the statement >> 2**2**2**2**2 >> evaluates to >> >>> 2**2**2**2**2 > &g

2**2**2**2**2 wrong? Bug?

2007-07-09 Thread Jim Langston
In Python 2.5 on intel, the statement 2**2**2**2**2 evaluates to >>> 2**2**2**2**2 20035299304068464649790723515602557504478254755697514192650169737108940595563114 53089506130880933348101038234342907263181822949382118812668869506364761547029165 041871916351587966347219442930927982084309104855990570

Interfacing python program to C++ program instance

2007-07-05 Thread Jim Langston
Windows. Situation: Using a Python program called OpenRPG. I have a program that displays form data (a character sheet) in C++. I am able in the C++ program to build a string and copy it into the clipboard, then paste it into the input in the running Python program. I would like to somehow au