Python Programming By Example

Real Python teaches programming and web development through hands-on, interesting examples that are useful and fun! Join the thousands who have already benefited from these unique Python courses and download your copies today. Get three courses, with over 800 pages of content - packed with exercises, sample files, and videos for only $60!

Download Now » $60

Or: View the other Pricing Options

from flask import Flask
app = Flask(__name__)

@app.route('/')
def hello_world():
    return 'Hello World!'

if __name__ == '__main__':
    app.run()

Free Previews:

What you'll learn

PYTHON SYNTAX

The first part of the course starts with a quick but thorough overview of all the basics of the Python syntax (2.7x and 3.4x), while solving interesting, real-world problems. No prior programming experience is required.

WEB DEVELOPMENT

Part two details everything from SQL programming to the fundamentals of web development to utilizing advanced web frameworks, like Flask, web2py, and Django. It's the perfect compliment to the first part.

DJANGO 1.6

Part three is a practical, real-world guide to Django 1.6 that teaches you how to become a software craftsman and equip you with the techniques necessary to create innovative products that are elegant and easy to maintain.

TOOLS AND TOPICS

This course utilizes tools like Django, Flask, web2py, Bootstrap, Git, Heroku, Ember, and SQL in the context of web development, data viz, web scraping, RESTful web services, database programming, and much more!

Why this course?

There are tons of books, tutorials, and courses out there for learning Python and web development already. However, most of the resources out there generally have two main problems:

  1. They aren't practical.
  2. They aren't interesting.

Most books are so preoccupied with covering every last possible variation of every command that it's easy to get lost in the details. In the end, most of them end up looking more like the Python documentation pages. This is great as reference material, but it's a horrible way to learn a programming language. Not only do you spend most of your time learning things you'll never use, but it isn't any fun!


we you

This course is built on the 80/20 principle. We will cover the commands and techniques used in the vast majority of cases and focus on how to program real-world solutions to problems that ordinary people actually want to solve.

This way, we guarantee that you will:

  • Learn useful techniques much faster
  • Spend less time struggling with unimportant complications
  • Find more practical uses for Python in your own life
  • Have more fun in the process!

Get the courses now:




About the authors

Fletcher Heisler

Fletcher is the VP of Engineering at TrackMaven in Washington, DC. He started teaching himself Python in college, and now web development is his full-time job!

Michael Herman

Michael is a freelance developer. Although he uses a number of tools, Python is by far his favorite. Besides Real Python, he is an active blogger and Python mentor.

Jeremy Johnson

Jeremy has been running his own consulting business for the past 7 years, specializing in web development and software automation.