Chapter 7. Python Scripting Utilities

This chapter will take a look at how to use Python to accomplish different utility tasks with SL4A. On a typical PC, these would fall into the command-line utility class of programs.

Note

The version of SL4A used when writing this chapter was based on Python 2.6.2. All examples in this chapter were tested with Python 2.6.4 on a Windows 7 64-bit machine and on an Android 2.2–based emulator.

Time to dive in. Here's a list of what this chapter will examine:

  • Python libraries and how to use them

  • E-mail–based applications

  • Location-based applications

  • Web servers for transferring files

Python Libraries

There are an enormous number of libraries available for the Python language to accomplish everything from manipulating MP3 ...

Get Pro Android Python with SL4A now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.