Win32/Console - subclass using Python ?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Richard Shea

    #1

    Win32/Console - subclass using Python ?

    Hi - I wondered if anyone had done this before and could provide some
    suggestions ? I'm interested in supplying extra functionality to a
    Win32 Console (cmd.exe) - full description below for those interested.
    I would do this using Python.

    I'm having difficulty finding anything about Console based programming
    via MSDN - I just wondered if anyone had done anything like this or
    alternatively knew where the part of the Win32 API which deals with
    Console interaction is on MSDN ? I've found
    http://support.microsoft.com/default...b;en-us;104094 but
    that's about it so far.

    FULL DESCRIPTION
    =============== =
    I use the Oracle client SQLPLUS a lot via a Win 32 console. There are
    some aspect s of this experience which would bear improvement.

    I'm interested in producing a 'super' cmd.exe which would 'help'
    SQLPLUS do its thing. I'm thinking for instance of auto-completion of
    table names, smart help etc. That's a big topic but just for starters
    I would like to be able to create my own 'super cmd.exe'

    regards

    Richard Shea
  • Roger Upole

    #2
    Re: Win32/Console - subclass using Python ?

    http://msdn.microsoft.com/library/de..._functions.asp

    There's a Console module for Windows at

    that might do what you need.
    hth
    Roger



    "Richard Shea" <richardshea@fa stmail.fm> wrote in message
    news:282f826a.0 409061626.16567 378@posting.goo gle.com...[color=blue]
    > Hi - I wondered if anyone had done this before and could provide some
    > suggestions ? I'm interested in supplying extra functionality to a
    > Win32 Console (cmd.exe) - full description below for those interested.
    > I would do this using Python.
    >
    > I'm having difficulty finding anything about Console based programming
    > via MSDN - I just wondered if anyone had done anything like this or
    > alternatively knew where the part of the Win32 API which deals with
    > Console interaction is on MSDN ? I've found
    > http://support.microsoft.com/default...b;en-us;104094 but
    > that's about it so far.
    >
    > FULL DESCRIPTION
    > =============== =
    > I use the Oracle client SQLPLUS a lot via a Win 32 console. There are
    > some aspect s of this experience which would bear improvement.
    >
    > I'm interested in producing a 'super' cmd.exe which would 'help'
    > SQLPLUS do its thing. I'm thinking for instance of auto-completion of
    > table names, smart help etc. That's a big topic but just for starters
    > I would like to be able to create my own 'super cmd.exe'
    >
    > regards
    >
    > Richard Shea[/color]


    Comment

    • Richard Shea

      #3
      Re: Win32/Console - subclass using Python ?

      "Roger Upole" <rupole@hotmail .com> wrote in message news:<413d31e3$ 1_2@127.0.0.1>. ..[color=blue]
      > http://msdn.microsoft.com/library/de..._functions.asp
      >
      > There's a Console module for Windows at
      > http://www.effbot.org/zone/console-index.htm
      > that might do what you need.[/color]

      Thanks for that - I had looked for something like this but not found
      it. It's not 100% what I was thinking of as I would (I believe) need
      to run SQLPLUS 'behind' it. Never mind I appreciate it. Thanks also to
      info I got via Email WRT to 'QUASI'
      http://quasi-shell.sourceforge.net/ - that's a pretty amazing thing
      which is worth checking out.

      regards

      richard.


      [color=blue]
      >
      > "Richard Shea" <richardshea@fa stmail.fm> wrote in message
      > news:282f826a.0 409061626.16567 378@posting.goo gle.com...[color=green]
      > > Hi - I wondered if anyone had done this before and could provide some
      > > suggestions ? I'm interested in supplying extra functionality to a
      > > Win32 Console (cmd.exe) - full description below for those interested.
      > > I would do this using Python.
      > >
      > > I'm having difficulty finding anything about Console based programming
      > > via MSDN - I just wondered if anyone had done anything like this or
      > > alternatively knew where the part of the Win32 API which deals with
      > > Console interaction is on MSDN ? I've found
      > > http://support.microsoft.com/default...b;en-us;104094 but
      > > that's about it so far.
      > >
      > > FULL DESCRIPTION
      > > =============== =
      > > I use the Oracle client SQLPLUS a lot via a Win 32 console. There are
      > > some aspect s of this experience which would bear improvement.
      > >
      > > I'm interested in producing a 'super' cmd.exe which would 'help'
      > > SQLPLUS do its thing. I'm thinking for instance of auto-completion of
      > > table names, smart help etc. That's a big topic but just for starters
      > > I would like to be able to create my own 'super cmd.exe'
      > >
      > > regards
      > >
      > > Richard Shea[/color][/color]

      Comment

      Working...