PyBox / Blog / Learning

Learn Python on your phone: a 30-day plan

Thirty minutes a day is enough. This plan uses short sessions, runnable projects and one small build each week.

Learn Python on your phone: a 30-day plan: the PyBox screen this guide uses
PyBox is the Python IDE I build. Everything below works with it, and the steps are the same ideas you would use anywhere. Get it on Google Play.

Before you start

Install an IDE that runs Python on the device. Pick one with starter projects so every session begins with something that runs. In PyBox, the New Project screen lists 100+ templates by category.

Week 1: the basics

  • Day 1: open Python Basics Tour. Run it, then change one value at a time.
  • Days 2 to 3: variables, strings, numbers. Rewrite the tour from memory.
  • Days 4 to 5: Number Guessing Game. Learn if, loops and input.
  • Days 6 to 7: lists and dictionaries. Build a small to-do list in a file.

Week 2: functions and files

  • Write three functions you actually use, such as a tip calculator.
  • Read and write a text file. Count words in a note.
  • Open Hangman or Quiz Master and read the code line by line.
  • Learn to read an error message from the bottom up.

Week 3: build something visible

  • Run Tkinter Calculator and change its colors.
  • Draw with Turtle. The Turtle Spirograph template is a fun read.
  • Make a tiny Tkinter app of your own, such as a counter.

Week 4: data and tools

  • Open a lab notebook, such as NumPy Essentials or Pandas Examples, and run each cell.
  • Plot a CSV with Matplotlib.
  • Put your project in Git and push it to GitHub from the app.

Habits that work on a phone

  • Short, daily, runnable. Do not read for an hour without running code.
  • Type code rather than pasting it.
  • Keep one project open for the month and grow it.
  • Use a hardware keyboard on weekends.

The learning page lists the starter projects by name.

Questions

Can I learn Python only on a phone?

Yes. With an IDE that runs Python offline and starter projects, a phone covers the basics through to small apps. A keyboard helps for longer sessions.

How long does it take to learn Python?

Thirty days of steady practice gets you through the basics and a few small programs. Fluency takes longer and comes from building things.

Anshuman MishraBuilds PyBox at Vytros, a Python IDE for Android. About the developer.

Code Python on your phone.