Building better and more efficient Python scripts

Python Tricks

Article from Issue 81/2007
Author(s):

Save time and trouble with these expert techniques for building custom Python tools.

Linux users can automate almost any task, but whether the automation is worth your time depends on how much time you have to spend on it. The easier and more efficient the language, the greater the variety of tasks you can cost-effectively automate. Linux offers a dizzying array of scripting alternatives, but a favorite for many users is the powerful and practical Python. This month’s cover story examines Python in the Linux environment. Our cover story starts with a look at how to start creating your own practical Python scripts. In the lead article, “Hello, Python: Getting started with Python in Linux,” expert sys admin Æleen Frisch, author of the perennial O’Reilly bestseller Essential System Administration, explores the Python language through a series of well-annotated examples.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Optimizing Python

    The trick to optimization is to save time in the right places.

  • Scripting Secrets Intro

    Even the experts know there is always more to learn about scripting. In this month's cover story, we'll show you the Google Maps API, a networking framework for Python, and some other fine tools.

  • Workspace – Geofix

    Build a simple and handy solution for recording and tracking locations; in the process, learn how to automate Android and build a simple Python-based app.

  • Workspace: Python Scripting

    Do you want to teach your Android device some clever tricks without mastering the art of native app development? Install Python, and you can automate practically any task and write complete apps using this popular scripting language.

  • Web Tricks

    Busy web developers are always looking for an edge. This month we explore some tricks for faster and more effective websites.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News