[issue42367] Restore os.makedirs ability to apply mode to all directories created

2021-11-19 Thread Ad Timmering
Change by Ad Timmering : -- nosy: +awtimmering ___ Python tracker <https://bugs.python.org/issue42367> ___ ___ Python-bugs-list mailing list Unsubscribe:

Re: Code Review

2011-05-25 Thread ad
On May 25, 4:06 am, Ulrich Eckhardt ulrich.eckha...@dominolaser.com 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 found files

Code Review

2011-05-24 Thread ad
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

Re: IDLE: A cornicopia of mediocrity and obfuscation.

2011-02-01 Thread AD.
On Feb 2, 4:14 am, rantingrick rantingr...@gmail.com wrote: On Feb 1, 8:27 am, Jean-Michel Pichavant jeanmic...@sequans.com 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

Re: Python documentation too difficult for beginners

2010-11-02 Thread AD.
On Nov 3, 7:43 am, Tim Harig user...@ilthio.net wrote: On 2010-11-02, jk sanjo...@yahoo.com 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

Re: GUIs - A Modest Proposal

2010-06-14 Thread AD.
On Jun 14, 2:34 am, Stephen Hansen me+list/pyt...@ixokai.io 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

Re: GUIs - A Modest Proposal

2010-06-14 Thread AD.
On Jun 15, 11:59 am, Ed Keith e_...@yahoo.com 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

Re: GUIs - A Modest Proposal

2010-06-14 Thread AD.
On Jun 15, 12:06 pm, Stephen Hansen me+list/pyt...@ixokai.io 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

Re: GUIs - A Modest Proposal

2010-06-14 Thread AD.
On Jun 15, 1:03 pm, Ed Keith e_...@yahoo.com 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

Re: GUIs - A Modest Proposal

2010-06-14 Thread AD.
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 :)

Re: GUIs - A Modest Proposal

2010-06-14 Thread AD.
On Jun 15, 1:58 pm, Stephen Hansen me+list/pyt...@ixokai.io 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:

Re: GUIs - A Modest Proposal

2010-06-06 Thread AD.
On Jun 7, 10:55 am, ant shi...@uklinux.net 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

Re: Man Bites Python

2009-04-17 Thread AD.
On Apr 17, 11:11 pm, Aaron Brady castiro...@gmail.com 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

zipfile handling

2007-11-06 Thread ad-hoc
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