Main Menu

Python 3 demopack

Started by JeGX, January 10, 2019, 10:53:41 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

JeGX

I uploaded a new demopack, this time focused on Python 3.

This first version contains two demos:
- a system info demo
- a basic 3D template

More demos will be added in the next days...


These demos requires GeeXLab 0.27.2+.

- Demopack Download



system info demo - general/01-system-info/

- Article: https://www.geeks3d.com/hacklab/20190110/python-3-reading-system-information-date-sys-platform-os/

GeeXLab - Python 3 demopack



3D template - general/02-3d-template/

GeeXLab - Python 3 demopack


JeGX

A new Python 3 demo has been added to the demopack. This demo shows how to use the socket module to send simple HTTP requests.

The demos require GeeXLab 0.27.2+.

- Python 3 Demopack Download

The demo is available in the socket/01-socket-http-request/ folder.

Article:
- https://www.geeks3d.com/hacklab/20190110/python-3-simple-http-request-with-the-socket-module/


Python 3 socket demo with GeeXLab

JeGX

A new Python 3 demo has been added to the demopack.

This demo shows how to code a simple TCP server (as well as a TCP client). The server is stoppable.

The demos require GeeXLab 0.27.2+.

- Python 3 Demopack Download

The demo is available in the socket/02-socket-tcp-server/ folder.

Article:
- https://www.geeks3d.com/hacklab/20190114/python-3-stoppable-tcp-server-and-tcp-client-with-geexlab/


Python 3 socket module - TCP server with GeeXLab

JeGX

Here are two new Python 3 demos. Both demos cover the same topic: how to read a RSS feed. The first demo uses feedparser while the second one uses Atoma.

The demos require GeeXLab 0.27.2+.

- Python 3 Demopack Download

Demos are available in the rss-reader/01-rss-reader-feedparser/ and rss-reader/02-rss-reader-atoma/ folders.

Article:
- https://www.geeks3d.com/hacklab/20190118/how-to-use-feedparser-and-atoma-to-read-rss-feeds-in-python-3/


Python 3 RSS reader with GeeXLab, feedparser and Atoma

JeGX

#4
I updated the HTTP request sample of the Python 3 demopack to make it compliant with latest GeeXLab. I also added a secondary field for the script (/index.php for example):

- Python 3 Demopack Download

The demo is available in the socket/01-socket-http-request/ folder.

GeeXLab - Python 3 - HTTP request