Search the web
Sign In
New User? Sign Up
perl-python
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 98 - 127 of 127   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
98
20050830 Here is a example of how to decompress a gzip file using Python. # -*- coding: utf-8 -*- # Python import gzip inF =...
xah lee
p0lyglut
Online Now Send Email
Sep 2, 2005
6:25 am
99
... You could shorten the Perl unix calls by using the backtick operator: `gzip x.txt` `gzip -d x.txt.gz` And for the same behaviour as the Python module,...
danny staple
orionrobots@...
Send Email
Sep 2, 2005
3:55 pm
100
Python Doc Problem Example: os.system Xah Lee, 2005-09 today i'm trying to use Python to call shell commands. e.g. in Perl something like output=qx(ls) in...
xah lee
p0lyglut
Online Now Send Email
Sep 5, 2005
12:15 am
101
Here's a example script that performs a simple task. The task is: suppose you a bunch of files named access_log.1.gz access_log.2.gz access_log.3.gz these are...
xah lee
p0lyglut
Online Now Send Email
Sep 7, 2005
10:27 am
102
200509: Making System Calls (with unix and Python 2.4) To make a system call, use: subprocess.Popen([r"gzip","-d", "x.txt.gz"]).wait() The subprocess module is...
xah lee
p0lyglut
Online Now Send Email
Sep 8, 2005
9:58 pm
103
Hi there, You could save recompressing an intermediate file on a unix system by changing your input to the gzip commnad to include the -c option This will then...
danny staple
orionrobots@...
Send Email
Sep 9, 2005
10:56 pm
104
The official documentation for Python is http://docs.python.org/ The doc is downloadable. However, this official documentation is very lousy. A excellent quick...
xah lee
p0lyglut
Online Now Send Email
Sep 10, 2005
11:32 am
105
Python Doc Problem Example: os.path.split() Xah Lee, 20050918 Quote from: http://www.python.org/doc/2.4.1/lib/module-os.path.html split(path) Split the...
xah lee
p0lyglut
Online Now Send Email
Sep 18, 2005
11:44 am
106
... Umm nearly - but the exceptions should be as follows: * If the last slash is repeated, and it is not the first set of slashes, it treated as single slash. ...
danny staple
orionrobots@...
Send Email
Sep 19, 2005
8:06 am
107
Addendum to the Python doc problem at http://www.python.org/doc/2.4.1/lib/module-os.path.html I was working on a program where i needed to split a path into...
xah lee
p0lyglut
Online Now Send Email
Sep 20, 2005
5:41 pm
108
Perl and Python Documentations Xah Lee, 20050921 Perl's documentation has come of age: http://perldoc.perl.org/ Python people really need to learn: • ample...
xah lee
p0lyglut
Online Now Send Email
Sep 21, 2005
12:42 pm
109
Lambda in Python 3000 Xah Lee, 200509 On Guido van Rossum's website: http://www.artima.com/weblogs/viewpost.jsp?thread=98196 dated 20050826, he muses with the...
xah lee
p0lyglut
Online Now Send Email
Sep 29, 2005
3:11 pm
110
http://xahlee.org/perl-python/python_3000.html addendum, 20051001 here i will try to illuminate some miscellaneous things regarding the lambda in Python issue....
xah lee
p0lyglut
Online Now Send Email
Oct 2, 2005
12:08 am
111
The following script takes a directory and print all the sizes of html files, counting the sizes of inline images. This script is useful in making sure that...
xah lee
p0lyglut
Online Now Send Email
Oct 7, 2005
12:13 pm
112
Perl-Python-a-Day: Sort a List Sort a List Xah Lee, 200510 In this page, we show how to sort a list in Python & Perl and also discuss some math of sort. To...
xah lee
p0lyglut
Online Now Send Email
Oct 10, 2005
9:54 am
113
New material has been added to the Python's documentation problem example on sort(). The following post is archived at: ...
xah lee
p0lyglut
Online Now Send Email
Oct 11, 2005
11:09 pm
114
continued from sorting in Python at http://xahlee.org/perl-python/sort_list.html ... Sorting in Perl In Perl, to sort a list, do like this: @li=(1,9,2,3); @li2...
xah lee
p0lyglut
Online Now Send Email
Oct 13, 2005
3:26 am
115
Addendum: Since Python 2.4 (released 2005-03), there's also a sorted() function, which returns the result instead of modifing the list in-place. ☄...
xah lee
p0lyglut
Online Now Send Email
Oct 13, 2005
7:11 am
116
Split File Fullpath Into Parts Xah Lee, 20051016 Often, we are given a file fullpath and we need to split it into the directory name and file name. The file...
xah lee
p0lyglut
Online Now Send Email
Oct 17, 2005
12:44 am
117
One-Liner Loop in Functional Style Xah Lee, 200510 Today we show a example of a loop done as a one-liner of Functional Programing style. Suppose you have a...
xah lee
p0lyglut
Online Now Send Email
Oct 20, 2005
11:11 am
118
Examples of Quality Documentation Xah Lee, 200512 I had the pleasure to read the PHP's manual today. http://www.php.net/manual/en/ Although Pretty Home Page is...
xahlee
p0lyglut
Online Now Send Email
Dec 6, 2005
5:00 pm
119
The Concepts and Confusions of Pre-fix, In-fix, Post-fix and Fully Functional Notations Xah Lee, 2006-03-15 Let me summarize: The LISP notation, is a...
xahlee
p0lyglut
Online Now Send Email
Mar 16, 2006
3:50 pm
120
The Concepts and Confusions of Pre-fix, In-fix, Post-fix and Fully Functional Notations http://xahlee.org/UnixResource_dir/writ/notations.html A side note: the...
xahlee
p0lyglut
Online Now Send Email
Mar 18, 2006
2:34 pm
121
What is Expressiveness in a Computer Language Xah Lee, 200502. In languages human or computer, there's a notion of expressiveness. English for example, is very...
xahlee
p0lyglut
Online Now Send Email
Mar 22, 2006
9:12 pm
122
I have a website of photo gallery. It consists of many HTML pages with inline images. There are about 400 of photos and images. However, the site lacks a...
xahlee
p0lyglut
Online Now Send Email
Apr 19, 2006
11:27 pm
123
Python, Lambda, and Guido van Rossum Xah Lee, 2006-05-05 In this post, i'd like to deconstruct one of Guido's recent blog about lambda in Python. In Guido's...
xahlee
p0lyglut
Online Now Send Email
May 6, 2006
12:37 am
124
Tabs versus Spaces in Source Code Xah Lee, 2006-05-13 In coding a computer program, there’s often the choices of tabs or spaces for code indentation. There...
xahlee
p0lyglut
Online Now Send Email
May 14, 2006
2:30 am
125
The Condition of Industrial Programers Xah Lee, 2006-05 Before i stepped into the computing industry, my first industrial programing experience is at Wolfram...
xahlee
p0lyglut
Online Now Send Email
May 19, 2006
10:31 pm
126
Addendum to the tutorial on Sorting in Perl and Python at: http://xahlee.org/perl-python/sort_list.html Language and Sort Optimization:...
xah lee
p0lyglut
Online Now Send Email
Aug 30, 2006
12:32 am
127
my perl and python tutorial http://xahlee.org/perl-python/index.html is now available for download for offline reading. Download link at the bottom. Xah ∑...
xah lee
p0lyglut
Online Now Send Email
Jun 30, 2008
4:39 pm
Messages 98 - 127 of 127   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help