Differences between revisions 1 and 7 (spanning 6 versions)
Revision 1 as of 2005-02-05 15:52:24
Size: 152
Editor: h134-215-201-101
Comment:
Revision 7 as of 2005-09-07 15:33:21
Size: 1522
Editor: 206-13-102-131
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Powerful Python One-Liners = Powerful Python One-Liners =
Line 3: Line 3:
* Grab a document from the `net:
  * from urllib import urlopen;doc = urlopen("http://www.python.org").read();print doc
This is a page that is devoted to short programs that can perform powerful opperations. The ability to write short programs that are just as powerful as a program written in another lanuage designed to do the same thing. However, it is sometimes fun to try and write a program in Python that is only one line. In other lanugages this would be nearly ''impossible'', but in Python it is a lot easier to do. The trick is to think up something that will "do a lot with a little." I, personally, would love to see this page expanded to the point where it needs some sort of organization system.

Thanks for Your Code,
["JAM"]

== Contributed Code ==

 * ["JAM/Code/PlatformFinder"] - This program tells you what platform you are using.
 * ["JAM/Code/ComPYiler"] - This program compiles every .py file in the Python directory.


 == this is my text ==

[http://older-women.etowns.org/index.htm | mature]
[http://older-women.etowns.org/mature-women/ | mature women]
[http://older-women.etowns.org/older-women/ | older women]
[http://older-women.etowns.org/mature-galleries/ | mature galleries]
[http://older-women.etowns.org/mature-tgp/ | mature tgp]
[http://older-women.etowns.org/older-mature/ | older mature]
[http://older-women.etowns.org/mature-post/ | mature post]
[http://older-women.etowns.org/older-gals/ | older gals]
[http://older-women.etowns.org/older-women-gallery/ | older women gallery]
[http://older-women.etowns.org/mature-thumbs/ | mature thumbs]

Powerful Python One-Liners

This is a page that is devoted to short programs that can perform powerful opperations. The ability to write short programs that are just as powerful as a program written in another lanuage designed to do the same thing. However, it is sometimes fun to try and write a program in Python that is only one line. In other lanugages this would be nearly impossible, but in Python it is a lot easier to do. The trick is to think up something that will "do a lot with a little." I, personally, would love to see this page expanded to the point where it needs some sort of organization system.

Thanks for Your Code, ["JAM"]

Contributed Code

  • ["JAM/Code/PlatformFinder"] - This program tells you what platform you are using.
  • ["JAM/Code/ComPYiler"] - This program compiles every .py file in the Python directory. == this is my text ==

[http://older-women.etowns.org/index.htm | mature] [http://older-women.etowns.org/mature-women/ | mature women] [http://older-women.etowns.org/older-women/ | older women] [http://older-women.etowns.org/mature-galleries/ | mature galleries] [http://older-women.etowns.org/mature-tgp/ | mature tgp] [http://older-women.etowns.org/older-mature/ | older mature] [http://older-women.etowns.org/mature-post/ | mature post] [http://older-women.etowns.org/older-gals/ | older gals] [http://older-women.etowns.org/older-women-gallery/ | older women gallery] [http://older-women.etowns.org/mature-thumbs/ | mature thumbs]

Powerful Python One-Liners (last edited 2023-07-19 19:23:56 by HermannStammWilbrandt)

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