Re: Create 2D character matrix

2008-08-08 Thread arsyed
On Thu, Aug 7, 2008 at 1:36 PM, Simon Parker <[EMAIL PROTECTED]> wrote: > Hello. > > I want to be able to create a 2D character matrix, ThisMatrix, like : > > > a A > b B > c C > d D > > and to be able to pick out elements, or rows or columns. > > I have become used to programming i

Re: Dynamically adding methods to a class...

2008-07-29 Thread arsyed
On Tue, Jul 29, 2008 at 12:17 AM, Piyush Anonymous <[EMAIL PROTECTED]> wrote: > class MyObject: >def __init__(self, name): > self.name = name > >def do_this_default(self): > print "default do_this implementation for %s" % self.name > > def custom_do_this(): #method to be added >

Re: 2d graphics - what module to use?

2008-07-25 Thread arsyed
On Fri, Jul 25, 2008 at 2:13 AM, Pierre Dagenais <[EMAIL PROTECTED]> wrote: > What is the easiest way to draw to a window? I'd like to draw something > like sine waves from a mathematical equation. > Newbie to python. > -- > http://mail.python.org/mailman/listinfo/python-list > I'd recommend matp

Re: Autocompletion and Interactive Tables in a Python IDE

2008-07-24 Thread arsyed
On Wed, Jul 23, 2008 at 5:28 PM, Anthony <[EMAIL PROTECTED]> wrote: > Hi, I'm a FoxPro programmer, but I want to learn python before it's > too late. I do a lot of statistical programming, so I import SPSS > into python. In my opinion, the best features of Visual FoxPro 9.0 > were: > a) Intellise

Re: Autocompletion and Interactive Tables in a Python IDE

2008-07-24 Thread arsyed
On Wed, Jul 23, 2008 at 5:28 PM, Anthony <[EMAIL PROTECTED]> wrote: > Hi, I'm a FoxPro programmer, but I want to learn python before it's > too late. I do a lot of statistical programming, so I import SPSS > into python. In my opinion, the best features of Visual FoxPro 9.0 > were: > a) Intellise

Re: PyOpenGL Tutorial?

2008-07-23 Thread arsyed
On Wed, Jul 23, 2008 at 4:07 PM, Clay Hobbs <[EMAIL PROTECTED]> wrote: > I need a tutorial for PyOpenGL (specifically, to be used with wxPython). > I searched with Google and didn't find one. Does anybody know where one > is? > > -- Ratfink > > -- > http://mail.python.org/mailman/listinfo/python-l

Re: The Importance of Terminology's Quality

2008-07-22 Thread arsyed
On Tue, Jul 22, 2008 at 5:21 AM, Martin Gregorie <[EMAIL PROTECTED]> wrote: > On Tue, 24 Jun 2008 18:42:15 -0400, John W Kennedy wrote: > >> David Combs wrote: >>> passing >>> *unnamed* functions as args (could Algol 60 also do something like that, >>> via something it maybe termed a "thunk") >> >>

Re: calling source command within python

2008-07-21 Thread arsyed
On Mon, Jul 21, 2008 at 1:59 PM, mk <[EMAIL PROTECTED]> wrote: > Jie wrote: > >> Hi all, >> >> i'm having trouble executing os.system('source .bashrc') command >> within python, it always says that source not found and stuff. Any >> clue? >> > > It _might_ be that the shell it fires up is /bin/sh

Re: examples of pipe usage?

2008-07-20 Thread arsyed
On Sun, Jul 20, 2008 at 5:27 PM, Sean McIlroy <[EMAIL PROTECTED]> wrote: > hola > > i'd like to control another interpreter from idle. i don't have any > experience using unix but i think a "pipe" is what i need. am i right > about this? can anybody point me to a simple example of using a pipe > (

Re: matplotlib: Plotting a graph against time

2008-07-20 Thread arsyed
On Sun, Jul 20, 2008 at 9:57 AM, Durand <[EMAIL PROTECTED]> wrote: > Oooh, this is almost what I want but I'm not really sure how I'd > incorporate this into real dates... > If I have a list of dates like ['2008-07-18 14:36:53.494013', > '2008-07-20 14:37:01.508990', '2008-07-28 14:49:26.183256'],

Re: matplotlib: Plotting a graph against time

2008-07-20 Thread arsyed
On Jul 19, 3:09 pm, Durand <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to plot a simple graph against date or time using matplotlib. I've > read about date_plot but I'm not really sure how to use it. At the moment, I > have some data arranged into lists, where list1 contains x values (time) a