Re: Python lists

2012-12-28 Thread Manatee
On Friday, December 28, 2012 9:14:57 AM UTC-5, Manatee wrote: > I read in this: > > ['C100, C117', 'X7R 0.033uF 10% 25V 0603', '0603-C_L, 0603-C_N', '10', '2', > '', '30', '15463-333', 'MURATA&#x

Python lists

2012-12-28 Thread Manatee
I read in this: ['C100, C117', 'X7R 0.033uF 10% 25V 0603', '0603-C_L, 0603-C_N', '10', '2', '', '30', '15463-333', 'MURATA', 'GRM188R71E333KA01D', 'Digi-Key', '490-1521-1-ND', ''] Then I need to convert it to this: [['C100', 'C117'], 'X7R 0.033uF 10% 25V 0603', '0603-C_L', '0603-C_N', '10', '

Where to start in writing test programs for electronics

2011-04-28 Thread Manatee
I would like to write test programs that will collect data over the serial port, control instruments, plot data as its collected, and save that data to a file. I have partially figured out instrument control and have downloaded numpy and matplot. I am having trouble pulling it together as regards f

Re: PyVISA

2011-04-01 Thread Manatee
On Apr 1, 4:05 pm, "eryksun ()" wrote: > On Friday, April 1, 2011 3:40:23 PM UTC-4, Manatee wrote: > > > Well, ok, I'll try some of that. But I am running window 7, not Linux. > > The "sudo" command sounds like Linux. > > Again, there

Re: PyVISA

2011-04-01 Thread Manatee
On Apr 1, 4:05 pm, "eryksun ()" wrote: > On Friday, April 1, 2011 3:40:23 PM UTC-4, Manatee wrote: > > > Well, ok, I'll try some of that. But I am running window 7, not Linux. > > The "sudo" command sounds like Linux. > > Again, there

Re: PyVISA

2011-04-01 Thread Manatee
On Apr 1, 2:05 pm, "Günther Dietrich" wrote: > Manatee wrote: > >I have unpacked the PyVISA files into the Python/lib/site-packages dir > >and from the IDLE GUI I get and error > > >import visa > > >Traceback (most recent call last): > >  File

PyVISA

2011-04-01 Thread Manatee
I have unpacked the PyVISA files into the Python/lib/site-packages dir and from the IDLE GUI I get and error import visa Traceback (most recent call last): File "", line 1, in import visa ImportError: No module named visa There must be more to just putting the files in the correct direc

Re: Pyserial

2011-03-20 Thread Manatee
On Mar 20, 9:06 pm, "Littlefield, Tyler" wrote: >  >The windows msi install fails saying there is no python install found >  >in the registry. Is there a workaround for this? Can I edit the >  >registry and manually enter the information? > I've came to realize that the 64-bit version of python do

Re: Pyserial

2011-03-20 Thread Manatee
On Mar 20, 9:06 pm, "Littlefield, Tyler" wrote: >  >The windows msi install fails saying there is no python install found >  >in the registry. Is there a workaround for this? Can I edit the >  >registry and manually enter the information? > I've came to realize that the 64-bit version of python do

Pyserial

2011-03-20 Thread Manatee
The windows msi install fails saying there is no python install found in the registry. Is there a workaround for this? Can I edit the registry and manually enter the information? I am running Python 2.71 There is no traceback, the installation fails immediately -- http://mail.python.org/mailman

Re: Syntax Error

2011-03-19 Thread Manatee
On Mar 19, 3:26 am, Steven D'Aprano wrote: > On Fri, 18 Mar 2011 21:39:20 -0700, Manatee wrote: > > I hope this is the place to post this question. I am a really new > > pythonista. I am studying Tkinter and when I run this basic code, I get > > a syntax error on

Re: Syntax Error

2011-03-19 Thread Manatee
On Mar 19, 3:26 am, Steven D'Aprano wrote: > On Fri, 18 Mar 2011 21:39:20 -0700, Manatee wrote: > > I hope this is the place to post this question. I am a really new > Also, this is what is printed in the window when I type "Python" C:\Users\Rivetmr\MyPythonScript

Re: Syntax Error

2011-03-19 Thread Manatee
On Mar 19, 3:26 am, Steven D'Aprano wrote: > On Fri, 18 Mar 2011 21:39:20 -0700, Manatee wrote: > > I hope this is the place to post this question. I am a really new > > pythonista. I am studying Tkinter and when I run this basic code, I get > > a syntax error on

Re: Syntax Error

2011-03-19 Thread Manatee
On Mar 19, 2:00 am, Terry Reedy wrote: > On 3/19/2011 1:03 AM, Vlastimil Brom wrote: > > > 2011/3/19 Manatee: > >> I hope this is the place to post this question. > > Yes. > Lesson 1. Report Python version used, as things change. For anything > that seems li

Re: Syntax Error

2011-03-19 Thread Manatee
On Mar 19, 1:03 am, Vlastimil Brom wrote: > 2011/3/19 Manatee : > > > I hope this is the place to post this question. I am a really new > > pythonista. I am studying Tkinter and when I run this basic code, I > > get  a syntax error on line 20,  print "hi there, ever

Syntax Error

2011-03-18 Thread Manatee
I hope this is the place to post this question. I am a really new pythonista. I am studying Tkinter and when I run this basic code, I get a syntax error on line 20, print "hi there, everyone". Its a simple print line, but I can't see the problem. I am using Python 2.71, gVim for an editor, and a