The Python Oracle

Python equivalent of Perl file test readable (-r), writeable (-w) and executable (-x) operators

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Cool Puzzler LoFi

--

Chapters
00:00 Question
01:17 Accepted answer (Score 10)
02:34 Answer 2 (Score 5)
03:18 Answer 3 (Score 1)
03:48 Answer 4 (Score 1)
04:12 Thank you

--

Full question
https://stackoverflow.com/questions/4480...

Question links:
[effective UID]: http://unixpapa.com/incnote/setuid.html
[this table]: http://blog.endpoint.com/2009/08/file-te...

Answer 1 links:
[os.access]: http://docs.python.org/3/library/os.html...

Answer 2 links:
[os.access]: http://docs.python.org/release/2.6.6/lib...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #perl #operators

#avk47