TERMIOS.py

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • henry xie

    TERMIOS.py

    Hi, All:

    I am a newbie in Python. I am trying to use pexpect package in the project.
    But when I installed the package, it couldn't be used as termios.py was
    missing. I checked the LIB directory. It had TERMIOS.py but no termios.py.
    Could any body explain to me where can I found this file and solve this
    problem? Thanks in advance.

    Henry


  • Michel Claveau/Hamster

    #2
    Re: TERMIOS.py

    under windows : ren TERMIOS.py termios.py


    Comment

    • Josef Meile

      #3
      Re: TERMIOS.py

      Hi,
      [color=blue]
      > under windows : ren TERMIOS.py termios.py[/color]
      I don't think that's the problem:

      first: TEMIOS != termios. They are two different modules:


      second: Those two modules aren't available on windows.

      I guess you either didn't install the module or you have a really old
      python.

      Regards,
      Josef

      Comment

      • simo

        #4
        Re: TERMIOS.py

        Josef Meile <jmeile@hotmail .com> wrote:
        [color=blue][color=green]
        > > under windows : ren TERMIOS.py termios.py[/color]
        > I don't think that's the problem:[/color]
        [color=blue]
        > first: TEMIOS != termios. They are two different modules:
        > http://docs.python.org/lib/module-TERMIOSuppercase.html
        >
        > second: Those two modules aren't available on windows.
        >
        > I guess you either didn't install the module or you have a really old
        > python.[/color]

        I have TERMIOS.py under Python 2.3.4 for Windows.

        I think it's actually installed by some other library (pyQt or
        wxPython IIRC) if you Google it, there is a solution (I think it was
        basically "just delete them both").

        Comment

        Working...