![]() |

|
Quick Links Python Scripts Hello.py MATH.py DISTANCE.py GUESS.py MEG2KIL.py PRIME.py* (Awesome!) Text Backup.py Other Parts of This Site The Poll Poll Results Python Journal Banner Message Board Chat Room Music Room |
I have established this page in order to share my learning of the Python programming language. You can always download the latest version of Python at www.python.org. I started my programming in I will be posting the scripts that I write on here for the entire world to view, and as long as theyre short, I'll post the code I used. And be sure to SIGN THE GUEST BOOK! Or you can email me at wagesj45@hotmail.com or click here for form emailing.
If you wish to link to my site, click here. New! Check out my new page dedicated to music! This page has been visited times. 9/06/2001 --- I just downloaded Python 2.2 beta. I've looked at it and I think I'm going to have my work cut out for me. :) I wrote out a simple script im sure almost every one has writen. Print "Hello World!" Download: Hello.py 9/07/2001 --- I downloaded Python 2.1.1 because I cant get Python 2.2 beta to open my scripts correctly. It works with 2.1.1. I've written a simple script using some math functions. Nothing fancy, but better than before! I also added a script that will calculate distance given the time and the rate. print "Math!" print print print "1 + 1 = ", 1+1 print "---------" print "2 * 4 = ", 2*4 print "---------" print "10 ÷ 2 = ", 10 / 2 print "---------" print "5 - 3 = ", 5-3 print "---------" print "5 to the 7th power = ", 5**7 print "---------" print print print "http://www.users.kih.net/~dwages/python_journal.html" print "----------------------------------------------------" Download: MATH.py
Download: DISTANCE.py 9/08/2001 --- I programmed a guessing game. Since I have posted the code here, you'll be able to see what the right number is. But since it does tell you wheather your guess was too high or low, try putting in wrong numbers. Or just close your eyes. :) The second script takes an input of either Meagbytes or Kilobytes and converts them to the other. "quit" exits the program.
Download: GUESS.py
Download: MEG2KIL.py 9/28/2001 --- Sorry about the wait. It has been a long time since I've updated this page. I've been working really hard on a script lately. I've always been interested in prime numbers (2, 3, 5, 7, 11, ...) but I always hated the work it took to find out if a number was prime or not. So I wrote this little script to find prime numbers very quickly. :)
Download: PRIME.py 9/29/2001 --- I'm starting to delve into the wonderful (and amzingly complicated) world of Tkinter, the standard Graphical User Interface for Python. As soon as I can get the gist of it, I'll be posting some simple scripts. Until then, just bare with me. 11/20/2001 --- I didn't realize that some of my dates were wrong. I wish someone would have said something! Anyway, I will soon be switching internet providers. I'll be getting Cable service from Charter Pipeline in December. I'll try to keep this page up. I'll also add some more, maybe non-programing oriented stuff once i have have all this new bandwidth. :) I hope you all will start emailing me and signing the guestbook, I didn't expect this many people coming to this page! Thanks for visiting! NEW! Read some literature a really good friend of mine wrote. 12/01/2001 --- I just added two more features to this site. I just hope they won't be hard to switch over when I change ISPs. Anyway, be sure to check out the banner for The Python Journal and take the poll. I also added a message board. 12/07/2001 --- I've added a new script. This one actually can be useful. It creates a Backup Copy of a text file. Here are the intructions: Save the file to be copied to the folder containing the script file (*.py). Run the script. Enter the name of the file to be copied in " ". Like "example.txt". Secondly, type the bakup file name in "" and add *.bak or whatever file extension you want to it. *.txt and *.bak work best. Ok here is the script.
1/04/2004 --- It's happened. I have just started my broadband connection with Charter. I am now at http://www.pythonjournal.fcpages.com. I hope you all come and visit me!Download: Text_Backup.py 1/08/2004 --- I'm making good on my promise. Now that I have a faster connection (100MB of storage and 20MB per day bandwidth), I am loading some new things, both programming and nonprogramming. I added a new music page and a song that I recorded (ah, the wonders of multi-track recording). I have also added a new program I wrote. This was done in Microsoft Visual C++ Compiler. It's a simple Text Editor. That is in fact its name. :) TextEditor 2.5. I have been working on this for quite some time now. It writes its own file extension, *.tef. I have had some difficulty with the program loading saved documents. It's fairly easy to use. Goodluck! Download: TextEditor 2.5 |