On 2005-11-30, Sanjay Arora <[EMAIL PROTECTED]> wrote: > Am a python newbie. Does python have a native way to communicate with a > PC serial port?
Yes. Under Unix you can use os.open() os.read() os.write() and the termios module. > I found that pyserial needs java. No it doesn't. > I am using Linux..CentOS 4.2, to be exact, no java installed > and zilch/no/none/maybe never experience of java too. You don't need Java. > I have an application where I want to resd logs from the > serial port of an EPABX and log them to a postgreSQL database. > What's the best way to do this using python? Use pyserial and a database interface module. > Does anyone know of an existing software/python library/module > for this? Sorry. -- Grant Edwards grante Yow! I'm ANN LANDERS!! I at can SHOPLIFT!! visi.com -- http://mail.python.org/mailman/listinfo/python-list