Re: [Tutor] file permissions

2005-12-07 Thread Alan Gauld
> Looking for easiest way to get a files permissions in linux. > look at the os.stat function. I'm in the middle of documenting its use but you might like to peruse the later sections of the following draft topic http://www.freenetpages.co.uk/hp/alan.gauld/tutos.htm Alan G Author of the lear

Re: [Tutor] file permissions

2005-12-07 Thread Danny Yoo
> > I agree with Danny, the question lacks any evidence of prior > > investigation on the part of the poster, and that makes it a lousy > > candidate for the helpful guidance of the python tutor list. Hi Eric, It there's something I want to avoid, it's the impression that we're looking at each q

Re: [Tutor] file permissions

2005-12-07 Thread Gabriel Farrell
On Wed, Dec 07, 2005 at 02:51:55PM -0700, Eric Walker wrote: > After 4+ hours > of playing around with this I made the futile post. Don't let the post be futile! Post what you've tried so far and you'll get help. gsf ___ Tutor maillist - Tutor@p

Re: [Tutor] file permissions

2005-12-07 Thread Eric Walker
Sorry for the bad question. I did google and found the same pages that Danny mentioned. Just couldn't get the stuff to work, or understand what modules needed to be imported to get them to work. I typically use the tutor list as a last resort. After 4+ hours of playing around with this I made th

Re: [Tutor] file permissions

2005-12-07 Thread Gabriel Farrell
On Wed, Dec 07, 2005 at 11:52:20AM -0800, Danny Yoo wrote: > On Wed, 7 Dec 2005, Eric Walker wrote: > > > Looking for easiest way to get a files permissions in linux. > > Hi Eric, > > What have you looked at so far? I agree with Danny, the question lacks any evidence of prior investigation on t

Re: [Tutor] file permissions

2005-12-07 Thread Danny Yoo
On Wed, 7 Dec 2005, Eric Walker wrote: > Looking for easiest way to get a files permissions in linux. Hi Eric, What have you looked at so far? One of the first hits to the Google query "file permission python" comes up with some good information: http://www.faqts.com/knowledge_base/view

[Tutor] file permissions

2005-12-07 Thread Eric Walker
Looking for easiest way to get a files permissions in linux. Thanks ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor