Odp: Newbie - No module named stdwin

Simon Bayling sfb at alysseum.com
Thu Jul 10 08:55:54 EDT 2003


"K" <milyon at wp.pl> wrote in news:bejf32$3on$1 at topaz.icpnet.pl:

> but in visual basic 6 i have graphical Interface - in Python only text
> based is that correct ?

Yes and no... Python only has a text interface, but can access "windowing 
toolkits" to allow you to make graphical interfaces.

A lot of languages are like this, e.g. C++, but some have a built-in 
windowing toolkit, e.g. Java.  

Visual Basic also has its own built-in toolkit - so much so that it is 
all you can use, and it is easy to use - which is why it is so popular.

So... yes strictly speaking Python only has a text interface, but that's 
not the whole story because you can create graphical interfaces with a 
toolkit that usually comes with Python, and it's a very common and 
standard thing to do.

However, it requires a different style of programming, which is why the 
previous posters are suggesting you avoid it until you are comfortable 
with Python.

http://www.pythonware.com/library/tkinter/introduction/hello-
tkinter.htm#AEN50 

Is a link to the most simple "Hello World" application with the toolkit 
"Tkinter".

Cheers,
Simon.







More information about the Python-list mailing list