Durchsuchen nach
Schlagwort: Python

Python 3.13 read information in photos

Python 3.13 read information in photos

In photos there information saved, that it is called exif. Of course you can click on every photo and read this information. A little bit easier it would be with a script in Python. You have to install the module: pillow. pip3 install pillow or to check it whether you already installed it pip3 list | grep pillow Here is the script: The output looks like this: ResolutionUnit:2ExifOffset:214Make:AppleModel:iPhone XRSoftware:15.5Orientation:1DateTime:2022:06:30 06:59:46YCbCrPositioning:1XResolution:72.0YResolution:72.0HostComputer:iPhone XR

Python-Script für Linux Benutzer, um ein Tar-Archiv anzulegen und Dateien darin anzuzeigen

Python-Script für Linux Benutzer, um ein Tar-Archiv anzulegen und Dateien darin anzuzeigen

Hier ein Python-Script, welches sich aus drei einzelnen Scripts zusammen setzt. Einmal um eine Tar-Datei zu erzeugen (sind in Linux ganz gebräuchlich), dann den Inhalt der Tar-Datei anzuzeigen und halt das Menü selber. Es wird ein Menü in der Bash gezeigt – also kein grafisches Menü.

error: Content is protected !!