distutils, PyBison and Mac OS X

2005-04-18 Thread Maarten Sneep
I'm trying to build PyBison[1] on Mac OS X, and I'm running into some problems with the distutils. Just for starters: PyBison requires Pyrex[2]. This is not a problem, and Pyrex seems to work without problems, at least the primes sample module shows a nice 25 to 30 fold speed increase over the

Re: trouble using \ to escape %

2005-04-15 Thread Maarten Sneep
In article [EMAIL PROTECTED], Lucas Machado [EMAIL PROTECTED] wrote: I'm writing a python script that modifies the smb.conf file, and i need to write the characters '%U' in the file. print %s = %%U % a yields a = %U for me. Maarten -- http://mail.python.org/mailman/listinfo/python-list

Re: regarding ignore case sensitive of a string using regular expressions

2005-03-22 Thread Maarten Sneep
Mosas wrote: In Perl when we are checking some conditions using regular expression we can ignore the case sensitive of a string using the following regular expression /(^[^a-z])|/|(\.\.)/i. But If I try to do this in Python I couldn't get any result. So Any body know

Re: modifiable config files in compiled code?

2005-03-11 Thread Maarten Sneep
In article [EMAIL PROTECTED], [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Since this utility will also be ported to the linux world, does anyone know what the linux/unix counterpart of a Windows .INI configuration file is? ConfigParser works on Linux and Mac as well. Configuration files on