Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
python [12/03/2024 - 09:35] – admin | python [15/04/2025 - 09:27] (aktuell) – thommie_netzwissen.de | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
====== Python ====== | ====== Python ====== | ||
+ | |||
+ | ===== Basics ===== | ||
+ | |||
+ | https:// | ||
[[https:// | [[https:// | ||
+ | |||
+ | ===== Installation ===== | ||
PIPX Install and Run Python Applications in Isolated Environments | PIPX Install and Run Python Applications in Isolated Environments | ||
Zeile 9: | Zeile 15: | ||
Tumbleweed: systemweite Installation über zypper install python-xyz. z.B. python311-rsa | Tumbleweed: systemweite Installation über zypper install python-xyz. z.B. python311-rsa | ||
- | venv anlegen: | + | **venv anlegen** |
+ | |||
+ | [[https:// | ||
+ | |||
+ | < | ||
+ | python3 -m venv / | ||
+ | </ | ||
+ | |||
+ | **venv beenden** | ||
+ | |||
+ | < | ||
+ | (ampki) thommie@odysseus4: | ||
+ | bash: activate: Datei oder Verzeichnis nicht gefunden | ||
+ | (ampki) thommie@odysseus4: | ||
+ | (ampki) thommie@odysseus4: | ||
+ | thommie@odysseus4: | ||
+ | </ | ||
+ | |||
+ | **venv reaktivieren** | ||
+ | |||
+ | < | ||
+ | source / | ||
+ | </ | ||
- | < | + | ===== Einfacher http Server ===== |
- | <notranslate> source | + | <code> |
+ | (ampki) thommie@odysseus4: | ||
+ | Serving HTTP on 0.0.0.0 port 8888 (http://0.0.0.0: | ||
+ | 127.0.0.1 - - [15/ | ||
+ | 127.0.0.1 - - [15/ | ||
+ | 127.0.0.1 - - [15/ | ||
+ | </code> | ||
- | https://wiki.ubuntuusers.de/ | + | {{:screenshot_20250415_112517.png?400|}} |