I'm trying to find the package modem 1.0 listed in PyPi and hence want to use ymodem from it. The package description in this link http://pypi.python.org/pypi/modem only gives the description and not the download link unlike in this link http://pypi.python.org/pypi/xmodem/0.2.4 .
Does anyone know the location to download modem or ymodem package for Python?
Kindly help me.
Regards,
Manjunath Bhat
This is very old but I thought I'd answer it, since I had this problem recently.
If you are using linux, you can do this, which I found in the following link: https://superuser.com/questions/604055/using-rz-and-sz-under-linux-shell
write a file called ysend with the following code:
where DEV is your serial interface and the number is your baud rate. The sb command uses the YMODEM protocol.
you may then call this file from python with the following code:
where filename is the file you want to send.
This solved all my problems after hours of searching for a ymodem implementation. Change sb to sz to use zmodem instead