About this site
What is Python?
Python is a general-purpose language built for code that's easy to read back later, even by someone who didn't write it. No separate compilation step: write a .py file and run it with Python. Python handles the work of preparing and executing your code for you.
It shows up everywhere — web backends, data analysis and machine learning, automating repetitive tasks, scientific computing, quick glue scripts. Several of these are covered on this site's Libraries pages.
The fundamentals every language shares — variables, conditionals, loops, functions, classes — read closer to plain English in Python, so you spend your effort learning to think like a programmer instead of fighting a stricter syntax. Once those fundamentals are solid, they carry over to whatever language you pick up next.
Python is often the fastest language to write correct code in, even though it's not the fastest to run, which is why it's such a common first choice for a new project.
Why I built this
My name's Luka, I'm a software engineer and Intro Python teacher.
Python Field Guide is a free, in-browser reference — most code blocks are editable and runnable directly on the page. It started as a few quick-reference explanations for students working on their first programs, and evolved into this site.
I couldn't find a site my students would consistently use that had:
- simple explanations for beginners without technical jargon
- no advanced topics that intimidate or overwhelm beginners
- quick-reference code samples, to browse what functions they could apply to solve their problem
- at-a-glance reminders for students who already knew a concept but needed a refresher on the specifics or syntax
- quick intuitive navigation
- clean, minimal UI
It's built for learners — self-taught, students in an intro course, or anyone who wants one combined reference to work through start to finish, instead of a scattered pile of search results.
I'm hoping this can be a helpful cheatsheet for others to quickly reference syntax and structures.
About me
I build software and spend a lot of time thinking about the small interaction details that decide whether something actually gets used or just abandoned — I've always liked designing and building things that solve a need.
More about me at lukasherman.com.
Other resources
This site isn't a comprehensive Python guide, so here's where to go for more.
For beginners:
- W3Schools Python Tutorial — syntax reference with a live editor for every example
- Real Python — longer tutorials and articles that go deeper on individual topics
- Python's own tutorial — official, terse, but authoritative
For more advanced Python:
- Effective Python — specific, itemized advice on writing idiomatic, well-structured Python
- PEP 8 — the official style guide
Helpful feedback
Spotted a mistake, or want to see something added? Let me know!
This isn't meant to be a comprehensive Python guide, it's just my self-published notes.
Please be nice, I'm just one human out here doing my best.