Skip to content

Geekole

A simple code reference

  • Golang
  • Python
  • Java

Python

Python

These examples were tested with Python version 3.

Basic Python Examples

  • Create a Web Server with Python
  • FTP client in Python
  • Create Text Files in Python
  • Read Text Files in Python
  • Create an XML file in Python
  • Get information from a file in Python
  • Read XML file in Python
  • Create a PDF with ReportLab in Python
  • Create an Excel file in Python
  • Read an Excel file in Python
  • Connect to MariaDB database in Python
  • Extract files from a ZIP in Python
  • Create ZIP files in Python
  • Copy files in Python
  • Check if folders and files exist in Python
  • Create directories or folders in Python
  • Rename a file in Python
  • Delete a file in Python
  • Create a Window or GUI in Python
  • Create an interface with PySimpleGUI
  • Regular expressions in Python
  • Face detection with OpenCV in Python
  • Face Mapping with Dlib and Python

Basic concepts

More Python examples, basic concepts.

  • Create a virtual environment in Python
  • Install Python on Windows, Ubuntu and MacOs
  • The IF statement in Python
  • The for loop and the range() function in Python
  • The while loop in Python
  • The Ternary Operator in Python
  • Errors and Exceptions in Python

Configuration

  • Create a virtual environments in Python

To download Python: https://www.python.org/

© 2023 Geekole • Built with GeneratePress