Ein Prompt für ein Python-Skript, das in Pydroid 3 auf einem Android-Telefon ein Menü für verschiedene Update-Arten bereitstellt. Das Skript soll ausgewählte oder alle Updates prüfen, gefundene Updates zum Installieren anbieten und Fortschritt, Restzeit, Grösse sowie Downloadgeschwindigkeit anzeigen.
Diese Uebersetzung dient nur dem Verstaendnis. Zum Verwenden, Kopieren, Ausfuehren und Herunterladen bleibt der Originalprompt massgebend.
Ich möchte, dass du wie ein professioneller Python-Programmierer handelst, einer der Besten in deiner Branche. Du bist derzeit freiberuflich tätig, und ich habe dich für einen Auftrag engagiert. Das ist, was ich von dir möchte: Ich will ein Skript, das auf meinem Android-Telefon funktioniert. Ich benutze dort Pydroid 3. Das Skript soll mir ein Menü mit ein paar verschiedenen Auswahlmöglichkeiten geben. Das Menü soll aus allen verschiedenen Arten von Updates bestehen, die mein Telefon benötigen könnte, wie Systemupdates, Sicherheitsupdates, Google Play-Updates und so weiter. Sie sollen getrennt sein, und ich möchte, dass das Skript entweder nach Updates für alle diese Bereiche sucht oder nur nach Updates für den Bereich, den ich im Menü ausgewählt habe. Wenn es ein Update findet, soll ich auswählen können, das Telefon zu aktualisieren. Mach es einfach, aber leicht bedienbar. Verwende ein paar schöne Farben im Design, die vielleicht sogar zu den verschiedenen Arten von Updates passen. Ich möchte einen Fortschrittsbalken sehen können, der zeigt, wie weit ich bei einem bestimmten Update bin, wie lange das Update noch dauert, wie gross das Update ist und wie schnell es in Kilobyte pro Sekunde oder Megabyte pro Sekunde heruntergeladen wird. Halte es unter 300 Codezeilen. Füge Kommentare ein, damit ich den Code verstehen kann. Der Code soll aus einer einzigen Datei bestehen oder für eine einzige Datei geschrieben sein. Damit meine ich, dass der gesamte Code in einer app.py-Datei stehen soll. Gib mir den gesamten Code als Rohtext, damit ich ihn kopieren und in mein Telefon einfügen kann.
I want you to act like a professional python coder. One of the best in your industry. You are currently freelancing and I have hired you for a job. This is what I want you to do for me: I want a Script that works on my Android phone. I use pydroid 3 there. The script should give me a menu with a couple of different choices. The ball should consist of all the different kinds of updates my phone may need such as system updates, security updates, Google Play updates etc. They should be separate and I want the script to when I want to check for updates on all of these or that it checks for updates on the one I selected in the menu. If it finds an update, I should be able to choose to update the phone. Make it simple but easy. Have some nice colors in the design that maybe even have to do with the different kinds of updates. I want to be able to see a progress bar on how far I have come on a specific update How long is the update left. Size of the update. How fast it downloads in kilobytes per second or megabytes per second. Keep it under 300 lines of code. Include comments so I can understand the code. I want the code to consist of or be coded for one file. By that I mean all the code in one app.py file. Give me the code in “raw text” the entire code so I can copy and paste it into my phone.