Python

Aus
Wechseln zu: Navigation, Suche

Python

JSON and APIs with Python
https://towardsdatascience.com/json-and-apis-with-python-fba329ef6ef0

POST JSON-Daten mit requests in Python
https://www.delftstack.com/de/howto/python/post-json-data-with-requests-python/

JSON von URL in Python abrufen
https://www.delftstack.com/de/howto/python/python-get-json-from-url/

Konvertieren von JSON in ein Dictionary in Python
https://www.delftstack.com/de/howto/python/convert-json-to-dictionary-in-python/

JSON in eine Datei schreiben in Python
https://www.delftstack.com/de/howto/python/write-json-to-file-in-python/

Durch Json-Objekt in Python iterieren
https://www.delftstack.com/de/howto/python/iterate-through-json-python/
https://hellocoding.de/blog/coding-language/python/json-verwenden#:~:text=Um%20in%20Python%20ein%20JSON,JSON%20String%20erstellt%20wird%2C%20zugreifen.&text=Sobald%20du%20nun%20den%20JSON,du%20auf%20alle%20Werte%20zugreifen.
https://hellocoding.de/blog/coding-language/buecher/kostenlose-it-buecher
JSON Lesen Und Schreiben Mit Python
https://ingo-janssen.de/json-lesen-und-schreiben-mit-python/
Python read, validate and import CSV/JSON file to MySQL
https://softhints.com/python-read-validate-and-import-csv-json-file-to-mysql/#JSON


w3schools

https://www.w3schools.com/python/default.asp

Programmieren lernen mit Chris 🚀

https://www.youtube.com/@Programmieren/playlists

API

Python API Tutorial (Deutsch) | 🚀 Für Anfängerinnen und Anfänger | NASA-API

https://www.youtube.com/watch?v=fOPWZytYsFM

Was ist eine API?

https://www.youtube.com/watch?v=KLe2lCEy-Xw&t=1s

Was ist eine REST-API?

https://www.youtube.com/watch?v=lsMQRaeKNDk

Python Projekt - Wetter API abfragen

https://www.youtube.com/watch?v=X1Y3HQy5Xfo

Requests

Requests: HTTP for Humans
https://requests.readthedocs.io/en/latest/
Python’s Requests Library (Guide)
https://realpython.com/python-requests/
https://kurse.lerneprogrammieren.de/http-requests-in-python-anfaenger-tutorial/

JSON

W3Shools Python JSON

https://www.w3schools.com/python/python_json.asp

Python Tutorial #54 - Json

https://www.youtube.com/watch?v=drord9gbr3Y

Python Tutorial #55 - Json und Online APIs

https://www.youtube.com/watch?v=Fl6lBCZecdU

So kannst du mit Python einfach JSON lesen und schreiben

https://www.youtube.com/watch?v=sATGr9ffB28

MicroPython

MicroPython.org

http://www.micropython.org
http://www.micropython.org/download

MicroPython Doku

http://docs.micropython.org/en/latest/index.html

esptool

pip install esptool
https://github.com/espressif/esptool
esptool --help
python -m esptool --chip auto --port COM7 erase_flash
python -m esptool --chip auto --port COM7 write_flash -z 0x1000 esp8266-20191220-v1.12.bin
python -m esptool --port COM7 write_flash --flash_size=detect -fm dio 0 esp8266-20191220-v1.12.bin
python -m esptool --chip auto --port COM4 erase_flash
python -m esptool --chip auto --port COM4 write_flash -z 0x1000 esp32-idf3-20200127-v1.12-96-gc3095b37e.bin
python -m esptool --port COM4 write_flash --flash_size=detect -fm dio 0 esp32-idf3-20200127-v1.12-96-gc3095b37e.bin
import esp
esp.check_fw()

ampy

https://learn.adafruit.com/micropython-basics-load-files-and-run-code/install-ampy
pip install adafruit-ampy
python -m pip install adafruit-ampy --upgrade
ampy -p com7 -d 2 ls
ampy -p COM7 -d 2 get boot.py >> boot.py
ampy -p COM7 -d 2 put main.py
python -m ampy
ampy --help

rshell

pip install rshell
rshell --help

mpfshell

pip install mpfshell
mpfshell --help

upyCraft

https://github.com/DFRobot/uPyCraft
http://docs.dfrobot.com/upycraft/

ESP 8266

Pinbelegung

NodeMCU-pinbelegung.png

https://randomnerdtutorials.com/esp8266-pinout-reference-gpios/
http://stefanfrings.de/esp8266/

https://tttapa.github.io/ESP8266/Chap01%20-%20ESP8266.html
https://www.mikrocontroller-elektronik.de/nodemcu-esp8266-tutorial-wlan-board-arduino-ide/