[ConfigParser] value with ; and the value blank

2006-05-05 Thread kai
Hello, how can I use/save/read values with ";" (start comment) and the value blank? When I write (set) my config file often the part behind the ";" disappears. e.g. myKey = startMyValue ; endMyValue Thank's for your hints, Kai -- http://mail.python.org/mailman/listinfo/python-list

ConfigParser: values with ";" and the value blank

2006-05-05 Thread kai
Hello, I use the ConfigPaserver from Python. how can I use/save/read values with ";" (start comment) and the value blank? When I write (set) my config file often the part behind the ";" disappears. e.g. myKey = startMyValue ; endMyValue Thank's for

dircache.listdir() or os.listdir()

2006-04-11 Thread kai
dircache.listdir() work different? Can I change in my modules dircache.listdir() with os.listdir() without problems. I want to use the re-read functionality. Thanks for your hints, Kai. -- http://mail.python.org/mailman/listinfo/python-list

dircache.listdir() or os.listdir()

2006-04-11 Thread kai
dircache.listdir() work different? Can I change in my modules dircache.listdir() with os.listdir() without problems. I want to use the re-read functionality. Thanks for your hints, Kai. -- http://mail.python.org/mailman/listinfo/python-list

dircache.listdir() or os.listdir()

2006-04-11 Thread kai
dircache.listdir() work different? Can I change in my modules dircache.listdir() with os.listdir() without problems. I want to use the re-read functionality. Thanks for your hints, Kai. -- http://mail.python.org/mailman/listinfo/python-list

dircache.listdir() or os.listdir()

2006-04-11 Thread kai
dircache.listdir() work different? Can I change in my modules dircache.listdir() with os.listdir() without problems. I want to use the re-read functionality. Thanks for your hints, Kai. -- http://mail.python.org/mailman/listinfo/python-list

Re: dircache.listdir() or os.listdir()

2006-04-11 Thread kai
sorry, my posting was crazy -- http://mail.python.org/mailman/listinfo/python-list

Red Hat Enterprise Edition and Python 2.4 sources

2006-01-03 Thread Kai Strempel
some tips how to install the 2.4 sources perfectly that everything is running on a red hat enterprise system?? Best regards Kai Strempel -- DSL-Aktion wegen großer Nachfrage bis 28.2.2006 verlängert: GMX DSL-Flatrate 1 Jahr kostenlos* http://www.gmx.net/de/go/dsl -- http://mail.python.o

Re: Installing MySQL-Python

2005-06-22 Thread kai festersen
Cathy Hui wrote: > Do u know why do i get the following message error: command 'gcc' failed with exit status 1 yes: error: command 'gcc' failed with exit status 1 means: there's no compiler gcc ... kai when trying to build the > MySql-Python (1.2.0) on my

unittest: How to fail if environment does not allow execution?

2006-05-10 Thread Kai Grossjohann
I wrote a test case that depends on a certain file existing in the environment. So, I guess I should test that the file exists in the setUp method. But what if it doesn't exist? How do I fail in that case? I would like to emit an error message explaining what is wrong. tia, Kai --

Re: unittest: How to fail if environment does not allow execution?

2006-05-11 Thread Kai Grossjohann
Roy Smith wrote: > Kai Grossjohann <[EMAIL PROTECTED]> wrote: >> I wrote a test case that depends on a certain file existing in the >> environment. > > In theory, unit tests should not depend on any external factors, but > we all know the difference between theory a

Re: PyQT: QDialog and QMainWindow interacting with each other

2006-02-28 Thread Kai Teuber
remember to call QDialog.accept() at the end. def accept( self ): self.showListViewItems() QDialog.accept( self ) Kai Teuber -- http://mail.python.org/mailman/listinfo/python-list

Re: mod_python installation

2006-03-16 Thread Kai Schulte
The Debian stable package tree has only libapache2-mod-python2.3 (3.1.3-3). You can look at http://packages.debian.org/stable/python/ for a detailed list. If you really want to use python2.4 you can either try to use the ubuntu package (http://packages.ubuntu.org.cn/breezy/python/libapache2-mo

Overwrite only one function with property()

2006-11-18 Thread Kai Kuehne
Hi list! It is possible to overwrite only one function with the property-function? x = property(getx, setx, delx, 'doc') I just want to overwrite setx, but when I set the others to None, I can't read and del the member. Any ideas or is this not possible? Thank yo

Windows: get owner and group of a file

2006-12-06 Thread kai rosenthal
port stat stat_info = os.lstat(myfile) owner = "%-8s" % stat_info.st_uid group = "%-8s" % stat_info.st_gid I get 0 for owner and group. Thanks for your hints, Kai -- http://mail.python.org/mailman/listinfo/python-list

a Pywin Outlook adress Book Question

2006-09-05 Thread Kai Mayfarth
python. Kai Mayfarth -- http://mail.python.org/mailman/listinfo/python-list

Re: a Pywin Outlook adress Book Question

2006-09-06 Thread Kai Mayfarth
> > Although now I Google a little more, it looks like AddressEntryFilter > might well do what you want. Worth a look, anyway :) > > TJG Big Thx for your answer. I found some infos about the AddressEntryFilter. Its that what i was searching for, BUT its very limited it cant search for the las

os.access(file, os.R_OK) on UNIX and WINDOWS

2006-09-13 Thread kai rosenthal
opying the file? Is it a samba configuration? Thank' for your hints, Kai -- http://mail.python.org/mailman/listinfo/python-list

resolve environment variables in string - regular expression

2007-02-09 Thread Kai Rosenthal
t set the variables in this time. I think I need a little regular expression code snippet, but I have not work with regular expression before. Thanks for your help, Kai. -- http://mail.python.org/mailman/listinfo/python-list