Re: Timezones in python

2007-12-06 Thread lukasz . f24
On 5 Dec, 13:59, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Wed, 05 Dec 2007 06:43:49 -0300, <[EMAIL PROTECTED]> escribió: > > > Thanks guys for your answers! I know those library's but I was > > wondering is there something build-in for this simple convert convert. > > I have to do it onl

Re: Timezones in python

2007-12-05 Thread lukasz . f24
Thanks guys for your answers! I know those library's but I was wondering is there something build-in for this simple convert convert. I have to do it only from +4 to +0. -- http://mail.python.org/mailman/listinfo/python-list

Timezones in python

2007-12-05 Thread lukasz . f24
Hello, Is there any build in solution in python to handle timezones? My problem is I have to convert +4 time to +0. In the worst case i can just add +4 to the houer but I'm not very happy about that. Another problem is the summer/winter timechange which happen with one week difference. I am lookin

Re: cx_Oracle + array parameter

2007-12-03 Thread lukasz . f24
On 3 Gru, 19:07, Ian Clark <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > Hello, > > > I'm trying to pass array as an argument into PL/SQL procedure. > > According to cursor manual (http://cx-oracle.sourceforge.net/html/ > > cursorobj.html) arrayvar() should be use to do it. I've created

Re: cx_Oracle + array parameter

2007-12-03 Thread lukasz . f24
On 3 Gru, 19:07, Ian Clark <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > Hello, > > > I'm trying to pass array as an argument into PL/SQL procedure. > > According to cursor manual (http://cx-oracle.sourceforge.net/html/ > > cursorobj.html) arrayvar() should be use to do it. I've created

cx_Oracle + array parameter

2007-12-03 Thread lukasz . f24
Hello, I'm trying to pass array as an argument into PL/SQL procedure. According to cursor manual (http://cx-oracle.sourceforge.net/html/ cursorobj.html) arrayvar() should be use to do it. I've created my array type in PL/SQL: CREATE OR REPLACE TYPE cx_array_string is table of varchar2(200); and

Re: dynamic invoke

2007-10-19 Thread lukasz . f24
On 19 Oct, 11:45, Jarek Zgoda <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] napisa³(a): > > > Is there any way (other then eval) to invoke a method by passing > > method name in a string. > > It's very simple in php: > > $oFoo = new Foo(); > > $dynamiMethod = "bar"; > > $oFoo->$dynamiMethod(); > >

dynamic invoke

2007-10-19 Thread lukasz . f24
Hello, Is there any way (other then eval) to invoke a method by passing method name in a string. It's very simple in php: $oFoo = new Foo(); $dynamiMethod = "bar"; $oFoo->$dynamiMethod(); Unfortunately I can't find a good solution to do the same thing in python. Does it have some build-in functio

Re: MOD_PYTHON + packages reloading

2007-10-18 Thread lukasz . f24
On 18 Oct, 09:55, Duncan Booth <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > I came across annoying problem during my fun with mod_python. I turned > > out that mod_python load package only onca and don't care about any > > changes to it. Obviously it makes sense on production server bu

MOD_PYTHON + packages reloading

2007-10-18 Thread lukasz . f24
Hello, I came across annoying problem during my fun with mod_python. I turned out that mod_python load package only onca and don't care about any changes to it. Obviously it makes sense on production server but during development is more then annoying. I find a way to reload my module: m = ap