Re: converting currency using locals

2007-04-18 Thread Grzegorz Ślusarek
Dnia Wed, 18 Apr 2007 19:38:26 +0100, Michael Hoffman napisał(a): > Grzegorz Ślusarek wrote: >> Hi all. I have situation that I have value that holds price and I must show >> this price using national specification(e.g. thousands_sep). Any idea how >> this can be done unde

converting currency using locals

2007-04-18 Thread Grzegorz Ślusarek
Hi all. I have situation that I have value that holds price and I must show this price using national specification(e.g. thousands_sep). Any idea how this can be done under python 2.4.4? I saw that function format from module locals can format value with national specification, but this could be do

formEncode and validation depended on forms field

2006-05-17 Thread Grzegorz Ślusarek
Hi all. I'm using formEncode to validate my forms, and I'm stopped on how to do a complicated validation that depened on what forms element was filled. I mean in my code (without formEncode) i have: if form.select is checked: #if select is checked then I checked for others fields on form #i

sending email with charset utf-8 but subject is not coded properly

2006-04-14 Thread Grzegorz Ślusarek
Hi all. I sending email using standard python modules smtplib, email, coding email in utf but subject of message is not coded properly. In subject i use my national characters (polish) and after send i get XX in place these characters. Here is the code Message = email.message_from_string(pMessa

how to match n- lists for a common elements.

2006-04-13 Thread Grzegorz Ślusarek
Hi all. I my application i have situation when i have some lists and i must get from lists common elements. Exacly i don't know how many list I have so at the moment of creation each of one I append them to one list. So I get list wchich consist of lists of objects. And now i want to get comm

CGI and Redirect

2006-02-21 Thread Grzegorz Ślusarek
Hi All. I need to redirect user in my CGI script, i Try to use prin "Location: "+url but this is not working. Can anyone tell me what I'm doing wrong? Any thanks will be apreciated Gregor -- http://mail.python.org/mailman/listinfo/python-list

Re: Python and Lotus Notes

2005-11-02 Thread Grzegorz Ślusarek
thank you Graham Now I know how to get it thru And i have last question is it possible send mail from Lotus via Python/COM? Once Again Thanks -- http://mail.python.org/mailman/listinfo/python-list

Python and Lotus Notes

2005-11-02 Thread Grzegorz Ślusarek
Hello everyone. I have to get data from Lotus Notes and i curious is it possible doing it with Python. I heard that Lotus Notes using COM, so the Python does so maybe it can be done? Anyone have any experiences doing that? Ane help will by apreciated Gregor -- http://mail.python.org/mailman/lis