Tag: python
-
@dicewarebot, the solution I needed that no one asked for
A number of years ago I was trying to learn python. Random numbers have always amused me (as I was recently reminded by a twitter nod to the weird usage of spreadsheets). A user named @context_ing tweeted: “I love finding the ways in which people use spreadsheets. Personally, I use them for mostly budgeting, workout…
-
hello!!! … World?
This is the original playscript I wrote for The Art of Python that took place at PyCon U.S. in 2019. I additionally performed the piece at PyCon with the directorial help of Sumana Harihareswara and the stage management work and acting performance as the Figure by Mel Chua. There were some changes to this script…
-
One True Thing
TL;DR I’m asking you to submit a single sentence that tells your own One True Thing about working in tech for a unique performance at this year’s PyCon conference. Please click here to submit (takes less than a minute!). Or, if you’re up for something more involved, to submit a longer proposal for the larger…
-
Rolling Dice in Python
The below rolls dice in python. I’ve long loved python for dice-rolling―having created a now defunct twitterbot and a mastodon bot―it was nice to write this up briefly as I’m working on re-re-re-learning python. #!/usr/bin/python3 from random import randint total_dice = int(input(‘How many dice? ‘)) dice_val = int(input(“How many sides? “)) rolls = [] high_roll…