py3clean(1)

๐Ÿ’… py3clean(1) โ€” General Commands Manual

okay bestie, gather round, because we're talking about py3clean โ€” it lives in section 1 of your General Commands Manual and its whole entire job is deleting those crusty compiled Python leftovers. ๐Ÿ—‘๏ธโœจ


๐Ÿฆ‹ NAME

py3clean โ€” removes .pyc and .pyo files ๐Ÿ’€

like. that's it. that's the gig. it goes in and it sweeps out the bytecode crumbs.


๐ŸŒธ SYNOPSIS

py3clean [-V VERSION] [-p PACKAGE] [DIR_OR_FILE]

so iconic, so simple. you can pass it some flags, and optionally a DIR_OR_FILE to tell it where to do its little cleanup dance. ๐Ÿงน๐Ÿซถ


โœจ OPTIONS โœจ

  • --version โ€” prints the program's version number and then dips, no cap. ๐Ÿšช๐Ÿ’จ
  • -h, --help โ€” shows you this very help message and then leaves, king behavior. ๐Ÿ‘‘
  • -v, --verbose โ€” turns verbose mode on, so it actually tells you what's happening instead of being mysterious and silent. she's chatty now fr fr ๐Ÿ—ฃ๏ธ
  • -q, --quiet โ€” be quiet. shhh. ๐Ÿคซ no commentary, just vibes.
  • -p PACKAGE, --package=PACKAGE โ€” specify a Debian package name to clean. yes queen, narrow it down ๐Ÿ“ฆโœจ
  • -V VERSION โ€” specify which Python 3 version to clean. pick your fighter. ๐Ÿ3๏ธโƒฃ
lowkey important: -V and -p are literally capital-sensitive bestie, -v is verbose and -V is version, do not mix them up or it's giving chaos ๐Ÿ˜ญ

๐ŸŽ€ AUTHOR

Piotr Oลผarowski, 2012-2013 โ€” the original main character who wrote this. we love her. ๐Ÿ’œ


and that's the whole page, bestie!! ๐Ÿฆ‹โœจ this was py3clean(1) from the General Commands Manual โ€” 2012-2013 era energy, still slaying to this day. go forth and delete those .pyc and .pyo files, periodt ๐Ÿ’…๐ŸŽ€

๐Ÿ“ฆ where this page comes from