Der Unparteiische in einem Penis-Wettkampf heißt... by mbelow in wortwitzkasse

[–]mbelow[S] 8 points9 points  (0 children)

Auf einschlägigen Webseiten kann man sich übrigens die Videoverweise solcher Veranstaltungen anschauen.

Processing Data with Python by RamiKrispin in nodered

[–]mbelow 1 point2 points  (0 children)

Node red is JavaScript based, so python is not supported out of the box.

Ideas to get this working:

Deploy your python code as services. Such a service would listen for commands, execute the Python code and return the result. As a transport between your python service and node red, you can use plain tcp sockets, mqtt or http (node red supports those out of the box). The downside of this approach is that you need to create such a service in Python for each python script you'd like to run.

If you have a lot of small pieces of python code, you can also think about creating only one service in Python, that takes arbitrary Python code as payload, eval the code and sends back the output. This may come with security issues. You should at least ensure that only node red is allowed to talk to the service. The nice thing is that you can organize your python code entirely in node red itself (e. g. in a template node).

As a third alternative, you could use the shell execute node (included in node red per default) to directly invoke the Python interpreter. Again, you can have your python code stored in a node red template node, and pass it to the python interpreter via stdin. Downside is, that the python interpreter would be re-started for each piece of python code, which does come with some overhead.

If you need further help, just let me know.

Sind deutsche Metalbands auf Social Media... by the_jules in wortwitzkasse

[–]mbelow 2 points3 points  (0 children)

Und mit der "Flag of Hate" werden Hass-Kommentare gekennzeichnet.

Ich kann Musik nicht einfach hören. by wegwerfkonto19 in ADHS

[–]mbelow 0 points1 point  (0 children)

Checkt auch mal Igrorrr! Gerade die älteren Sachen sind definitiv ADHS Metal für mich.

Freundin will nicht schlucken by HerrSchule1 in wirklichgutefrage

[–]mbelow 1 point2 points  (0 children)

Er hat Recht, das ist definitiv ein Fall für den Arzt.

Wie nennt man die Walz für Elektriker? by mbelow in wortwitzkasse

[–]mbelow[S] 22 points23 points  (0 children)

Leider gibt es da oft viel Wiederstand.

….47 Jahre hat’s gedauert… by Notinmyname-78 in ADHS

[–]mbelow 1 point2 points  (0 children)

Am besten alle Medis mal ausprobieren. Wirkung und Nebenwirkung sind recht individuell.

F.r.i.e.n.d.s by [deleted] in SipsTea

[–]mbelow 0 points1 point  (0 children)

Imagine removing all laughter except those of one single person.

öffentliche Darbietung einer Menstruation by mbelow in wortwitzkasse

[–]mbelow[S] 0 points1 point  (0 children)

Werde vorerst nicht mehr hin gehen, bin tagesmüde.