@gsuberland @foone graham no ;_;
Conversation
Notices
-
Luna 🐀 (luna@tech.lgbt)'s status on Wednesday, 12-Jul-2023 01:16:54 JST Luna 🐀 -
Luna 🇩🇰🦊 //nullptr::live (lunafoxgirlvt@vt.social)'s status on Wednesday, 12-Jul-2023 01:16:54 JST Luna 🇩🇰🦊 //nullptr::live @luna @gsuberland @foone graham yes!! 🦊
-
Graham Sutherland / Polynomial (gsuberland@chaos.social)'s status on Wednesday, 12-Jul-2023 01:16:55 JST Graham Sutherland / Polynomial @foone fun trick: change the working directory mid-walk and see what happens.
-
Foone🏳️⚧️ (foone@digipres.club)'s status on Wednesday, 12-Jul-2023 01:16:56 JST Foone🏳️⚧️ os.walk is one of my least favorite APIs in the python standard library
it's just such a pain to use. it's super flexible and powerful! at the expense of being overly so, requiring a bunch of boilerplate to just think about using it.
half the time I've needed it I've just gone FUCK IT and done subprocess.check_output('find -type f PATH') instead
-