PYTHON: Encountering import error when trying to import YMODEM from xmodem

94 Views Asked by At

Hello I'm trying to import YMODEM from xmodem and encountering Import error. But if I import xmodem from XMODEM, I don't see any Import Error.

from xmodem import YMODEM
ImportError: cannot import name 'YMODEM' from 'xmodem'

I would like to transfer data using YMODEM protocol. Any suggestions are appreciated.

Thanks, -Indra.

Tried:

from xmodem import YMODEM
ImportError: cannot import name 'YMODEM' from 'xmodem'

Expected: Need to send file using YMODEM protocol. My understanding is xmodem package has the support for YMODEM.

0

There are 0 best solutions below