Geeks3D Forums

GeeXLab => GeeXLab - english forum => Topic started by: JeGX on January 10, 2019, 10:53:41 AM

Title: Python 3 demopack
Post by: JeGX on January 10, 2019, 10:53:41 AM
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+ (https://www.geeks3d.com/forums/index.php/topic,5812.msg7853/topicseen.html#msg7853).

- Demopack Download (https://www.geeks3d.com/dl/show/50043)



system info demo - py3-01-system-info

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

(https://www.geeks3d.com/public/jegx/2019q1/geexlab-python3-reading-system-info-linux.png)



3D template - py3-01-system-info

(https://www.geeks3d.com/public/jegx/2019q1/geexlab-python3-3d-template.png)

Title: Python 3 demopack - simple HTTP Request with the Socket module
Post by: JeGX on January 10, 2019, 04:08:16 PM
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+ (https://www.geeks3d.com/forums/index.php/topic,5812.msg7853/topicseen.html#msg7853).

- Python 3 Demopack Download (https://www.geeks3d.com/dl/show/50043)

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

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


(https://www.geeks3d.com/public/jegx/2019q1/geexlab-python3-socket-simple-http-request-demo.png)
Title: Python 3 demopack - TCP server and TCP client (socket module)
Post by: JeGX on January 14, 2019, 06:42:01 PM
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+ (https://www.geeks3d.com/forums/index.php/topic,5812.msg7853/topicseen.html#msg7853).

- Python 3 Demopack Download (https://www.geeks3d.com/dl/show/50043)

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

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


(https://www.geeks3d.com/public/jegx/2019q1/geexlab-python3-socket-tcp-server.jpg)
Title: Python 3 demopack - RSS feed parser (feedparser + Atoma)
Post by: JeGX on January 18, 2019, 08:54:52 AM
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+ (https://www.geeks3d.com/forums/index.php/topic,5812.msg7853/topicseen.html#msg7853).

- Python 3 Demopack Download (https://www.geeks3d.com/dl/show/50043)

Demos are available in the py3-05-rss-reader-feedparser/ and py3-06-rss-reader-atoma/ folders.

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


(https://www.geeks3d.com/public/jegx/2019q1/geexlab-python3-rss-feed-reader.jpg)
Title: Python 3 demopack - HTTP request sample updated
Post by: JeGX on May 16, 2019, 01:18:14 PM
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 (https://www.geeks3d.com/dl/show/50043)

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

(https://www.geeks3d.com/public/jegx/2019q2/geexlab-python3-http-request-google-com.jpg)