Re: More efficient array processing

2008-10-23 Thread Ivan Reborin
On Thu, 23 Oct 2008 11:44:04 -0700 (PDT), "John [H2O]" <[EMAIL PROTECTED]> wrote: > >Thanks for the clarification. > >What is strange though, is that I have several Fortran programs that create >the exact same array srtucture... wouldn't they be restricted to the 2Gb >limit as well? Depends on lo

Re: More efficient array processing

2008-10-23 Thread Ivan Reborin
On Fri, 24 Oct 2008 00:32:11 +0200, Ivan Reborin <[EMAIL PROTECTED]> wrote: >On Thu, 23 Oct 2008 11:44:04 -0700 (PDT), "John [H2O]" ><[EMAIL PROTECTED]> wrote: > >> >>Thanks for the clarification. >> >>What is strange though, is that I hav

wxPython beginners problem

2008-08-15 Thread Ivan Reborin
=== restart === shows up. How can I keep the window to "stay alive" so I see what I get ? I'm on a winxp platform using python 2.5.2. if that matters. Please, any help, constructive advice and ideas are very much appreciated. Best regards Ivan Reborin -- http://mail.python.org/mailman/listinfo/python-list

Re: wxPython beginners problem

2008-08-15 Thread Ivan Reborin
On Fri, 15 Aug 2008 18:31:16 +0200, Ivan Reborin <[EMAIL PROTECTED]> wrote: >Hello all, > >I'm new to python, new as newbies get, so please, don't take wrongly >if this seems like a stupid or overly simple question. > >I'm going through examples in a book

Re: wxPython beginners problem

2008-08-16 Thread Ivan Reborin
On Fri, 15 Aug 2008 17:48:39 + (UTC), Brian Victor <[EMAIL PROTECTED]> wrote: >Ivan Reborin wrote: >> win.Show > >This line isn't doing anything. It needs to be: >win.Show() # note the parentheses Yes, that was the problem. I must've been tired while wr

gplt from scipy missing ?

2008-09-22 Thread Ivan Reborin
I'm relatively new to python. I'm following a tutorial I found on the net, and it uses scipy's gplt for plotting. I installed scipy from their website (win32 installation), numpy also, but when I do from scipy import gplt it gives this error: Traceback (most recent call last): File "", line 1,

Re: gplt from scipy missing ?

2008-09-23 Thread Ivan Reborin
On Tue, 23 Sep 2008 04:26:14 -0300, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > >I think scipy does not bundle plotting packages anymore - you may use >whatever suits you, from other sources. >Try matplotlib, see the wiki: >http://wiki.python.org/moin/NumericAndScientific/Plotting Hello

Re: gplt from scipy missing ?

2008-09-23 Thread Ivan Reborin
On Tue, 23 Sep 2008 13:44:41 +0200, Ivan Reborin <[EMAIL PROTECTED]> wrote: >On Tue, 23 Sep 2008 04:26:14 -0300, "Gabriel Genellina" ><[EMAIL PROTECTED]> wrote: > >> >>I think scipy does not bundle plotting packages anymore - you may use >

Python arrays and sting formatting options

2008-09-29 Thread Ivan Reborin
Hello everyone, I was wondering if anyone here has a moment of time to help me with 2 things that have been bugging me. 1. Multi dimensional arrays - how do you load them in python For example, if I had: --- 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 --- with "i" being the row number,

Re: Python arrays and sting formatting options

2008-09-29 Thread Ivan Reborin
On Mon, 29 Sep 2008 16:08:28 -0700 (PDT), Mensanator <[EMAIL PROTECTED]> wrote: >> 2. I've read the help on the next one but I just find it difficult >> understanding it. >> I have; >> a=2.01 >> b=123456.789 >> c=1234.0001 >> Hello Mensanator, thank you for answering in such a short time. <

Re: Python arrays and sting formatting options

2008-09-29 Thread Ivan Reborin
On Mon, 29 Sep 2008 17:59:40 -0700 (PDT), [EMAIL PROTECTED] wrote: Hello bearophile, thank you for replying. >The Python genie grants you that wish. You were almost right: print (3 * '%12.3f') % (a, b, c) > 2.000 123456.7891234.000 print 3 * '%12.3f' % (a, b, c) > 2.000

Re: Python arrays and sting formatting options

2008-09-30 Thread Ivan Reborin
On 30 Sep 2008 07:07:52 GMT, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: Hello Marc, thanks for answering (on both subjects). I understand now the logic which lays behind what you were explaining in the other one. It cleared things quite a bit. >Well, I don't know if this qualifies as equ

Re: Python arrays and sting formatting options

2008-09-30 Thread Ivan Reborin
On 30 Sep 2008 15:31:59 GMT, Peter Pearson <[EMAIL PROTECTED]> wrote: > >Since you're coming from the FORTRAN world (thank you for >that stroll down Memory Lane), you might be doing scientific >computations, and so might be interested in the SciPy >package (Google scipy), which gives you arrays an