The Most Powerful Piece of Code Ever Written

I’ve been programming for two years now. There’s still a lot for me to learn, but I’ve come a long way since deciding to learn how to code and since writing my first program.

I’d always been reluctant about programming. Everything about it felt so esoteric: arbitrary punctuation, use of characters I’d always considered decorative (like backticks, vertical bars, backslashes, angle brackets), words like “static”, “public”, “private”, “var”, whimsically strewn across oddly formatted  text. Yikes!

Programming looked scary, and it seemed like something only certain people could do. But even scarier was the feeling that I’d be left out and left behind.

I mustered up the courage to get started and asked my software developer (at the time) boyfriend to teach me how to program. “Okay”, he responded. “Write a program that prints “Hello, World!”. I assumed he meant print as we generally use it in the non techie sense, as in, send to printer. The thought of another definition never even occurred to me. And, foolishly, instead of asking him what he meant, I assumed he expected too much of me, or worse, that he simply didn’t want to help me.

It wasn’t until months later, when I tried a Codecademy Python tutorial, that I realized how easy this task was! Print, in this context, meant something entirely different from what I thought it meant. My boyfriend was actually trying to encourage me by recommending this meaningful little task as my first program. I should have asked for clarification, and I shouldn’t have given up so easily.

Today, I decided to slay this dragon, to complete this task that so perfectly represented my fear and my stubborn belief that becoming a programmer was out of my reach. I was going to write a program that prints “Hello, World!”, in the general non techie sense, and I was going to dedicate my whole morning to doing this!

It took less than 5 minutes.

import os
outfile = open("helloworld.txt", "w")
outfile.write("Hello, World!")
os.startfile("helloworld.txt", "print")

This script only works on Windows computers.

Mini-Hack: Customizing a Google Embeddable Calendar


When I wanted to showcase interesting tech events in a calendar that was easy to update, easy to share,  and that wouldn’t slow my site down, embedding a Google Calendar was clearly the way to go. Although this was the best option, it wasn’t perfect. The calendar worked exactly as I wanted it to, but it’s characteristic light blue background just didn’t fit with the white, black, and grey aesthetic of my website. Thanks to a great tutorial by Dan Rajan for Webdesigner Depot, it was easy to customize the standard calendar to match my site.

Here’s the gist of how to do it:

Since the calendar is hosted on, you can only customize it as much as Google allows you to through the Calendar Helper interface. You can get around this by hosting the calendar on your own domain then editing the files to reflect the new location and your preferred styles.

The tutorial recommends hosting the HTML file on your site, linking to Google’s original CSS and JavaScript files, and overriding Google’s style using a PHP script and a custom style sheet.

Happy customizing!