Convert float to string ...

2005-08-23 Thread Konrad Mühler
Hi,

a simple question but i found no solution:

How can i convert a float value into a string value?


string_value1 = string(float_value) + ' abc'


doesn't work ...

Thanks
Konrad
-- 
http://mail.python.org/mailman/listinfo/python-list


Removing hidden files and folders with python ...

2008-01-30 Thread Konrad Mühler
Hi,

I try to delete a whole directory-tree using shutil.rmtree(...)
But there are always the hidden files and folders (e.g. from the svn 
.svn) left.

How can I delete -all- files and folders (also the hidden) with python?

Many Thanks
Konrad
-- 
http://mail.python.org/mailman/listinfo/python-list


Hashtables in pyhton ...

2006-03-09 Thread Konrad Mühler
Hi,

are there predefinded chances to use hashtables in python? How can I use 
Hashtable in python? Or do I have to implement this on my own?

Thanks
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Hashtables in pyhton ...

2006-03-09 Thread Konrad Mühler
Max M wrote:
>  >>> a_hash_is_a_dict = {'key':'value'}
>  >>> a_hash_is_a_dict['key2'] = 'value 2'
>  >>> a_hash_is_a_dict['key']
> 'value'

Thank you very much.
This is I was looking for :-)
-- 
http://mail.python.org/mailman/listinfo/python-list