Skip to content

techtutorialsx

A site about programming, IoT and technology. Find tutorials for many different projects.

  • Home
  • About

Category: Python

Posted on February 4, 2018March 14, 2019

Python: Converting string to bytes object

In this post, we will check how to convert a Python string to a bytes object. Bytes objects are immutable sequences of single bytes in the range between o and 255 (inclusive).   Introduction In this post, we will check how to convert a Python string to a bytes object. Bytes objects are immutable sequences …

Continue reading "Python: Converting string to bytes object"

Posted on January 19, 2018March 14, 2019

Python: socket server

The objective of this post is to explain how to create a simple socket server using Python and reach it with a client. Introduction The objective of this post is to explain how to create a simple socket server using Python and reach it with a client. Python is a very easy to use language …

Continue reading "Python: socket server"

Posted on January 2, 2018January 25, 2025

Flask: Basic authentication

In this Flask tutorial, we will check how to get the username and the password from a HTTP request made to a Flask server with basic authentication.   Introduction In this Flask tutorial, we will check how to get the username and the password from a HTTP request made to a Flask server with basic …

Continue reading "Flask: Basic authentication"

Posted on May 6, 2017January 25, 2025

Python pyttsx: Changing speech rate and volume

The objective of this post is to explain how to change the speech rate and volume on the pyttsx module. Introduction The objective of this post is to explain how to change the speech rate and volume on the pyttsx module. If you need help installing the module, please check this previous "Hello World" tutorial. …

Continue reading "Python pyttsx: Changing speech rate and volume"

Posted on May 6, 2017March 14, 2019

Python: Speech Synthesis

The objective of this post is to explain how to synthesis a simple speech using Python and the pyttsx module. Installing the module We will use pip to install the pyttsx module. Nevertheless, as indicated here, we first need to install the the pywin32-extensions package. Although we can do it using an installer available here, the …

Continue reading "Python: Speech Synthesis"

Posted on May 2, 2017January 25, 2025

Python OpenCV: Face detection and counting

How to perform face detection and counting in images, using Python and OpenCV

Posted on April 30, 2017March 14, 2019

Python OpenCV: Reading and displaying an image

The objective of this post is to explain how to read and display an image with Python and OpenCV. Introduction The objective of this post is to explain how to read and display an image with Python and OpenCV. This will be a very simple introductory code. You can check here how to install OpenCV …

Continue reading "Python OpenCV: Reading and displaying an image"

Posted on April 23, 2017January 25, 2025

Python: Subscribing to MQTT topic

How to connect to a MQTT broker and subscribe to a topic, using Python

Posted on April 14, 2017January 25, 2025

Python: Publishing messages to MQTT topic

The objective of this post is to explain how to connect to a MQTT broker and post some messages to a topic, using Python. Introduction The objective of this post is to explain how to connect to a MQTT broker and post some messages to a topic, using Python. For this example, we will be …

Continue reading "Python: Publishing messages to MQTT topic"

Posted on January 7, 2017January 25, 2025

Flask: Parsing JSON data

How to parse JSON received by a Flask application.

Posts pagination

Previous page Page 1 … Page 5 Page 6 Page 7 Next page

Recent Posts

  • Python defaultdict: Handling Non-existing Keys with Default Values
  • Flask and Pydantic
  • Pydantic: Getting started
  • ESP32 WebSerial: Receiving Messages

Categories

  • C# (9)
  • Electronics (11)
  • ESP32 (373)
  • ESP8266 (102)
  • IoT (4)
  • Javascript (23)
  • LinkIt Smart (14)
  • Micro:bit (30)
  • Microcontrollers (13)
  • Misc (24)
  • OBLOQ (16)
  • Python (68)
  • Raspberry Pi (15)
  • Sipeed M1 (4)
  • SQL (5)
Follow techtutorialsx on WordPress.com

Enter your email address to follow this blog and receive notifications of new posts by email.

  • Subscribe Subscribed
    • techtutorialsx
    • Join 489 other subscribers
    • Already have a WordPress.com account? Log in now.
    • techtutorialsx
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...
 

    Privacy & Cookies
    This site uses cookies. By continuing to use this website, you agree to their use.
    To find out more, see here: Cookie Policy