Author Topic: Python 3 demopack  (Read 3953 times)

0 Members and 1 Guest are viewing this topic.

JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2155
    • Geeks3D.com
Python 3 demopack
« 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+.

- Demopack Download



system info demo - py3-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 - py3-01-system-info

GeeXLab - Python 3 demopack



JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2155
    • Geeks3D.com
Python 3 demopack - simple HTTP Request with the Socket module
« Reply #1 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+.

- Python 3 Demopack Download

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/


Python 3 socket demo with GeeXLab

JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2155
    • Geeks3D.com
Python 3 demopack - TCP server and TCP client (socket module)
« Reply #2 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+.

- Python 3 Demopack Download

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/


Python 3 socket module - TCP server with GeeXLab

JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2155
    • Geeks3D.com
Python 3 demopack - RSS feed parser (feedparser + Atoma)
« Reply #3 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+.

- Python 3 Demopack Download

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/


Python 3 RSS reader with GeeXLab, feedparser and Atoma

JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2155
    • Geeks3D.com
Python 3 demopack - HTTP request sample updated
« Reply #4 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

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

GeeXLab - Python 3 - HTTP request