Re: New instance of a class : not reset?

2011-01-24 Thread Jean-Francois
Great thank you -- http://mail.python.org/mailman/listinfo/python-list

New instance of a class : not reset?

2011-01-20 Thread Jean-Francois
Hi, In the following example, I don't understand why attribute 'data' is not reset when I get the new instance of Bag It works if I make a copy (data[:]) but I want to understand why Thanks class Bag(object): def __init__(self, data = []): self.data = data

Regex url

2011-01-15 Thread Jean-Francois
Hi, I try to match the following url with one regex /hello /hello/ /hello/world /hello/world/ world is a variable, I can put toto instead Thanks ! -- http://mail.python.org/mailman/listinfo/python-list

Re: Real time plot

2007-10-05 Thread Jean-Francois Canac
"Lawson Hanson" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > Nicholas Bastin wrote: >> On 10/4/07, Jean-Francois Canac <[EMAIL PROTECTED]> wrote: >>> [EMAIL PROTECTED] >>>> I would draw dots on a suitably sized Tk

Please Help me

2007-10-05 Thread Jean-Francois Canac
I am very new in Python and I would like to write an application which takes records from a COM port (or from a file to replay) and draw a real time Plot. But I am confused I have looked at Matplotlib, and a little at hippodraw, I have seen that there are many plot interfaces . But I really don

Re: Real time plot

2007-10-04 Thread Jean-Francois Canac
"Hendrik van Rooyen" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > Jean-Francois Canac wrote: > >>I am reading a large amount of data from a COM port (or from a file) at a >>rate > of 20 records per second. It is about >pos

Real time plot

2007-10-03 Thread Jean-Francois Canac
I am reading a large amount of data from a COM port (or from a file) at a rate of 20 records per second. It is about positioning of a vehicle on a race track. In each record we have time, position (lat and long) speed, course all from GPS equipment. I would like to Produce a graph in real time wi