Re: Python docs disappointing - group effort to hire writers?

2009-08-05 Thread RayS
At 08:35 PM 8/5/2009 -0700, r wrote: """... Any real sense of community is undermined -- or even destroyed -- to be replaced by virtual equivalents that strive, unsuccessfully, to synthesize a sense of community.""" I've brought up the idea of the quasi-community doc that PHP uses to good effect

Re: Cypress FX2 - py libusb code?

2009-08-05 Thread RayS
Reply to self: code attached. As Marco wrote: "To run the single C file USB bulk read program properly, you must provide a source of data to the CY7C68013 FIFO bus, like the Simple dual channel A/D system, otherwise the reading call will time out in one second, you will get a bunch of zeros, and

Cypress FX2 - py libusb code?

2009-08-05 Thread RayS
I'm looking for a Python example for the FX2 USB chip (I'm using the SerMod-100 board http://www.acquiredevices.com/sermod100.jsp). Does anyone have a simple "hello" script to re-enumerate the chip, and then do control or bulk reads with only Python and libusb? I've found C code and some Python m

Re: Req. for module style/organization

2006-02-20 Thread RayS
Thanks Ziga, At 04:42 PM 2/19/2006, you wrote: >RayS wrote: > > I realize that I need to make some changes to follow > > http://www.python.org/doc/essays/styleguide.html > > better. Does anyone have an appropriate URL for me to follow for this > > task? Is one of the

Req. for module style/organization

2006-02-19 Thread RayS
I've begun a Python module to provide a complete interface to the Meade LX200 command set, and have searched for a style/development guide for Python Lib/site-packages type modules, but only saw guides for C-modules. I realize that I need to make some changes to follow http://www.python.org/doc

pyHook and Win98 key events

2006-02-15 Thread RayS
(Note: there's not a lot of traffic on Win32, so I'm cross-posting here...) To debug pyKeyLogger, I wrote this with pyHook (and compiled with py2exe on Win2K), which prints the ascii codes as expected on Win2K: import pyHook import time import pythoncom def OnKeyboardEvent(event): pri

python-list@python.org

2006-01-31 Thread RayS
Hi Alan, At 04:25 PM 1/31/2006, you wrote: >IIUC, ASCOM is a set of Windows COM objects which provides a >standardised API for controlling telescopes. Since it uses Windows >COM, you should be able to control it easily from python using the >excellent win32 extensions. Yes, I had seen it, and

Re: Python module for LX200 telescope command set (Steve Horsley)

2006-01-30 Thread RayS
At 08:25 AM 1/30/2006, you wrote: >Terry Hancock wrote: >>On Sun, 29 Jan 2006 15:25:43 -0800 >>RayS <[EMAIL PROTECTED]> wrote: >>(about LX200 module) >>Sounds interesting, but I don't actually know what an LX200 >>is. I considered buying one of the Mead

Re: Python module for the LX200 command set

2006-01-30 Thread RayS
Hello Dez, Thanks for the reply - I was hoping to hear from your project. It will be interesting to see what John Lucey is doing before I go too far along - I hate re-inventing the wheel. I was wondering why the directory was simply empty. I will try to email him, if I can. I suspect that he al

Re: Python module for LX200 telescope command set

2006-01-30 Thread RayS
Hello Neil, Thank you for the extended response! All of your suggestions are reasonable, at the least. The only misgiving I had with breaking up into multiple classes is that the scope itself maintains state variables (it runs a Motorola processor etc) - so you can pick an object from the libra

Re: Python module for LX200 telescope command set

2006-01-29 Thread RayS
At 06:55 PM 1/29/2006, you wrote: >Subject: Re: Python module for LX200 telescope command set >Message: 9 > >On Sun, 29 Jan 2006 15:25:43 -0800, RayS <[EMAIL PROTECTED]> declaimed >the following in comp.lang.python: > > > I've begun a Python module to provid

Python module for LX200 telescope command set

2006-01-29 Thread RayS
I've begun a Python module to provide a complete interface to the Meade LX200 command set: http://rjs.org/Python/LX200.py and would like input from potential users or people interested in developing it further. The code I have online is a very alpha start - it contains all of the command set, pa

Re: Running External Programs from Within Python

2004-11-30 Thread RayS
At 10:50 PM 1/31/2004 +0100, Nuff Said wrote: On Sat, 31 Jan 2004 11:23:42 -0800, Bob=Moore wrote: If anyone is interested, I used the following non-threaded code; I tried pipedream.py, but had apparent timing issues with the threads that I couldn't clear up. I usually use wxPython. An *NIX versi