hugovk,
@hugovk@mastodon.social avatar

🎲 Do you like Python's little CLIs? For example:

$ python -m http.server
$ python -m webbrowser example_url
$ python -m uuid
$ python -m calendar

What about adding one to random?

$ python -m random curry "fish n chips" tacos
curry

$ python -m random 6
6

$ python -m random 2.5
1.6423361547011504

Give your feedback on my proposal at
https://discuss.python.org/t/command-line-interface-for-the-random-module/51304

If there's support we might be able to get it into 3.13 before May's beta cutoff! 🤞

  • All
  • Subscribed
  • Moderated
  • Favorites
  • python
  • rosin
  • ngwrru68w68
  • thenastyranch
  • magazineikmin
  • hgfsjryuu7
  • DreamBathrooms
  • Youngstown
  • slotface
  • vwfavf
  • PowerRangers
  • everett
  • kavyap
  • Durango
  • khanakhh
  • Leos
  • tacticalgear
  • InstantRegret
  • modclub
  • mdbf
  • ethstaker
  • osvaldo12
  • GTA5RPClips
  • cubers
  • tester
  • normalnudes
  • cisconetworking
  • anitta
  • provamag3
  • All magazines