The Sciences


Cosmic VarianceBy Sean CarrollSep 8, 2011 12:31 PM


Sign up for our email newsletter for the latest science news

I've decided I need to become a programmer again. As an undergrad, and to a lesser extent as a grad student, I wrote code all the time. But since I started doing research, it's been pencil-and-paper almost all the way through, with occasional dips into Mathematica or plotting programs. That must end, so I've decided to learn Python. I just need something simple for number-crunching and graphics, and everyone in the know seems to have nice things to say about the language. (Secretly I would like to play around with genetic algorithms and cellular automata, but I'm not going to admit that.) I tried to get Fortran, my previous language of choice, up and running on my Mac ... it didn't go well. So... any tips? Pointers to well-written resources and tutorials (online or in print) would be especially helpful. Keep in mind that the target audience is an aging theoretical physicist who hasn't programmed in 20 years, and for that matter has been pretty much command-prompt free (working on my Mac) for the last five. The things I admit in public on this blog, sheesh.

1 free article left
Want More? Get unlimited access for as low as $1.99/month
Already a subscriber? Log In or Register
1 free articleSubscribe
Want unlimited access?

Subscribe today and save 70%


Already a subscriber? Log In or Register
More From Discover
Recommendations From Our Store
Shop Now
Stay Curious
Our List

Sign up for our weekly science updates.

To The Magazine

Save up to 70% off the cover price when you subscribe to Discover magazine.

Copyright © 2021 Kalmbach Media Co.