Computer ScienceScience & MathematicsEconomics & FinanceBusiness & ManagementPolitics & GovernmentHistoryPhilosophy

A Practical Introduction to Python Programming

by Brian Heinold

A Practical Introduction to Python Programming

Subscribe to new books via dBooks.org telegram channel

Join
DescriptionTable of ContentsDetailsReport an issue

Book Description

This book started out as about 30 pages of notes for students in my introductory programming class at Mount St. Mary's University. Most of these students have no prior programming experience, and that has affected my approach. I leave out a lot of technical details and sometimes I oversimplify things. Some of these details are filled in later in the book, though other details are never filled in. But this book is not designed to cover everything, and I recommend reading other books and the Python documentation to fill in the gaps.

The style of programming in this book is geared towards the kinds of programming things I like to do - short programs, often of a mathematical nature, small utilities to make my life easier, and small computer games. In fact, the things I cover in the book are the things that I have found most useful or interesting in my programming experience, and this book serves partly to document those things for myself. This book is not designed as a thorough preparation for a career in software engineering. Interested readers should progress from this book to a book that has more on computer science and the design and organization of large programs.

This open book is licensed under a Creative Commons License (CC BY-NC-SA). You can download A Practical Introduction to Python Programming ebook for free in PDF format (2.1 MB).

Table of Contents

Part I
Basics
Chapter 1
Getting Started
Chapter 2
For loops
Chapter 3
Numbers
Chapter 4
If statements
Chapter 5
Miscellaneous Topics I
Chapter 6
Strings
Chapter 7
Lists
Chapter 8
More with Lists
Chapter 9
While loops
Chapter 10
Miscellaneous Topics II
Chapter 11
Dictionaries
Chapter 12
Text Files
Chapter 13
Functions
Chapter 14
Object-Oriented Programming
Part II
Graphics
Chapter 15
GUI Programming with Tkinter
Chapter 16
GUI Programming II
Chapter 17
GUI Programming III
Chapter 18
Further Graphical Programming
Part III
Intermediate Topics
Chapter 19
Miscellaneous topics III
Chapter 20
Useful modules
Chapter 21
Regular expressions
Chapter 22
Math
Chapter 23
Working with functions
Chapter 24
The itertools and collections modules
Chapter 25
Exceptions

Book Details

Title
A Practical Introduction to Python Programming
Subject
Computer Science
Publisher
Mount St. Mary's University
Published
2012
Pages
263
Edition
1
Language
English
PDF Size
2.1 MB
License
CC BY-NC-SA

Related Books

Introduction to Python for Computational Science and Engineering
This book summarises a number of core ideas relevant to Computational Engineering and Scientific Computing using Python. The emphasis is on introducing some basic Python (programming) concepts that are relevant for numerical algorithms. The later chapters touch upon numerical libraries such as numpy and scipy each of which deserves much more space ...
Building Modern Web Applications With Spring Boot and Vaadin
This guide is a practical introduction to web application development with Spring Boot and Vaadin. It covers the entire development process, from setup to deployment, following a step-by-step approach. You can replicate each section at your own pace as you follow along. The content is suitable for anyone familiar with Java who wants to build ...
Introduction to Scientific Programming with Python
This open book offers an initial introduction to programming for scientific and computational applications using the Python programming language. The presentation style is compact and example-based, making it suitable for students and researchers with little or no prior experience in programming. The book uses relevant examples from mathematics a...
An Introduction to C & GUI Programming
Even if you are an absolute beginner, this book will teach you all you need to know to write simple programs in C and start creating GUIs. The first half of the book is an introduction to C, and covers the basics of writing simple command-line programs. The second half shows how to use the GTK user interface toolkit with C to create feature-rich...
Introduction to Financial Accounting
Introduction to Financial Accounting is intended for a first course in introductory financial accounting. It has been extensively edited by Athabasca University and reflects current International Financial Reporting Standards (IFRS). A corporate approach is utilized versus beginning with a sole proprietorship emphasis and then converting to a corpo...
Introduction to Financial Accounting: U.S. GAAP Adaptation
Introduction to Financial Accounting: U.S. GAAP, was intended for a first course in introductory financial accounting. It focuses on core introductory financial accounting topics that match pre-requisite requirements for students advancing to intermediate financial accounting. A corporate approach is utilized versus beginning with a sole proprietor...