I didn't have the time to think through all the ways the API interactions could fail and update the script to be as robust as it could be, so instead I cheated a bit, by using launchd to poke the Python script periodically.
Ik had geen tijd om alle manieren te bedenken waarop API-interacties fout konden gaan en het script zo robuust te maken als maar mogelijk, dus daarom smokkelde ik een beetje, door launchd te gebruiken om het Pythonscript zo nu en dan wakker te schudden.
This includes the code for the client, tools and python scripts.
Dit omvat de code voor de klant, de gereedschappen en Python scripts.
The loom is controlled with a simple Python script.
Het weefgetouw wordt met een eenvoudig Pythonscript bestuurd.
Conținut posibil inadecvat
Exemplele au rolul de a te ajuta să traduci cuvinte sau expresii corect si adaptat la context. Nu sunt selectate sau validate manual, așadar pot conține termeni inadecvați. Te rugăm să raportezi exemplele pe care le consideri inadecvate. Traducerile vulgare sau colocviale sunt în general marcate cu roșu sau cu portocaliu.
Înregistrează-te pentru a accesa mai multe exemple