SitePoint
  • Blog
  • Forum
  • Library
  • Login
Join Premium
  1. Details
  2. Creator
  3. Content
  4. Reviews
  5. FAQ
book cover

Useful Python

Make your life easier with practical Python techniques

Created by

Stuart Langridge

Published by

SitePoint

Last Updated

20 June 2023

Details

Python is a versatile and powerful language that can be used for a wide variety of tasks. In this book, we'll look at how Python can be an amazing tool that will make your life easier.

Description

Python is a versatile and powerful language that can be used for a wide variety of tasks. In this book, we'll look at how Python can be used for various tasks that will make your life easier:

  • Python as a “glue” language: it helps us combine skills and programs we already know how to use by allowing us to easily convert data from one format to another. This means that we can take data in one format that we don’t have tools to manipulate and change it into data for tools that we’re comfortable with. Whether we need to process a CSV, web page, or JSON file, Python can help us get the data into a format we can use.
  • Python for stitching together other things. Sometimes we need to do more than process the data in an Excel file we’ve been sent. For example, we may want to fetch some pages from the Web, or work with an online API, or control our computer itself (such as renaming a batch of files, or changing how our operating system works). Python is great at these tasks.
  • Words and numbers. Python is a powerful tool that can be used to solve a wide variety of problems, both big and small. In this tutorial, we’ll explore how to use Python to answer questions, solve puzzles, and simulate various scenarios.
  • Running someone else’s Python code. Unlike many other languages, Python actually comes with modules for all sorts of useful functions. But for the times when we want to do things not covered by the standard library, we can use PyPI, a vast collection of open-source software libraries, frameworks and applications that can be easily installed and used in Python projects. We'll look at some examples.

We’re also going to assume a little knowledge of Python and programming already—such as what a variable is, what a dictionary is, and how to import a module. To start learning Python (or any other programming language) from scratch, check out SitePoint’s programming tutorials. The Python wiki also has a list of Python programming tutorials for programmers.

Creator

Stuart Langridge avatar

Stuart Langridge

Stuart is a consultant CTO, software architect, and developer to startups and small firms on strategy, custom development, and how to best work with the dev team. Code and writings are to be found at kryogenix.org and social networks; Stuart himself is mostly to be found playing D&D or looking for the best vodka Collins in town.
Stuart Langridge avatar

Content

1
Preview
2
3
4

Reviews

Log in to write a review!

Frequently Asked Questions

book cover

Useful Python

  • Unlimited access to this title and 600+ others in our library

  • New titles added frequently

  • Cancel anytime

Stuff we do

  • Premium
  • Newsletters
  • Forums

About

  • Our Story
  • Terms of use
  • Privacy Policy
  • Corporate Memberships

Contact

  • Contact us
  • FAQ
  • Publish your book with us
  • Write an article for us
  • Advertise

Connect

© 2000 – 2024 SitePoint Pty. Ltd.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.