Re: [Tutor] PYFTDI Library for FT232H

2012-08-02 Thread Steven D'Aprano
On 03/08/12 09:38, John Battle wrote: I am relatively new to Pyton and am trying to use a library called pyftdi which is used to establish communication with USB chips made by FTDI. I have been able to install the library and write a simple piece of code to discover my interfaces (I have two FT23

Re: [Tutor] PYFTDI Library for FT232H

2012-08-02 Thread Alan Gauld
On 03/08/12 00:38, John Battle wrote: I am relatively new to Pyton and am trying to use a library called pyftdi which is used to establish communication with USB chips This list is really for those learning the core Python language and standard library. Although we do cover some common third p

[Tutor] PYFTDI Library for FT232H

2012-08-02 Thread John Battle
I am relatively new to Pyton and am trying to use a library called pyftdi which is used to establish communication with USB chips made by FTDI. I have been able to install the library and write a simple piece of code to discover my interfaces (I have two FT232H devices connected). The followi

Re: [Tutor] __new__ and __init__

2012-08-02 Thread Alan Gauld
On 01/08/12 15:28, rail shafigulin wrote: I'm trying to understand how to use the two methods. I know that __new__ is used to create an object, while __init__ to initialize. But I'm not sure what happens when I create an object. Use print statements to find out... >>> class C(object): ...