Python Tuples are Immutable, Except When They're Mutable
Posted by Al Sweigart in misc
Before we can get a nuanced answer to "Are tuples mutable or immutable?", we need some background information.
Posted by Al Sweigart in misc
Before we can get a nuanced answer to "Are tuples mutable or immutable?", we need some background information.
Posted by Al Sweigart in misc
I often get emails say little more than "Why doesn't my program work?" Often I can't answer them; either I don't have enough information about your problem or you're asking me about something I don't know anything about.
Posted by Al Sweigart in misc
This post contains the lessons I've learned and my process for creating video tutorials, and I hope others who want to do the same find it useful. While this post is specific to Udemy and programming courses, the same lessons probably apply to all online courses.
Posted by Al Sweigart in misc
Django is a web app framework for Python (similar to Rails for Ruby). It implements common web app features so you don't have to write that code. Dreamhost is a web host that offers cheap but reliable web servers. Their shared hosting plan is $11 a month, and provides more than enough disk space and bandwidth for personal sites.
Posted by Al Sweigart in misc
For the last few months I've been putting together an online course that follows my latest (and free) book, "Automate the Boring Stuff with Python". It is now available.
Posted by Al Sweigart in misc
I've written an article for OpenSource.com called APIs, not apps: What the future will be like when everyone can code, where I write about a coming future where programming ability is in the hands of everyone.
Posted by Al Sweigart in misc
Posted by Al Sweigart in misc
The 3rd edition of "Invent Your Own Computer Games with Python" is now available.
Posted by Al Sweigart in misc
You've written a Python 3 program and want to make it available in other languages. You could duplicate the entire code-base, then go painstakingly through each .py file and replace any text strings you find. Fortunately, Python provides a solution with the gettext module.
Posted by Al Sweigart in misc
This tutorial teaches how to write a bot that can automatically play the Flash game Sushi Go Round. The concepts in this tutorial can be applied to make bots that play other games as well.