 |
| |
| by: auzzie - 2008-12-23 01:55:54 |
|
| | I was thinking of ways to create a random number generator, but to make it so the pattern would be hard to figure out. I tried it in various languages and here is my attempt in Python. |
|
| |
|  |
 |
| |
| by: ne0 - 2006-02-12 05:32:37 |
|
| | This article shows you how to make a simple IRC bot in python. |
|
| |
|  |
 |
| |
| by: xeno2 - 2005-05-16 08:59:28 |
|
| | Sometimes you need to write a sorted dictionary (i.e. to write a scorelist of your game...), but built-in type does not have a sort method... |
|
| |
|  |
 |
| |
| |
| Python Tutorial1
Python is an interpreted Object Oriented Programming Language. Created by Guido Van Rossum 1989, python was birthed from ABC(All Basic Code) and Modula-3.
The obvious question that follows is why name it "python". Well if you are the type of person inclined to burn one down you would know immediately, for those of you who prefer not or aren't catching on, python is named after the cult classic "Monty Python." Enough on history, your here for a reason and you want to sink your teeth into some Code. |
|
| |
|  |
 |
| |
| |
| Python Tutorial part 2
So far we have covered basic types, function, how to call functions and function syntax. I would like to take functions a step further with some simple and useless little programs. We will be importing some of the modules to help us with our program. So without further adieu... |
|
| |
|  |
 |
| |
| |
| | So lets look at the difference between a server and client. The Server's socket is called, then bind'ed to an address and port. Then it listens for a connection, once a connection is made, it the accepts the connection and returns a fd for the socket and information about the client that tried to connect. So lets do this for starts, keeping in mind its a Server. |
|
| |
|  |
 |
| |
| |
| | After getting ready to come out of Python newbieship for the first time, I decided to write a very short(well, kinda) descriptive, and easy tutorial for the ultimate beginner. There is no experience in any programming language required. A little math will go a long way though... |
|
| |
|  |
 |
| |
| |
| Earlier this month I found a comment at the top of a text file of various thoughts and compiler error output from mingw. I try to keep pasting like parts together but its not especially coherent.
(I keep PFE, a multifile text editor open at all times, I use an executable WSH javascript to open each file I'm currently interested in. I love scripting automation and +1200x resolution) |
|
| |
|  |
 |
| |
| |
| | 5 weeks ago python attached itself completely to every facet of programming for me. This is most probably a cult although it still appears to be the perfect blend of c power, java chaining of expressions with strong typing, loose declarations, and outstanding (compared to everything else) error checking and unit testing facilities. |
|
| |
|  |
 |
| |
| |
| | The Python/XML distribution contains the basic tools required for processing XML data using the Python programming language, assembled into one easy-to-install package. |
|
| |
|  |
 |