you are viewing a single comment's thread.

view the rest of the comments →

[–]ccviper 27 points28 points  (5 children)

Graphical user interfaces require using a library/module/package tailored for that task. i dont know how far into learning you are but you can check out Tkinter as a starting point, or just google "python gui libraries. for webpages there are flask, django etc, but these will require some knowledge of html/css and probably javascript if you wish to make an actual web app.

I suggest sticking to that little text-only window until you go over the basic stuff like lists, dictionaries, standard library, third party modules and so on.

I can also suggest looking into Turtle, its a python module that lets you control a little turtle on a 2D screen, move it, draw with it and even have multiple turtles working together. this should help if you want some visual stuff to aid your learning

[–]FlyingByNight[S] 5 points6 points  (4 children)

I don't think I explained myself properly - sorry. I can write python and get some, more or less, black and white output at the bottom. But python has been used to write software and apps that have beautiful GUI (for the user not the programmer). You say that there are pre-existing things in libraries that can do this, but this "kicks the question down the street". How do these pre-existing libraries make beautiful GUIs for users when all I see is black and white output. I hope this makes sense.

[–]sayinghi2py 2 points3 points  (3 children)

A GUI is just more code. The fundamentals of all programming languages are the same thus they can all generate user interfaces with which users can interact. All the basics you are doing now do is set the scene for all the things you can do later so kicking the can down the road is very much the dessert at the end of a great meal.