Many people find it helpful to learn a scripting language these days. Python is one of the more mature ones out there, with a strong tradition, a helpful community, and a massive set of ready-to-use modules. Thus, increasing your knowledge about Python means getting a further reach in solving many everyday problems.
Programming, for all the uses we can put it to, has its own set of challenges and hard points. Python stands out among languages as unusually sane and beginner-friendly. Despite this, it can be used to solve a wide range of problems, everything from the mundane to the intricate. The course is filled with real-world examples which you can apply directly to your work.
No matter whether Python is your first programming language or you already have some other languages under your belt, this course is an accessible introduction to Python and solving problems with a scripting language.
(This course targets Python 3, but we can target Python 2 on demand.)
People who wish to learn the basics of Python.
Participants must have some previous experience with programming. The language or the type of programming matters less; a familiarity with the programming mindset is the important thing.
- The interactive prompt
- Starting to work with scripts
- Values and variables
- Basic data types
- Control flow: if, and while
- Lists and for loops
- Breaking out early from loops
- Sorting and searching
- Input and output
- File handling: reading and writing
- Using strings
- Making your own functions
- List comprehensions
- Classes and objects
- Regular expressions
- Database handling
- Modules and packages
- GUI development
Priority queues in Java and PythonRead more
How do you talk about a "priority queue", a queue data structure where elemens get to "cut in line" if they're important? In this article, we'll compare the (quite different) answers from Java and Python standard libraries.