🌐
Programiz
programiz.com › python-programming › examples
Python Examples | Programiz
This page contains examples of basic concepts of Python programming like loops, functions, native datatypes and so on.
🌐
GitHub
github.com › uber › Python-Sample-Application
GitHub - uber/Python-Sample-Application · GitHub
This is a simple Python/Flask application intended to provide a working example of Uber's external API.
Starred by 389 users
Forked by 707 users
Languages   Python 88.5% | HTML 8.5% | Makefile 1.9% | JavaScript 1.1%
Discussions

What is the most practical application you have used Python for?
Webscrape multiple air company websites every day to: Make a database of the prices over time Notify me when there is a cheaper flight to somewhere I want to go to More on reddit.com
🌐 r/learnpython
428
462
May 6, 2024
I wrote my first Python code; example for newbie....
Why is your shirt color in a list? A single string is sufficient. Always use the proper data type for the task. Lists are generally when you want to have more than one element. Also, this subreddit is not a blog. If you really want to learn Python, do the MOOC Python Programming 2024 - a free, textual, extremely practice oriented proper University course that will not only teach you the Python programming language, but also programming. More on reddit.com
🌐 r/learnprogramming
11
0
September 5, 2024
Example of a simple and well made Python project on Github

You should checkout the discord.py repository! It's well structured. https://github.com/Rapptz/discord.py

More on reddit.com
🌐 r/learnpython
52
326
December 20, 2020
What are some real world applications or things they ask you to do at a job with Python?
Read a data file, extract information, put it into a new format, write it to a new file or data store. Visualize monthly results - highlight trends. Compare to past results. Gather social media text about a company / product and assess the general attitude towards them - trends, concerns, positives. Read past data, predict a future value, compare the predicted value to forecast. Improve the predictions. More on reddit.com
🌐 r/learnpython
57
131
October 29, 2023
🌐
GitHub
github.com › stevemar › sample-python-app
GitHub - stevemar/sample-python-app: Sample containerized Python Flask application for demo purposes
# Check dependencies $ git --version git version 2.23.0 $ python --version Python 3.8.0 $ pip --version # pip comes as a part of python install pip 20.0.2 from /usr/local/lib/python3.8/site-packages/pip (python 3.8) # Clone the sourcecode $ git clone <repo url> $ cd <project dir> # Install project dependencies $ pip install -r requirements.txt # Run the application $ PORT=5001 python src/app.py # Check application $ curl http://localhost:5001/debug # (or) # In Browser visit -> http://localhost:5001/debug/ui
Starred by 15 users
Forked by 85 users
Languages   HTML 30.1% | Python 28.5% | CSS 26.2% | Dockerfile 9.1% | JavaScript 6.1% | HTML 30.1% | Python 28.5% | CSS 26.2% | Dockerfile 9.1% | JavaScript 6.1%
🌐
W3Schools
w3schools.com › python › python_examples.asp
Python Examples
Python Strings Slicing Strings Modify Strings Concatenate Strings Format Strings Escape Characters String Methods String Exercises Code Challenge Python Booleans
🌐
Netguru
netguru.com › home page › blog › 8 top python web app examples from top-notch companies
8 Top Python Web App Examples From Top-Notch Companies
July 25, 2025 - Instagram is one of the notable Python applications, showcasing Python's simple syntax and robust frameworks like Django. The hugely popular image and video-sharing platform has 1.28 billion users globally and was built using Django, a high-level Python web framework. Since then, Instagram developers have created static sort checkers using Python to investigate their servers. Instagram's server is dominated by Python code – several million lines – and the company uses type annotations to enforce a contract for their Python HTTP APIs.
🌐
GitHub
github.com › uber › Python-Sample-Application › blob › master › app.py
Python-Sample-Application/app.py at master · uber/Python-Sample-Application
"""Check the status of this application.""" return ';-)' · · @app.route('/', methods=['GET']) def signup(): """The first step in the three-legged OAuth handshake. · You should navigate here first. It will redirect to login.uber.com. """ params = { 'response_type': 'code', 'redirect_uri': get_redirect_uri(request), 'scopes': ','.join(config.get('scopes')), } url = generate_oauth_service().get_authorize_url(**params) return redirect(url) ·
Author   uber
🌐
DigitalOcean
docs.digitalocean.com › python sample app
Sample App for Python | DigitalOcean Documentation
We provide a sample app using Python that you can deploy on App Platform. These steps will get this sample application running for you using App Platform.
🌐
GeeksforGeeks
geeksforgeeks.org › python-programming-examples
Python Programs - Python Programming Example - GeeksforGeeks
December 27, 2024 - Examples: Input: 10Output: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Note: This code only works for even values of n.
Find elsewhere
🌐
Python GUIs
pythonguis.com › examples
Example applications — Experiment with working demo apps
December 13, 2025 - Multimedia playlist and player in Python, using PyQt · PyQt5 · PyQt5 Tutorial · Use signal redirection to add a multi-tab interface · PyQt5 Tutorial · The first steps building the browser with PyQt5 · PyQt5 Tutorial · Put some finishing touches to your application ·
🌐
GitHub
github.com › build-on-aws › sample-python-web-app
GitHub - build-on-aws/sample-python-web-app: Sample Python application that is used in tutorials as a container, and running with uWSGI / Nginx. · GitHub
Sample Python application that is used in tutorials as a container, and running with uWSGI / Nginx. - build-on-aws/sample-python-web-app
Starred by 4 users
Forked by 98 users
Languages   HTML 39.0% | Python 28.8% | Shell 16.7% | CSS 11.3% | Dockerfile 4.2%
🌐
GitHub
github.com › fasilofficial › 50-python-programs
GitHub - fasilofficial/50-python-programs: This repository contains 50 absolutely simple and beginner friendly python programs. This repository gives you an idea about the basics of python language and libraries like math, random, tkinter, etc.. · GitHub
from tkinter import * window = Tk() # add widgets here window.title('Hello Python') window.geometry("300x200+10+20") window.mainloop() ... from tkinter import * from tkinter import messagebox window = Tk() window.title("mrhuseyin.medium.com") ...
Starred by 21 users
Forked by 12 users
🌐
Dataquest
dataquest.io › blog › python-projects-for-beginners
Python Projects: 80+ Ideas for Beginners to Advanced (2026)
2 weeks ago - Write a sorting method. Given a list, can you write some code that sorts it alphabetically, or numerically? Yes, Python has this functionality built-in, but see if you can do it without using the sort() function! Build an interactive quiz application. Which Avenger are you?
🌐
Python
wiki.python.org › moin › SimplePrograms
SimplePrograms - Python Wiki
import itertools def iter_primes(): # an iterator of all numbers between 2 and +infinity numbers = itertools.count(2) # generate primes forever while True: # get the first number from the iterator (always a prime) prime = next(numbers) yield prime # this code iteratively builds up a chain of ...
🌐
Reddit
reddit.com › r/learnprogramming › i wrote my first python code; example for newbie....
r/learnprogramming on Reddit: I wrote my first Python code; example for newbie....
September 5, 2024 -

So taking up suggestions from my "gibberish" post yesterday (thanks to all who replied, not sure why mods removed it), I decided to continue my days-old project of learning Python by actually sitting down to write my first code. Why not? Let's give it a try.

After learning about the # symbol and how it provides "commentary" for the lines of code, I decided to write down my proposed code within the # lines. I asked myself, what do I want the result to be? Here, I decided a friend says either they like my red shirt or doesn't say anything about the shirt if it is a color other than red. And then I asked myself, what are the steps to get there? Here, I said there has to be an action for what the friend will say (the print command determined by a "red or else" function) and also a variable that is fill-in-the-blank for either red or not red (the variable).

This took me several tries and I did encounter a few errors. These were syntax errors relating to the correct variable and function terminology. But otherwise about 10 minutes from beginning to successful end. I'm pretty proud of this. Hopefully this post helps another Python newbie out there.

# This code will have a friend say either one of two things in response to seeing me, depending upon the color of my shirt.
# 
# If my shirt is red, my friend will say hello and say he likes my shirt.
# 
# But if my shirt is not red, my friend will just say hello.
# 
# My code needs these items: A fill-in-the-blank for the color of my shirt, red or otherwise.

# My code also needs some kind of function which determines what my friend will say depending upon the color of my shirt.

my_shirt_color_today = ["red"]

if my_shirt_color_today == ["red"]:
    print("Hello friend, I like the color of your shirt! Red is my favorite")
else:
    print("Hello friend! Why didn't you wear your red shirt today?")
🌐
Udacity
udacity.com › blog › 2021 › 07 › how-to-write-your-first-python-application.html
How To Write Your First Python Application | Udacity
October 24, 2024 - In this article, we’ll create a simple Python program covering rudimentary Python syntax before connecting the program to a database. Let’s get started.
🌐
Skillcrush
skillcrush.com › home › blog › learn to code › coding languages and tools › python
25+ Examples of Real Python Programming Code - Skillcrush
December 18, 2023 - Python scripts like this greatest common divisor script are perfect examples of how — once you use Python to give machines a clear set of instructions — they’ll spit out the computational data you’re looking for till the end of time. If you’re looking for a particular file or type of file on a computer, the last thing you want to do is hunt and peck your way there. And that means — if you find yourself working on an application or software program that needs to be able to find files — you’ll need a way to automate the process.
🌐
GitHub
github.com › geekcomputers › python
GitHub - geekcomputers/Python: My Python Examples · GitHub
This repository contains a collection of Python scripts that are designed to reduce human workload and serve as educational examples for beginners to get started with Python. The code documentation is aligned correctly for viewing in Notepad++ 🗒️
Starred by 34.9K users
Forked by 12.9K users
Languages   Python 93.9% | Jupyter Notebook 4.6% | Cuda 0.6% | PowerShell 0.4% | Tcl 0.2% | HTML 0.2%
🌐
Reddit
reddit.com › r/learnpython › example of a simple and well made python project on github
r/learnpython on Reddit: Example of a simple and well made Python project on Github
December 20, 2020 -

Hi, I'm wanting to have a look at some examples of really well made but extremely simple python projects in an attempt to better understand basic structure and design. People suggest to me things like Requests or Flask... they may be beautiful but they are way too complex for what I'm after.

Any suggestions that come to mind?

🌐
JetBrains
jetbrains.com › help › pycharm › creating-and-running-your-first-python-project.html
Create and run your first project | PyCharm Documentation
August 12, 2025 - Let's start editing the Python file you've just created. Start with declaring a class. Immediately as you start typing, PyCharm suggests how to complete your line: Choose the keyword class and type the class name, Car. PyCharm informs you that there are errors in your file: Note that PyCharm analyzes your code on-the-fly, the results are immediately shown in the inspection indicator in the upper-right corner of the editor.