How to create a background task.
Python 3.5 is a little bit old.
From Python 3.7 the background task is well documented but now for Python 3.5?
I need a websocket server running in the background.
With C++ on the TXT this was also very simpel and well documented.
background task in Python 3.5 (TXT4.0)
Forumsregeln
Bitte beachte die Forumsregeln!
Bitte beachte die Forumsregeln!
Re: background task in Python 3.5 (TXT4.0)
Problem has been resolved.
Re: background task in Python 3.5 (TXT4.0)
Hi,
I´m not interested in this topic but I assume others.
And due to the fact that a lot of things seems to be not well documented for the TXT 4.0 it would be a good idea to share your knowledge with others.
Wish you a happy new year and a lot of fun with ft.
Björn
I´m not interested in this topic but I assume others.
And due to the fact that a lot of things seems to be not well documented for the TXT 4.0 it would be a good idea to share your knowledge with others.
Wish you a happy new year and a lot of fun with ft.
Björn
https://gundermann-software.de/shop/
Der Shop für viele Community Projekte
Der Shop für viele Community Projekte
Re: background task in Python 3.5 (TXT4.0)
Searching and studying the old Python 3.5 documentation and examples.
Dreaming about the original RoboPro with C++
And also studying the TXT4.0 example code.
RoboPro Coding with Blockly is only a simple text generator for Python code.
A nice practice could be: create with Blocklies the Python code for the TXT actuators and sensors coding, switch to the Python mode and use Python code. I am using Visual Studio with Python to developing and testing the Python code snips and copy them into the RoboPro Coding pages.
Dreaming about the original RoboPro with C++
And also studying the TXT4.0 example code.
RoboPro Coding with Blockly is only a simple text generator for Python code.
A nice practice could be: create with Blocklies the Python code for the TXT actuators and sensors coding, switch to the Python mode and use Python code. I am using Visual Studio with Python to developing and testing the Python code snips and copy them into the RoboPro Coding pages.
- MasterOfGizmo
- Beiträge: 2720
- Registriert: 30 Nov 2014, 07:44
Re: background task in Python 3.5 (TXT4.0)
Blockly is nothing more than a graphical code editor. That's how it's advertised. It e.g. does not come with a runtime environment.
See
https://developers.google.com/blockly
See
https://developers.google.com/blockly
Arduino für fischertechnik: ftDuino http://ftduino.de, ftDuino32 http://ftduino.de/32
Re: background task in Python 3.5 (TXT4.0)
See my websocket experiment.
viewtopic.php?f=8&t=7195
viewtopic.php?f=8&t=7195