read serial data from a barcode reader/scanner using python

2005-10-10 Thread Edgar



Hi.
 
is there a way to program python to read 
serial data from a barcode reader/scanner and then using the 
parallel port of the PC to activate an 
electromagnetic door lock.
 
edgar
-- 
http://mail.python.org/mailman/listinfo/python-list

Re: making a valid file name...

2006-10-17 Thread Edgar Matzinger
Hi,

On 10/17/2006 06:22:45 PM, SpreadTooThin wrote:
> valid =
> ':./,^0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ '
> 

   not specifying the OS platform, these are not all the characters
that may occur in a filename: '[]{}-=", etc. And '/' is NOT valid.
On a unix platform. And it should be easy to scan the filename and
check every character against the 'valid-string'.

HTH, cu l8r, Edgar.
-- 
\|||/
(o o) Just curious...
ooO-(_)-Ooo-
-- 
http://mail.python.org/mailman/listinfo/python-list


FW: Re: [Spambayes] How to create a valid RPM?

2006-09-12 Thread Edgar Matzinger
ls,

On 09/12/2006 11:48:10 AM, [EMAIL PROTECTED] wrote:
> 
>> when I download python-spambayes-1.0rc2-2.src.rpm, install it and
>> run rpmbuild -ba ../SPECS/python-spambayes.spec, I get a lot of
>> error messages. It complains about a lot of installed but
>> unpackaged files.  How can I create a valid RPM?
> 
> Dunno.  Did you try "python setup.py bdist_rpm"?  This is a bit more

This gives the same errors. In fact it calls rpmbuild...

> general than just SpamBayes.  You might get some useful help from
> comp.lang.python (aka python-list@python.org).

   can anyone of you guys help me? It seems that the spec-file does not
contain a valid %files section.

Thanks, cu l8r, Edgar.
-- 
\|||/
(o o)   Just curious...
ooO-(_)-Ooo---
-- 
http://mail.python.org/mailman/listinfo/python-list


Newbie with some doubts.

2006-01-04 Thread Edgar A. Rodriguez
Hi everybody,

Im newbie to Python (I found it three weeks ago) , in fact Im newbie to
programming. I'm being reading and training with the language, but I
still wondering about what Classes are used to. Could you please give
me some examples??

Thanks.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Newbie with some doubts.

2006-01-04 Thread Edgar A. Rodriguez
Thanks, I'll do that.

-- 
http://mail.python.org/mailman/listinfo/python-list