The Python Oracle

How do you do a simple "chmod +x" from within python?

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: Thinking It Over

--

Chapters
00:00 Question
00:42 Accepted answer (Score 262)
01:03 Answer 2 (Score 32)
01:43 Answer 3 (Score 25)
02:05 Answer 4 (Score 18)
02:38 Thank you

--

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

Answer 2 links:
[pathlib]: https://docs.python.org/3/library/pathli...
[Path]: https://docs.python.org/3/library/pathli...
[chmod]: https://docs.python.org/3/library/pathli...
[stat]: https://docs.python.org/3/library/pathli...

Answer 3 links:
[permissions examples]: http://permissions-calculator.org/exampl.../

--

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

--

Tags
#python #chmod

#avk47