Python on Android, from a first script to a job that still runs next week

Updated September 2026 · all seven apps now carry their own dated figures, five from Play and two from F-Droid, in one table with a verdict under it

Our answer
  • Termux is our pick for a script that has to keep running because its Play listing, read 5 September 2026, is free with no in-app purchases and no Contains ads label at 4.5 stars from 169,828 reviews, and cron, termux-job-scheduler and the Termux:Boot add-on all attach to it.
  • Pydroid 3 is our pick for writing and running a script on the phone itself because its listing, read 5 September 2026, describes an offline interpreter with pip at 4.4 stars from 88,163 reviews, with the Contains ads label and in-app purchases of $0.99 to $29.99 per item.
  • Automate is our pick if the job is a switch rather than a script because it is the best rated of the three no-code apps here at 4.6 stars from 31,894 reviews, read 5 September 2026, free to install with one in-app purchase of $4.99 per item and no Contains ads label.
Data checked: 5 September 2026. Checked 5 September 2026 against each app's own listing, named in its section · full breakdown below.
How we verify. Two catalogues, and every figure names its source. Pydroid 3, Termux, Tasker, MacroDroid and Automate are checked against their own Google Play listings: rating and review count, the install band, the price and in-app purchase range, the Contains ads label, the data safety card and the store update date, and every claim this page attributes to a listing is read again in that listing's own description. Termux:API and Termux:Boot are checked against their F-Droid pages: name, summary, licence, current version and the date it was added, and any Anti-Feature flags. F-Droid publishes no rating, no review or install count, no price and no Contains ads label, so this page prints none of them. What the Termux project says about its Play build is quoted from its README. Nothing here rests on our own use of the apps. Last full pass: 5 September 2026, repeated quarterly.

Nine hundred screenshots sit in one folder, each named by timestamp, and you want them filed by month. Settings has no switch for that. It is the shape of job a small Python script on a phone is good at: files, text, a web request, a notification at a fixed hour. The first one takes ten minutes. Having it still run next week is harder, and most of this page.

Two runtimes, and they solve different problems

Pydroid 3 by Lider Soft KZ is the one you tap: Contains ads and In-app purchases in its header row, the purchases sold at $0.99 to $29.99 per item, 4.4 stars from 88,163 reviews, listing updated 31 August 2026, read 5 September 2026. Its listing describes an offline Python 3 interpreter, pip with a repository of prebuilt scientific wheels, and a terminal emulator. It says nothing about running a script on a schedule or after a reboot.

Termux by Fredrik Fornwall is a different kind of thing: 4.5 stars from 169,828 reviews, no ads or purchase label in its header row, updated 21 June 2026, read 5 September 2026. It describes terminal emulation with a Linux package collection and a base system that unpacks on first start, after which packages install with apt. Python is one of thousands, and the schedulers arrive with the environment.

So Pydroid 3 is for writing and running, Termux for leaving something running. To compare editors instead, the code editor roundup covers twelve.

Pydroid 3 · the interpreter you tap, and the one that sells upgrades

Writing and running a script on the phone itself

4.4 stars from 88,163 reviews · 10,000,000+ installs · free to install · in-app purchases $0.99 to $29.99 per item · listing updated 31 August 2026 · by Lider Soft KZ · Contains ads: Yes · checked 5 September 2026

Google Play listing · 4.4 (88,163) · read 5 September 2026

The runtime for writing and running, not for leaving something running. Its listing, read 5 September 2026, carries the Contains ads label and sells in-app purchases of $0.99 to $29.99 per item, and its own description marks code prediction, OpenCV and TensorFlow as Premium only. It describes an offline Python 3 interpreter, pip with a custom repository of prebuilt wheels for scientific libraries, and a terminal emulator, and says nothing about running a script on a schedule. Its data safety card says data may be shared with third parties and cannot be deleted.

  • Good: An offline Python 3 interpreter with pip and prebuilt scientific wheels, in the words of its own listing
  • Good: Free to install, and updated on the store 31 August 2026
  • Good: 4.4 stars from 88,163 reviews on 10,000,000+ installs
  • Con: Its listing carries the Contains ads label and sells in-app purchases of $0.99 to $29.99 per item
  • Con: Its data safety card says data may be shared with third parties and cannot be deleted
  • Con: Nothing in the listing describes running a script on a schedule or after a reboot

Back to the table

Termux · the environment a scheduled job lives in

Leaving a script running, with the schedulers installed beside it

4.5 stars from 169,828 reviews · 10,000,000+ installs · free · no in-app purchases · listing updated 21 June 2026 · requires Android 11 or newer on Play · by Fredrik Fornwall · Contains ads: No · checked 5 September 2026

Google Play listing · 4.5 (169,828) · read 5 September 2026

The most reviewed app on this page at 4.5 stars from 169,828 reviews, free with no in-app purchases and no Contains ads label, on a data safety card that says no data shared with third parties and no data collected, read 5 September 2026. The catch is where you get it: the Play build is the project's experimental branch for Android 11 and newer, and the project itself points most users to F-Droid or GitHub, so these figures describe the branch the project does not recommend. Its listing says a small base system installs at first start and packages then install with apt.

  • Good: 4.5 stars from 169,828 reviews, the largest review count on this page
  • Good: Free with no in-app purchases and no Contains ads label, and its data safety card declares no data collected
  • Good: Python, cronie and termux-services all install with apt once the base system unpacks
  • Con: The Play listing is the experimental branch, which the project's README describes as having missing functionality and bugs against the stable F-Droid build
  • Con: Requires Android 11 or newer on Play
  • Con: Nothing it schedules survives a manufacturer battery manager that kills the process

Back to the table

Where you install Termux from changes what you get

The current position is not the one most guides describe. The project's README on GitHub heads a section Google Play Store, experimental branch: that build is for Android 11 and newer, adjusted extensively to pass policy requirements, under development, with missing functionality and bugs compared with the stable F-Droid build, and most users who can should still take F-Droid or GitHub.

The dates cut against the usual advice. F-Droid's newest Termux build, 0.119.0-beta.3, was added on 29 May 2025, while the Play listing says updated 21 June 2026. Follow the recommendation anyway, but not for the usual reason: a newer date on an experimental branch is not the same thing as a stable release.

Do not mix sources. The README says Termux and every plugin share one user id and must carry the same signature, so an F-Droid Termux with a GitHub plugin refuses to install. The app store roundup covers F-Droid and Obtainium, and the 2026 sideloading changes explain the verification check now landing on installs from outside Play.

Termux:API is the part that reaches the phone

Termux does not read the battery, post a notification or touch the clipboard. Termux:API does. Its F-Droid page describes exposing basic Android functionality, such as sending SMS or accessing GPS data, to the main Termux app, and lists text to speech, vibration, the clipboard and contacts too. It is two installs, not one: a package also goes inside Termux, with apt install termux-api.

The commands live in the project's termux-api-package repository, whose scripts folder holds roughly sixty, among them termux-battery-status, termux-notification and termux-job-scheduler.

It is a separate app for permissions too: F-Droid's list for it includes background location, body sensors, camera and placing calls, none of which comes with Termux. Grant only what a script needs; how to check what an app can access on Android shows where those grants are listed once an app is installed. Neither plugin is on Google Play.

Termux:API · the add-on that reaches the phone, F-Droid only

Battery, clipboard, notifications and GPS from a script

Not on Google Play · version 0.53.0, added to F-Droid on 5 September 2025 · licence GPL-3.0-only · no rating, no review count, no install count, no price and no Contains ads label are published, and there is no Data Safety section · by the Termux project · F-Droid page, read 5 September 2026

F-Droid page · read 5 September 2026

The plugin, not the terminal, is what touches the phone: its F-Droid summary reads Access Android functions from Termux. It is not on Google Play, and F-Droid publishes no rating, no review count, no install count, no price and no Contains ads label for any app, so this page prints none. Its one advertising signal is the Ads Anti-Feature flag, and the record read 5 September 2026 lists none, which is the absence of a flag rather than a statement about the app. The version on F-Droid, 0.53.0, was added on 5 September 2025, a year before this check.

  • Good: Adds the battery, clipboard, notification, SMS and GPS commands that plain Termux does not have
  • Good: Source code published under GPL-3.0-only, with an issue tracker on GitHub
  • Good: The record read 5 September 2026 lists no Anti-Features
  • Con: Not on Google Play, so it must come from the same source and carry the same signature as Termux itself
  • Con: Two installs, not one: the app, plus the termux-api package inside Termux
  • Con: Its newest F-Droid build, 0.53.0, was added on 5 September 2025, so the package is a year old

Back to the table

Storage, and the fact that a script runs as you

A fresh Termux cannot see your Downloads folder. One command changes that: termux-setup-storage, whose usage text says to run it without arguments to ensure the storage permission is granted and that symlinks to storage appear in your home directory.

Then the warning worth reading twice. A script runs with your access, not less. It reaches everything you have granted, and pip pulls packages written by strangers onto the device holding your photos and messages. Android's app sandbox still applies, so a script cannot read another app's private data, but it can do anything Termux has been granted, which after the setup command is all of your shared storage.

Check results against the filesystem rather than the log, because a decent file manager makes four hundred files in the wrong folder obvious. If the job is a real backup rather than a tidy up, start from the backup guide: a second copy on the same phone is not one.

Scheduling is where this usually falls over

Running a script once is easy. Running it at seven every morning is the work, and there are three routes.

  • Cron. Termux packages cronie, described in the packaging tree as a daemon that runs specified programs at scheduled times, alongside termux-services. Familiar from a desktop and the most fragile here: a daemon fires only while it is alive.
  • Termux:Boot. A plugin whose F-Droid page, newest build June 2024, gives the whole recipe: open it once from its launcher icon, which is what allows it to run at boot, then put scripts in a boot directory under the Termux home, where several run in sorted order. It advises running termux-wake-lock first, to stop the device sleeping.
  • termux-job-scheduler. The one to reach for, because it hands timing to Android rather than fighting it. Its help text says a job runs approximately every period you set, and that since Android N the minimum is 900,000 milliseconds. It also takes conditions the system understands: charging, network type, battery not low.

That is the ceiling for the whole idea: approximately, and no oftener than once a quarter of an hour. A daily digest or an hourly check fits. Anything that must fire at seven exactly does not.

Termux:Boot · runs scripts at boot, and has had no new build since 2024

Starting a job again after a reboot

Not on Google Play · version 0.8.1, added to F-Droid on 26 June 2024 · licence GPL-3.0-only · no rating, no review count, no install count, no price and no Contains ads label are published, and there is no Data Safety section · by the Termux project · F-Droid page, read 5 September 2026

F-Droid page · read 5 September 2026

The plugin that starts scripts when the phone boots: its F-Droid summary reads Add-on for Termux allowing programs to be run at boot. It is not on Google Play, and F-Droid publishes no rating, no review count, no install count, no price and no Contains ads label for any app, so this page prints none. The record read 5 September 2026 lists no Ads Anti-Feature flag, which is the absence of a flag rather than a statement about the app. The blunt fact is the date: version 0.8.1 was added on 26 June 2024, more than two years before this check, and it is the newest build listed.

  • Good: The whole recipe is on its page: open it once from its icon, then put scripts in the boot directory under the Termux home
  • Good: Source code published under GPL-3.0-only, with an issue tracker on GitHub
  • Good: The record read 5 September 2026 lists no Anti-Features
  • Con: Its newest F-Droid build, 0.8.1, was added on 26 June 2024, more than two years ago
  • Con: Not on Google Play, and it must match the signature of the Termux build you installed
  • Con: It starts the script at boot and nothing more: keeping it alive is still the battery manager's decision

Back to the table

If you want the outcome and not the language

Plenty of people arrive at Python wanting a result, not a language. If the sentence in your head is turn the Wi-Fi off when I leave the house, three apps get there faster without a terminal.

Tasker by joaomgcd is the veteran, 4.0 stars from 56,040 reviews and $4.49 to buy on Play, read 5 September 2026; its listing offers a 7 day trial with a one time payment to unlock, from the developer's own site. Its listing claims more than 130 states and events as triggers, among them the app you are in, the time of day, location and your Wi-Fi network, against more than 350 actions.

MacroDroid by ArloSoft is friendlier and carries Contains ads and In-app purchases of $1.49 to $10.00 per item: 4.4 stars from 94,143 reviews, read 5 September 2026, more than 120 triggers, 200 actions and 80 constraints. Its stated limit is five macros free, then a one time payment for unlimited.

Automate by LlamaLab is the flowchart one, 4.6 stars from 31,894 reviews, read 5 September 2026, with a single in-app purchase of $4.99 per item and no ads label. You connect blocks, more than 410 by its own count, and its listing names starting tasks on a schedule, and lists executing shell commands as a last resort for apps with no plug-in, so a flowchart can trigger a script rather than replace it.

If the job is a switch, use a switch. Python earns its keep on files, text and logic.

Tasker · the veteran, paid up front

The widest trigger and action set, if you accept the learning curve

4.0 stars from 56,040 reviews · 1,000,000+ installs · $4.49 to buy · no in-app purchases · listing updated 24 February 2026 · by joaomgcd · Contains ads: No · checked 5 September 2026

Google Play listing · 4.0 (56,040) · read 5 September 2026

The veteran, and the only paid app on this page: $4.49 to buy on Play, no in-app purchases and no Contains ads label, read 5 September 2026, with the lowest rating here at 4.0 stars from 56,040 reviews. Its listing claims 130+ states and events as triggers and 350+ actions, offers a 7 day trial with a one time payment to unlock from the developer's own site, and its listing says in its own words that root is NOT (I repeat NOT) required for majority of the functions. Its data safety card says data may be shared with third parties.

  • Good: 130+ states and events as triggers and 350+ actions, by its listing's own count
  • Good: No in-app purchases and no Contains ads label, one payment of $4.49
  • Good: The listing states that root is not required for the majority of its functions
  • Con: 4.0 stars from 56,040 reviews, the lowest rating on this page
  • Con: Its data safety card says data may be shared with third parties
  • Con: Listing last updated 24 February 2026, the oldest store update among the five Play apps here

Back to the table

MacroDroid · the friendlier one, ad supported until you pay

Automation without code, with a five macro free limit

4.4 stars from 94,143 reviews · 10,000,000+ installs · free to install · in-app purchases $1.49 to $10.00 per item · listing updated 15 August 2026 · by ArloSoft · Contains ads: Yes · checked 5 September 2026

Google Play listing · 4.4 (94,143) · read 5 September 2026

Friendlier than Tasker and honest about the price of that: its listing, read 5 September 2026, carries the Contains ads label, sells in-app purchases of $1.49 to $10.00 per item, and says in its own words that the free version is ad-supported and lets you create up to 5 macros, with Pro a one-time payment. It sits at 4.4 stars from 94,143 reviews on 10,000,000+ installs and claims over 120 triggers, over 200 actions and over 80 constraints. Its data safety card says data may be shared with third parties.

  • Good: Over 120 triggers, over 200 actions and over 80 constraints, by its listing's own count
  • Good: 4.4 stars from 94,143 reviews on 10,000,000+ installs
  • Good: The free tier is real, five macros, with Pro sold as a one-time payment rather than a subscription
  • Con: Its listing carries the Contains ads label, and the ads stay until you buy Pro
  • Con: In-app purchases of $1.49 to $10.00 per item
  • Con: Its data safety card says data may be shared with third parties

Back to the table

Automate · flowcharts, and the best rating of the three

A flowchart that can start a script on a schedule

4.6 stars from 31,894 reviews · 5,000,000+ installs · free to install · in-app purchase $4.99 per item · listing updated 12 August 2026 · by LlamaLab · Contains ads: No · checked 5 September 2026

Google Play listing · 4.6 (31,894) · read 5 September 2026

The flowchart one, and the best rated of the three no-code apps at 4.6 stars from 31,894 reviews, read 5 September 2026. Free to install with a single in-app purchase of $4.99 per item and no Contains ads label. Its listing counts more than 410 building blocks, names starting tasks on a schedule, and lists executing shell commands as a last resort for apps with no plug-in, which is what lets a flowchart trigger a script rather than replace it. Its data safety card says data may be shared with third parties.

  • Good: 4.6 stars from 31,894 reviews, the best of the three no-code apps here
  • Good: No Contains ads label, and one in-app purchase of $4.99 per item rather than a subscription
  • Good: More than 410 building blocks by its own count, including shell commands and scheduled starts
  • Con: Its data safety card says data may be shared with third parties
  • Con: Its listing says some features use the Accessibility API and the Device Administrator permission
  • Con: Its listing calls shell commands a last resort, so a job with real logic still belongs in Python rather than in blocks

Back to the table

What still kills the job at three in the morning

Everything above is a request to the operating system, not a contract. Android's scheduler promises approximately, and a wake lock does nothing once the process is gone. Start with what you control: moving Termux to Unrestricted in Android's per app battery screen is the setting Android offers for something that has to keep running. The battery drain guide has the paths for Pixel and One UI, and the warning that goes with them.

The setting is not the end of it. DontKillMyApp exists because, in its own words, some Android manufacturers prefer battery life over proper functionality of your apps, and it scores them: Huawei, Xiaomi, OnePlus and Samsung worst, Oppo just behind, stock Android and Pixel at zero.

A scheduled script on a phone is something the operating system permits for now rather than something you own, and the manufacturer gets a vote you cannot appeal. Write jobs that lose nothing when a run is skipped, have each one record that it ran, and keep whatever must happen on time on a machine with a mains plug.

Keep reading

Questions, answered

Do you need to root your phone to run Python on Android?

No. Pydroid 3's Play listing describes an offline Python 3 interpreter with pip, and Termux's a Linux environment where packages install through apt. Neither names root, and Tasker's listing states that root is not required for the majority of its functions.

Is the Google Play version of Termux abandoned?

Not according to the Termux project. The Termux README on GitHub calls the Play build an experimental branch for Android 11 and newer, built from a separate repository, under development, with missing functionality and bugs compared with the stable F-Droid build. It points most users to F-Droid or GitHub.

Why does your scheduled Python script stop running overnight?

Almost always because Android stopped the process. Termux can ask to ignore battery optimisations and hold a wake lock, described by its own command as preventing the CPU from sleeping, but the manufacturer's battery manager decides. DontKillMyApp rates Huawei, Xiaomi, OnePlus and Samsung worst, and Pixel and stock Android at zero.

What does Termux:API add, and do you need it?

Termux:API is a separate add-on app for Termux, needed only when a script has to touch the phone. Its F-Droid page describes exposing basic Android functionality such as sending SMS or accessing GPS data to Termux, and lists text to speech, vibration, the clipboard and contacts too. It is not on Google Play.

How often can a Termux script run automatically?

No oftener than every fifteen minutes, scheduled the way Android prefers. The help text for termux-job-scheduler, which hands timing to the Android job scheduler, says a job runs approximately every period you set and that the minimum since Android N is 900,000 milliseconds. A cron daemon inside Termux can be finer, but fires only while that process is alive.

Which of these apps show ads or charge money?

On the listings read 5 September 2026: Pydroid 3 carries the Contains ads label and sells in-app purchases of $0.99 to $29.99 per item. MacroDroid carries the Contains ads label and sells in-app purchases of $1.49 to $10.00 per item, with its free tier limited to five macros by its own description. Tasker costs $4.49 to buy on Play, with no in-app purchases and no ads label. Automate is free to install with one in-app purchase of $4.99 per item and no ads label. Termux is free with no in-app purchases and no ads label. Termux:API and Termux:Boot are on F-Droid, which publishes no price and no ads label for any app.

Checked 5 September 2026: the page named seven apps and linked none, with no table, no verdict capsule and no dated line. Five listings were read on Google Play today and two F-Droid pages for the plugins that are not on Play, and each app now has its own card. Three figures were corrected by the listings: Pydroid 3 stands at 4.4 stars from 88,163 reviews with its listing updated 31 August 2026, so the lines about 87,900 ratings and updated 18 May 2026 are withdrawn; Termux stands at 4.5 stars from 169,828 reviews, replacing about 169,800 ratings. Tasker now carries its Play price of $4.49 and its review count, MacroDroid its in-app purchase band of $1.49 to $10.00 per item, and Automate its single purchase of $4.99 per item. Every claim this page attributes to a listing was read again in that listing's own description today: the trigger and action counts, the five macro limit, the 7 day trial and the root note all still stand. The F-Droid build line for Termux itself, 0.119.0-beta.3 added 29 May 2025, is carried from the read of that page on 16 August 2026 and was not re-read today. Three FAQ questions moved to the second person and one was added on ads and prices.

Automate Android With Python: Runtimes, Device Access, Timing