473,406 Members | 2,352 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

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
Jul 18 '05 #1
2 2115
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.
hth
Roger

"Richard Shea" <ri*********@fastmail.fm> wrote in message
news:28**************************@posting.google.c om...
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

Jul 18 '05 #2
"Roger Upole" <ru****@hotmail.com> wrote in message news:<41**********@127.0.0.1>...
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.
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.

"Richard Shea" <ri*********@fastmail.fm> wrote in message
news:28**************************@posting.google.c om...
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

Jul 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

19
by: Dave | last post by:
Hi, I have done some research, trying to Clear The Screen in java code. The first option was the obv: system.out.print("\n\n\n\n\n\n\n\n\n\n\n\n"); then i heard about this method:...
1
by: Devrim Erdem | last post by:
Hello, I am on win32 with python2.2. My python added C++ app is an OpenGL application so there is no real GUI code around it. I have built in the python interpreter which works very great. I...
2
by: Jon Wright | last post by:
Trying to work around the lack of pexpect for native windows python I had a play with os.popen2 and some threads. This looks promising enough for what I want to do, but I hit on a problem with...
1
by: Gerry Sutton | last post by:
Hi All! I have noticed a strange behavior when using a constant identifier to initialize an instance list variable in a base class and then trying to modifying the list in subclasses by using...
9
by: runes | last post by:
Hi, I'm trying to set the title of the console window (CMD.EXE) in Windows. I want it set to the basename of the current directory and it should stay after the script has finished. Now, the...
7
by: Robert | last post by:
Hello, I'm using Pythonwin and py2.3 (py2.4). I did not come clear with this: I want to use win32-fuctions like win32ui.MessageBox, listctrl.InsertItem ..... to get unicode strings on the...
2
by: SheetalGandhi24 | last post by:
Hi I need to use the System.IO namespace in the Win32 console application. Any clues for doing the same? Basically, I need to load the files of a particular folder in an array. I need to do...
2
by: Frank Moyles | last post by:
Hi, I want to use SciPy library. I am using W2k, and ActiveState Python 2.5. I have succesfully numpy, but when I run the scipy-0.6.0.win32-py2.5.exe (from the downloads section on the SciPy...
8
by: Grant Edwards | last post by:
When I ssh into a windows machine (running Cygwin sshd), I can invoke python at the shell prompt (you have to use -i option and I don't really understand why). Once it's started there are couple...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.