Saturday, October 04, 2025
Coding Education STEM

Running code from within another code (Python)

Most of us who have done any programming know that virtually all languages allow you to execute another program from within a program. For example, you start your program, which may start another process (via calling Execute or the like) that’s a self-contained program by itself, resulting in another process or spawn another thread as […]

Read More
Coding Education STEM

Let’s Roll! — 2 dice…and find the probability and chart it (Python)

What numbers will you get if you roll 2 dice? How about we find out by writing a program?  Can we then chart the results over as many rolls as we want? And then interactively play with the chart?  Asking a lot! But yes, I will do ALL of the above here. Better yet, why […]

Read More
Coding Education STEM

Draw A Beautiful Gradient Scatter Plot (Python)

In this demo, I’ll draw a beautiful, elegant, gradient-colored (themed) scatter plot using some data for x and y axis. The neat thing I want to demo here is not so much the data themselves, but how to apply a “colormap” to the graph using Python’s matplotlib library. Specifically, its pyplot module. What’s Desired: The […]

Read More
Coding Education STEM

“Rabid Racoon” tracking (Python, using our own class)- Part 1

Just like most high-level programming languages, Python also supports the idea of classes. Once the class(es) is/are created they can be inside the main python file or separated (in most usage scenarios), along with it methods. For Python-specific syntax, please refer to its documentation online or offline (python.org is a good start), but you should […]

Read More
Back To Top