These are miscellaneous Python scripts.
| Filename(s) | Last Revision | Description |
| Bowling.py | 2006-12-12 04:03:07 | This is a script I wrote to show off Python to another programmer. He had written a Bowling class in Java, and challenged me to port it to Python. |
| stringReverse.py | 2006-12-08 19:31:27 | A basic algorithm that shows how to reverse a string. |
| oldvotes.py | 2006-11-28 22:27:44 | This was the original votes script that grabs the vote counts from PodcastAlley.com. |
| floating_point_error.py | 2006-11-25 21:23:04 | Shows some strange things about floating point calculations. |
| root.py | 2006-11-23 22:05:18 | This is an nth root algorithm. |
| logn.py | 2006-11-20 16:52:25 | An algorithm for computing logarithms from the Literate Programs Wiki. |
| calc_e.py | 2006-11-19 12:42:40 | This is a script of an algorithm that can calulate the mathematical value e. |
| floodIt.py | 2006-11-16 05:22:04 | A clone of Flood It! |
| squareIncreases.py | 2006-11-16 03:36:48 | Shows equivalent ways of computing the increase of a square. |
| onCopying.py | 2006-11-14 08:41:24 | This is about different levels of copying. |
| timeRecorder.py | 2006-11-13 16:08:50 | Another self-modifying script, one that records the time every second. |
| selfSquare.py | 2006-11-10 15:32:38 | A script that modifies itself. |
| middle.py | 2006-11-10 12:37:10 | Middle is a function that compares what you think is in the middle with what actually is. It has an offset of 1, so the 'xyz' in '1xyz21' is considered to be in the middle. |
| 666.py | 2006-11-06 05:14:49 | Each letter is 6 higher than the previous (a:6, b:12, c:18). A couple of coincidences occur, like 'new york' and 'mark of beast' equalling 666. |
| beep.py | 2006-11-03 01:33:35 | Produces 50 beeps if it is not run by IDLE. |
| hashCircle.py | 2006-10-30 09:47:55 | Give it a salt, and wait for the hash to repeat. |
| collatzConjecture.py | 2006-10-28 18:25:04 | If the number is even, divide it by two. If the number is odd, triple it and add one. |
| square.py | 2006-10-27 01:28:08 | Another class example. |
| my_house.py | 2006-10-27 01:25:55 | An example of a class. |
| sum.py | 2006-10-27 01:11:52 | A method of addition using recursion. |
| countHi.py | 2006-10-27 00:11:36 | Function that returns the number of times 'hi' is in a string. |
| birthdayParadox.py | 2006-10-25 17:29:01 | The birthday paradox states that given a group of 23 (or more) randomly chosen people, the probability is more than 50% that at least two of them will have the same birthday. |
| mouseClick.py | 2006-10-23 02:30:08 | I made this to click the mouse button every two seconds so that I could read Dinosaur Comics without the title popups. |
| rand01.py | 2006-10-22 02:17:20 | Creates a random series of 0's and 1's. |
| wordGuess.py | 2006-10-21 01:04:23 | Hangmanesque game. It is a port of the Java program included. |
| do-while.py | 2006-10-20 21:17:52 | From this I learned how to implement do-while in Python. |
| mathAssignments.py | 2006-10-09 20:32:17 | Given numbers of problems to do such as '30-60m3, 61-70, 81, 85', it would output all the numbers to do. |
| timingTest.py | 2006-10-08 17:08:38 | Test of the idea whether it is more efficient to print text, or save it to a variable and then print the variable. |
| numberDivide.py | 2006-10-06 17:55:26 | Recursively divides two numbers by the previous divisor for a number of times. |
| reverseItems.py | 2006-10-03 21:01:11 | BinRev challenge. |
| ntuple.py | 2006-10-02 23:50:12 | BinRev challenge. |
| sleepTime.py | 2006-10-01 22:59:59 | This was the start of a program that could tell you when you should goto sleep depending on how much you had slept. |
| pascal'sTriangle.py | 2006-10-01 20:42:15 | Another programming challenge entry. |
| euclideanAlgorithm.py | 2006-10-01 15:34:05 | Two greatest common denominator algorithms. |
| morseCode.py | 2006-09-30 11:49:48 | Binany Revolution programming challenge. |
| numberTrick_output=1.py | 2006-09-16 12:13:26 | Whatever the input, the output is 1. |
| base64.py | 2006-09-10 15:34:06 | Start of a base64 implementation. |
| random_numbers_test.py | 2006-09-10 14:17:29 | A good PRNG should return as close to 0.5 as possible. |
| 2numbers_to_decimal.py | 2006-09-09 13:37:27 | Neat algorithm: you take 2 numbers, apply function, and the output is first.second. |
| interesting_prng.py | 2006-09-07 16:31:54 | Very simple PRNG. |
| necklace.py | 2006-09-03 23:18:26 | Mathematical conjecture: Enter two numbers, add the second to the first, take only the ones digit, add again, continue until the last two numbers are the same as the first two. |
| calendar_frontend.py | 2006-08-28 22:10:28 | Calendar module frontend for the calendar.calendar function. |
| grid_system.py | 2006-08-20 13:19:07 | I can't recall what this was for. |
| runner.py | 2006-08-19 22:56:47 | A dash runs around a cube based on the directions you choose. |
| turkeys.py | 2006-08-06 17:01:35 | Calculates using brute force, instead of algebra: "Together these two turkeys weigh twenty pounds," said the butcher. "The little fellow sells for two cents a pound more than the big bird." Mrs. Smith bough the little one for 82 cents and Mrs. Brown paid $2.96 cents for the big turkey. How much did each gobbler weigh? |
| lucky_numbers.py | 2006-07-26 18:54:42 | Generates the lucky number series. |
| editing_choices.py | 2006-07-22 20:40:54 | Each time it runs, it adds a choice. |
| print_test.py | 2006-07-20 12:36:52 | Tests the fastest way to print info. |
| quick_rename.py | 2006-07-19 15:28:23 | Renames a files based on the extension. |
| Folders.py | 2006-07-15 00:02:43 | Creates a bunch of folders inside of other folders. |
| weathermap.py | 2006-07-14 21:10:51 | Grabs a weathermap image. |
| viewimage.py | 2006-07-14 21:09:12 | Using PIL and Tkinter to show an image. |
| reddman.py | 2006-07-11 15:16:39 | I used this to find all the lines containing Reddman from a bunch of log files. |
| 0110.py | 2006-07-07 11:26:28 | The 0110 sequence. |
| prng.py | 2006-07-05 11:40:22 | Tests for the Pseudorandom number generator. |
| doomsday.py | 2006-07-04 16:56:56 | The Doomsday algorithm is a way of calculating the day of the week of a given date. |
| play_again.py | 2006-07-04 15:51:45 | Piece of code that shows how to repeat an action if the user chooses. |
| heads_tails.py | 2006-07-04 15:50:52 | Simulation of flipping a coin. |
| TestSorts.py | 2006-07-03 14:44:51 | Several different sorting algorithms. It also contains commented VisualBasic code. |
| name_backups.py | 2006-07-02 10:32:06 | Creates a bunch of files with the same names and file extensions in a new folder. |
| password.py | 2006-07-02 08:56:34 | Another script from the video tutorial. |
| first.py | 2006-07-02 08:55:33 | A script from this video tutorial. |
| picture_magic.py | 2006-07-02 08:34:05 | This was a script to create test 'pictures' for the Rename Files program. |
| pyw_to_py.py | 2006-06-29 20:03:44 | I wrote this to change my files from .pyw (which avoids opening the Windows command prompt) to .py. |
| time.py | 2006-06-29 08:40:53 | Simple class variables example. |
| fibonacci.py | 2006-06-28 20:52:40 | An example of a Fibonacci series using a dictionary. |
| mode.py | 2006-06-28 11:19:19 | Calculates the mode of a series of sorted elements. |
| classes.py | 2006-06-27 12:42:59 | An example of classes. |
| recursion.py | 2006-06-22 03:27:47 | Two examples of recusion: factorial and printList, the latter of which is interesting. |
| address_book.py | 2006-06-21 23:15:25 | Simple address book with a command line interface. A dictionary should have been used instead of all the elif's. |
| word_counting.py | 2006-06-21 22:42:43 | Counts the total number to words (which is anything separated by a space) in a file. |
| entryscrollbar.py scrollbar.py |
2006-06-23 03:23:38 2006-06-16 19:48:51 |
I was trying to figure out the problem I was having with the scroll bar scrolling. I don't think I ever did. |
| Lucas.py | 2006-06-15 18:02:33 | This is about the Lucas number series. |
| Rename_Files_S_timed_0_1.py Rename_Files_S_0_1.py Rename_Files_1_3.py Rename_Files_1_2.py Rename_Files_1_1.py Rename_Files.py |
2006-06-29 19:49:40 2006-06-29 17:46:28 2006-06-23 03:16:58 2006-06-19 16:24:07 2006-06-16 20:00:43 2006-06-15 15:38:36 |
These files are about using a Tkinter interface to rename a bunch of picture files to have names like 000.jpg, 001.jpg and so on. |
| for_loop.py | 2006-06-14 19:42:58 | Used to help me remember how to utilize for loops. |
| textfiles.py | 2006-05-15 18:21:15 | This script was to help remind me how to deal with textfiles. |
| PictureViewer.py list.py example.py hello1.py enter.py |
2006-05-14 10:49:52 2006-05-13 22:55:36 2006-05-13 22:47:01 2006-05-13 17:46:49 2006-05-13 09:43:15 |
These files all have to do with Tkinter. The months before this I had been programming with VisualBasic. When I watched this video tutorial, I became excited about programming in this language that had GUI programming and such easy-to-read code. |