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
s it have some build-in function to do it? Kind Regards, Lukasz. -- http://mail.python.org/mailman/listinfo/python-list

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

Re: pydev code completion problem

2007-10-14 Thread Lukasz Mierzejewski
> He is right. What would you expect from this piece of code: > > > foo = random.choose([A(), B(), C(), ..., Z()]) Thank you all for dispelling my stupid doubts! > What PyDev does is to implement some heuristics that can guess easy > cases - as you saw for yourself. But there is a limit to wha

Re: pydev code completion problem

2007-10-14 Thread Lukasz Mierzejewski
> But maybe someone use Komodo IDE or Wing IDE and can tell how they handle > situations like this? How works code completion in those IDE's? I've downloaded and checked both of them (both have Linux version which is nice thing). Both did worse job with code completion then PyDev with my simple ex

Re: pydev code completion problem

2007-10-14 Thread Lukasz Mierzejewski
On Sun, 14 Oct 2007 20:36:07 +, cyberco wrote: > Confirmed (with exactly the same software). > > Please discuss this issue at the PyDev discussion forum: > http://sourceforge.net/forum/forum.php?forum_id=293649 Thank you for replay, but I'm still not sure what to think about it... Marc 'Bla

Re: pydev code completion problem

2007-10-14 Thread Lukasz Mierzejewski
> I can confirm and it's something I would expect. It is obvious to *you* > that there is a `One` object in that list, but it would get very Thank you for confirmation and your time! > quickly very complicated for an IDE to keep track of objects if not > even impossible. I guess that you are ri

pydev code completion problem

2007-10-14 Thread Lukasz Mierzejewski
Hi, I need help with pydev code completion... Let's assume that we have something like this: class One: def fun(self): return 1 class Two: li = [] li.append(One()) one = li[0] print one.fun() one2 = li.pop() print one2.fun()

Re: Eclipse and Python

2007-08-03 Thread Lukasz
Użytkownik Danyelle Gragsone napisał: > Does anyone have any suggested websites for learning Eclipse the python way? > > thanks, > Danyelle http://www.showmedo.com/videos/series?name=PyDevEclipseList -- Opole - Miasto Bez Granic. http://www.opole.pl - tu znajdziesz nowe miejsca, nowe mozliwosci

Re: newbie OO question

2006-04-20 Thread lukasz . ciesnik
Jeremy Winters napisal(a): > class SegmentValue: > def > __init__(self,seg=[0,0,0,0,0,0],value=0,description=""): > self.segment=seg > self.value=value > self.description=description > > #that's my class! note the default of a 6 item list > for the s