Hello all,
Please review the code pasted below. I am wondering what other ways
there are of performing the same tasks. This was typed using version
3.2. The script is designed to clean up a directory (FTP, Logs, etc.)
Basically you pass two arguments. The first argument is an number of
days old to
On May 25, 4:06 am, Ulrich Eckhardt
wrote:
> ad wrote:
> > Please review the code pasted below. I am wondering what other ways
> > there are of performing the same tasks.
>
> On a unix system, you would call "find" with according arguments and then
> handle the
On Apr 17, 11:11 pm, Aaron Brady wrote:
> Man bites python.
> Python bites dog.
> Dog bites man.
or just:
man,python bites python,man
No need for the temporary value in Python.
--
Cheers
Anton
--
http://mail.python.org/mailman/listinfo/python-list
On Feb 2, 4:14 am, rantingrick wrote:
> On Feb 1, 8:27 am, Jean-Michel Pichavant
> wrote:
>
> > In a more serious way, just count the people who second your
> > prosposition. It's around 0. It is usually a good sign that you're
> > wrong. This rule kinda applies to anyone, don't take it personnal
On Jun 7, 10:55 am, ant wrote:
> My concern is simple: I think that Python is doomed to remain a minor
> language unless we crack this problem.
I'm curious why you think fragmented GUI choices is a particular
problem for Python compared to other languages? Or why this is the
main issue holding Py
On Jun 14, 2:34 am, Stephen Hansen wrote:
> HTML+CSS have some very strong advantages. Simplicity is not one of
> them. Precision web design these days is a dark art. (Go center an image
> vertically and horizontally in an arbitrary sized field!)
I agree, and I know that's a rhetorical question,
On Jun 15, 11:59 am, Ed Keith wrote:
> But that is in a fixed size field,
That's why I used the same image definition in two different sized
divs to show that the images position wasn't determined by the divs
size.
> can you make the height change based on the height of the browser window, and
On Jun 15, 12:06 pm, Stephen Hansen wrote:
> "Arbitrarily sized" was the key point ;-) In that, you set the sizes of
> the div's explicitly.
As I said to Ed, I think you missed why I included the exact same
image in two divs of different sizes. That was to show it was still
centered no matter wha
On Jun 15, 1:03 pm, Ed Keith wrote:
> Nice! I've been looking for that trick for some time.
>
> Thank you,
A lot of people (including pro web designers even) aren't really aware
of what CSS can actually do. Part of the problem is that everyone only
learnt the semi working subset that wouldn't fal
On Jun 15, 1:21 pm, pyt...@bdurham.com wrote:
> Anton,
>
> Very nice.
>
> As an aside: I don't think you need to explicitly set your image size,
Yeah, I only did that because I was assuming the image path would
actually be broken (and it was for me too) - it was just to 'simulate'
a 100x100 image
On Jun 15, 1:58 pm, Stephen Hansen wrote:
> Very nice. And interesting. "position: absolute" there is a mystery to
> me and seems to be key, I'm not sure entirely what it is doing to the
> layout manager in that scenario, but it seems to do the trick.
The Cliff Notes:
position: absolute allows d
On Nov 3, 7:43 am, Tim Harig wrote:
> On 2010-11-02, jk wrote:
>
> > As for the 9 paragraphs statement, there's a usability book that
> > applies here - it's called "Don't make me think". I shouldn't have to
>
> Anything that promotes a lack of thinking sends up red flags in my head.
> We want to
is there a rename utility for zipfile that can rename a directory
inside a zipfile? also what's the best way to change the a file
content inside a zip?
So if i have the following file in the zip file:
A/a1.txt
A/a2.txt
B/b1.txt
I want to rename A to be A1, and B to be B1, as well as changing the
13 matches
Mail list logo