Differences between revisions 49 and 50
Revision 49 as of 2005-07-26 08:02:00
Size: 8864
Editor: bos-gate6
Comment:
Revision 50 as of 2005-08-22 03:20:33
Size: 8880
Editor: nat02-hill-ext
Comment:
Deletions are marked like this. Additions are marked like this.
Line 123: Line 123:

really good!

Hey....

  • The purpose of this project is to provide an user interactive environment for anyone interested in learning python. So far most of the tutorials are in text format. However, when I was learning python, I always wished somebody had taught an online video course. Thanks to ourmedia.org for storing my videos it is now possible to provide this service.
    • ["More Info"]

Personal Message from ChiehBR

  • Hello everybody, I am back from a nice vacation. I just finished programming lecture 16, we are finally going to read some text files. Sorry that this lecture took so long. I spent too much time at work, and writing my book about the meaning of life and god http://www.ourmedia.org/node/33985

    • I must apologize that many people would find my lectures over simplified or goes too slow. I wrote these lectures aimed for kids and people that never had any programming experience. Lecture 16 is going to start picking up the pace.
      • chieh

BRBRBR Intro to programming with Python n TkinterBR Have you ever wanted to know how your application is programmed on the computer. This lecture will show you how easy it is to program.

Aimed at beginner programmers or people that has no programming experience. For you to watch this class, you must have python installed from python.org . Lecture 2 will show you how to install and run python. This lecture assumes that you already have python.

The python course series is designed to be short, fun, and concise. They are 10 minutes each with fun examples and easy instruction. If you want to learn programming this is the way to go.

Lecture 1: Why is python so cool???BR In this lecture I will convince you that python will eventually take over the world :). Actually we will discuss how the class will be conducted and how much fun we are going to have. This will be the last lecture I write.

Lecture 2: How to download pythonBR I will show you where you download python. If you found this page, chances are that you already know how. I will also talk about different resources to help you program python.

Lecture 3: Your first python program(10min)BR http://ourmedia.org/node/2128 BR Like all programming books, we kick off with a quick and simple non-hello world application. BR You will learn: importing Tkinter library, create a simple list, create a window, create a listbox, fill a listbox, parents of widgetsBR Example Code ["lecture3 example 1"], ["lecture3 example 2"]BRBR

Lecture 4: Button are meant to be pushed(10min)BR http://ourmedia.org/node/3093 BR When you press a button, your program will say "hi"BR You will learn: create a button, create a label, link up a button with specific functions, the concept of functions, indentation of functions, changing the foreground and background of widgetsBR Example Code ["lecture4 example 1"], ["lecture4 example 2"], ["lecture4 example 3"], ["lecture4 example 5"]BRBR

Lecture 5: Stealing is good in programming(10min)BR http://ourmedia.org/node/3094 BR We will program something using other people's code :)BR Your will learn:How to program large programs, how to borrow other people's code(modules), basic concepts to functionsBR Example Code ["lecture5 stacy.py 1"], ["lecture5 chieh.py"]BRBR

Lecture 6: How to create anything in Tkinter(10min)BR http://ourmedia.org/node/3105 BR The needed text is at http://ourmedia.org/node/6635 BR We will learn how to create everything in the Tkinter library, windows, buttons, listbox, entrybox, menus, etc. BR You will learn:How to create any Tkinter widget, how to make stand alone modules.BR Example Code attachment:lecture6_chieh.py attachment:lecture6_stacy.py

Lecture 7: Now let's make them do something (10min)BR http://ourmedia.org/node/4221 BR Now that we have learned how to create widgets, we need to tell them to do something. In this lecture we will mainly focus on Entry boxes. We will create an entry box, a button, and a listbox. When we press the button the program will take the name in the entry and put them into the list. BR

You will learn: insert text into a listbox, get text from Entry box, changing the size of the window, controlling where the window pop up, delete what's inside the entry box, controlling the padding between widgetsBR Example Code attachment:lecture7_homework.py attachment:lecture7_text.py

Lecture 8: Let's make some decisions (7min)BR http://ourmedia.org/node/9691 BR Learn how to use the if statements. Having a program that makes decisions for us will make our life much easier and our programs more powerful. In this program you will decide which girl we should go out with on a friday night and which car we should buy. :)BR You will learn: How to use if statements, examples are providedBR Example Code attachment:lecture8_ifexample.py

Lecture 9: Let's create a password system(11min)BR http://ourmedia.org/node/9694 BR Learn how we can use the if statement to create a password system.BR You will learn: how to focus on a widget, delete and insert text in an entry box, more examples of if else statementBR Example Code attachment:lecture9_password.py

Lecture 10: Photo display Part A(15min)BR http://ourmedia.org/node/9765 BR Learn how to create a photo display. The concentration of this lecture is about variables. Talk about the basic types of variables such as integer, float, string, and Booleans. Talk about local and global variables. BR You will learn: The 4 basic different types of variables.(integer, float, string, boolean), learn the concept of global and local variables. How do you find out what type a variable is, when do you use single or double quotes for stringsBR Example Code attachment:lecture10_pictures.py

Lecture 11: Photo display Part B(9min)BR http://ourmedia.org/node/10943 BR Actually creating the image viewer. We are going to create what I promised last lecture. BR You will learn: How to use canvas widget to include a gif image, how to delete an image. A real example of the need for global variables.

Lecture 12: Photo display Part C(9min)BR http://www.ourmedia.org/node/11454 BR Improving the image viewer we had from the last class. This lecture will start talking about the os library. The 4 types of OS that most people have. BR You will learn: The 4 types of OS most people use (windows, unix, apple, linux) , How do you find out your OS, How do you list all the files in a specific directory.

Lecture 13: Photo display Part d(9min)BR http://ourmedia.org/node/15013 BR We start learning about the string library. With these many libraries, you will also learn how to find all the tools inside the library using the IDLE interpreter. In this lecture, I am showing you how to fish.

Lecture 14: Photo display Part e(9min)BR http://ourmedia.org/node/15563 BR You will learn: We learn about for loops and the concept of range function in this lecture

Lecture 15: Photo display Part f(9min)BR http://ourmedia.org/node/17409 BR We finish up the project by learning about how to position the widgets inside the window and well as how we can create callback functions BR You will learn: pack functions, position functions, grid functions, and callback functions

Lecture 16: Photo display Part g(9min)BR http://ourmedia.org/node/30237 BR We are now finally getting into more advanced topics such as reading text files. You can find the source code for this lecture at http://ourmedia.org/node/29741

Lecture 17: File reading and writing(9min)BR Here we are going to have a little practice with reading and writing files source code for this lecture at http://www.ourmedia.org/node/32502

BRBRBRBRBRBRBRBR Chieh's Blog and suggestionBRBR

That's incredible! I don't have any video equipment at home, but I should have some within 2 years. -- LionKimbro DateTime(2005-04-15T20:16:00Z)

Instead of making wiki pages named ["lecture3 example 1"] and what not, which is begging for a name clash, how about instead posting the files as attachments?

You can type attachment:foo.txt, and that becomes a text file attachment.

An example: attachment:lecture3example1.txt

:) -- LionKimbro DateTime(2005-04-27T19:29:44Z)

really good!

Intro to programming with Python and Tkinter (last edited 2014-04-14 04:42:58 by DaleAthanasias)

Unable to edit the page? See the FrontPage for instructions.