Re: Community Involvement

2011-08-04 Thread sparky gmail
On 8/3/2011 8:14 PM, Steve Holden wrote: [Ccs appreciated] After some three years labor I (@holdenweb) at last find myself approaching the completion of the Python Certificate Series with O'Reilly School of Technology (@OReillySchool). At OSCON last week the team fell to talking about the fi

Re: Selecting unique values

2011-07-26 Thread sparky gmail
On 7/25/2011 3:03 PM, Kumar Mainali wrote: Greetings I have a dataset with occurrence records of multiple species. I need to get rid of multiple listings of the same occurrence point for a species (as you see below in red and blue typeface). How do I create a dataset only with unique set of l

Re: Best Pythonic Approach to Annotation/Metadata?

2010-07-15 Thread Sparky
On Jul 15, 2:26 pm, John Krukoff wrote: > On Thu, 2010-07-15 at 12:37 -0700, Sparky wrote: > > > > > the above is a good "pythonic" way to solve this problem? I am using > > 2.6. > > Hopefully a helpful correction, but if you're running on google

Best Pythonic Approach to Annotation/Metadata?

2010-07-15 Thread Sparky
Hello Python community! I am building a JSON-RPC web application that uses quite a few models. I would like to return JSON encoded object information and I need a system to indicate which properties should be returned when the object is translated to a JSON encoded string. Unfortunately, this appl

Tkinter Menu in Frame

2009-08-13 Thread Sparky
Hello! I am trying to figure out if it is possible to place a Tkinter menu within a frame. This would be instead of having the menu-bar at the top of the window. Thanks, Sam -- http://mail.python.org/mailman/listinfo/python-list

Re: Two Dimensional Array + ctypes

2009-08-06 Thread Sparky
On Aug 5, 11:19 pm, "Gabriel Genellina" wrote: > En Wed, 05 Aug 2009 20:12:09 -0300, Sparky escribió: > > > > > > > Hello! I am trying to call this method: > > > long _stdcall AIBurst(long *idnum, [...] > >                     long tim

Two Dimensional Array + ctypes

2009-08-05 Thread Sparky
Hello! I am trying to call this method: long _stdcall AIBurst(long *idnum, long demo, long stateIOin, long updateIO, long ledOn, long numChannels, l

Re: WindowsError: exception: access violation writing 0x00000000

2009-08-04 Thread Sparky
On Aug 4, 9:47 am, Philip Semanchuk wrote: > On Aug 4, 2009, at 11:25 AM, Sparky wrote: > > > > > > > On Aug 3, 3:29 pm, Sparky wrote: > >> Hello! I am using cTypes on Windows to interface with a dll and I   > >> keep > >> getting an error whe

Re: WindowsError: exception: access violation writing 0x00000000

2009-08-04 Thread Sparky
On Aug 3, 3:29 pm, Sparky wrote: > Hello! I am using cTypes on Windows to interface with a dll and I keep > getting an error when I execute this method: > > def eDigitalIn(self, channel, idNum = None, demo = 0, readD=0): >         """ >         Name: U12.eAnalogI

WindowsError: exception: access violation writing 0x00000000

2009-08-03 Thread Sparky
Hello! I am using cTypes on Windows to interface with a dll and I keep getting an error when I execute this method: def eDigitalIn(self, channel, idNum = None, demo = 0, readD=0): """ Name: U12.eAnalogIn(channel, idNum = None, demo = 0, readD=0) Args: See section 4.4 of the

Re: Webcam + GStreamer

2009-07-12 Thread Sparky
On Jul 12, 7:38 pm, David wrote: > Sparky wrote: > > On Jul 12, 4:30 pm, David wrote: > >> Sparky wrote: > >>> On Jul 12, 3:50 pm, Sparky wrote: > >>>> Hello! I need to stream from a webcam in Linux and I need to be able > >>>> to anal

Re: Webcam + GStreamer

2009-07-12 Thread Sparky
On Jul 12, 4:30 pm, David wrote: > Sparky wrote: > > On Jul 12, 3:50 pm, Sparky wrote: > >> Hello! I need to stream from a webcam in Linux and I need to be able > >> to analyze the video feed frame by frame with PIL. Currently my web- > >> cam (Quickcam Chat)

Re: Webcam + GStreamer

2009-07-12 Thread Sparky
On Jul 12, 3:50 pm, Sparky wrote: > Hello! I need to stream from a webcam in Linux and I need to be able > to analyze the video feed frame by frame with PIL. Currently my web- > cam (Quickcam Chat) only seems to work with GStreamer so a solution > using pygst would be preferred. &g

Webcam + GStreamer

2009-07-12 Thread Sparky
Hello! I need to stream from a webcam in Linux and I need to be able to analyze the video feed frame by frame with PIL. Currently my web- cam (Quickcam Chat) only seems to work with GStreamer so a solution using pygst would be preferred. Thanks for your help, Sam -- http://mail.python.org/mailman

Re: SHM and Touchpad

2009-06-17 Thread Sparky
On Jun 17, 2:09 pm, Philip Semanchuk wrote: > On Jun 17, 2009, at 3:56 PM, Sparky wrote: > > > Hello! I am writing an application that requires access to the state > > of a synaptics touch pad on a laptop running Ubuntu Linux (for the > > number of fingers, pressure, x l

SHM and Touchpad

2009-06-17 Thread Sparky
Hello! I am writing an application that requires access to the state of a synaptics touch pad on a laptop running Ubuntu Linux (for the number of fingers, pressure, x location, y location, etc). A different program using C++ accesses the information through SHM and I was hoping to do the same with

Re: Connection tester

2009-06-10 Thread Sparky
On Jun 10, 10:01 am, Jeff McNeil wrote: > On Jun 10, 10:26 am, Sparky wrote: > > > > > Hey! I am developing a small application that tests multiple websites > > and compares their "response time". Some of these sites do not respond > > to a ping and, for

Connection tester

2009-06-10 Thread Sparky
Hey! I am developing a small application that tests multiple websites and compares their "response time". Some of these sites do not respond to a ping and, for the measurement to be standardized, all sites must have the same action preformed upon them. Another problem is that not all of the sites h

Re: Windows Install Command Line

2009-02-22 Thread Sparky
On Feb 22, 11:15 am, "Martin v. Löwis" wrote: > Sparky wrote: > > For internal distribution purposes, I was wondering if there was an > > already established process/program for installing Python on Windows > > machines without using an msi file or compiling from s

Windows Install Command Line

2009-02-22 Thread Sparky
For internal distribution purposes, I was wondering if there was an already established process/program for installing Python on Windows machines without using an msi file or compiling from source. Basically I need the standard distribution installed by either a batch file or python script through

Re: File Locking Forced? Newbie question.

2008-07-15 Thread Sparky
On Jul 15, 11:38 am, Tim Golden <[EMAIL PROTECTED]> wrote: > Sparky wrote: > > Hello! I am writing some software that will have many users accessing > > the same file resource at once for reading purposes only. I am > > programming on (Ubuntu) Linux and my question is in

File Locking Forced? Newbie question.

2008-07-15 Thread Sparky
Hello! I am writing some software that will have many users accessing the same file resource at once for reading purposes only. I am programming on (Ubuntu) Linux and my question is in Windows, can I have it so that the same file can be open in read mode by more than one person or could Window's fi

Re: Newbie Threading Question

2008-07-13 Thread Sparky
t it because the Python virtual machine handles it. Thus, any > system which supports Python (or at least Python versions with > threading) will support Python threading. Again, I don't know a lot > about this, but it would make sense. > > Sparky wrote: > > It seems strang

Re: wxPython Tab

2008-07-13 Thread Sparky
On Jul 13, 10:32 am, Uwe Schmitt <[EMAIL PROTECTED]> wrote: > On Jul 13, 6:20 pm, Sparky <[EMAIL PROTECTED]> wrote: > > > Is there a way to get wxPython to change the visible tab in a notebook > > (like I have tab 1 open but the computer will automatically chan

wxPython Tab

2008-07-13 Thread Sparky
Is there a way to get wxPython to change the visible tab in a notebook (like I have tab 1 open but the computer will automatically change to tab 2)? Thanks, Sam -- http://mail.python.org/mailman/listinfo/python-list

Newbie Threading Question

2008-07-13 Thread Sparky
It seems strange, but I can't find a list of operating systems which support / don't support threading in Python. Can anyone point me in the right direction? Thanks, Sam -- http://mail.python.org/mailman/listinfo/python-list

Re: Local User Control

2008-07-10 Thread Sparky
On Jul 10, 10:13 am, Tim Golden <[EMAIL PROTECTED]> wrote: > Sparky wrote: > > On Jul 10, 9:58 am, Tim Golden <[EMAIL PROTECTED]> wrote: > >> Sparky wrote: > >>> I don't know how feasible this is, but is it possible to have users > >>>

Re: Local User Control

2008-07-10 Thread Sparky
On Jul 10, 9:58 am, Tim Golden <[EMAIL PROTECTED]> wrote: > Sparky wrote: > > I don't know how feasible this is, but is it possible to have users > > log in to access a local database file in such a way that allows the > > program to know what user name and pa

Local User Control

2008-07-10 Thread Sparky
I don't know how feasible this is, but is it possible to have users log in to access a local database file in such a way that allows the program to know what user name and password they logged in with? This would involve separate user names and passwords for each user. Thanks for your time and hel