Lindevs
Programming tutorials, blogs & resources
Menu
  • Home ×
  • Tutorials
    • Programming Language
      • Python
      • PHP
      • Java
      • C
      • C++
      • JavaScript
      • Go (Golang)
    • Machine Learning
      • TensorFlow 2
      • PyTorch
    • Computer Vision
      • OpenCV
    • Embedded System
      • Raspberry Pi
      • Arduino
      • ESP8266
      • XIAO SAMD21
    • Home Automation
      • Tasmota
    • Mobile App Development
      • Android
      • Flutter
    • Game Development
      • Unity
    • Framework
      • Laravel
      • Symfony
    • Operating System
      • Linux
        • Ubuntu
      • Windows
    • Database
      • MySQL
    • DevOps
      • Command Line
      • Web Server
      • Grafana
      • Networking
      • Security
      • Containerization
  • Code Snippets
  • Electronics
    • Circuits
  • Questions
    • PHP
  • Contact
    • Sign In

Python

Add Custom Response Headers in http.server in Python 3.15

Add Custom Response Headers in http.server in Python 3.15

  • November 2, 2026
  • Python
  • 0 Comments
  • 234 Views
The http.server module is a convenient way to serve a directory over HTTP during development. Its responses carry a fixed set of headers describing the server, the date and the...
Highlight Inline Code in argparse Help Text in Python 3.15

Highlight Inline Code in argparse Help Text in Python 3.15

  • November 1, 2026
  • Python
  • 0 Comments
  • 260 Views
Help text produced by argparse often contains code fragments, such as file names, command lines and accepted values. Written in a sentence they blend into the surrounding words, so it...
Unary Plus is Allowed in Match Patterns in Python 3.15

Unary Plus is Allowed in Match Patterns in Python 3.15

  • October 31, 2026
  • Python
  • 0 Comments
  • 193 Views
A match statement can compare a value against number literals, and negative numbers have always been accepted, so case -1: is valid. A leading plus sign was not. Writing case...
Store Half-Precision Floating-Point Values in Array in Python 3.15

Store Half-Precision Floating-Point Values in Array in Python 3.15

  • October 30, 2026
  • Python
  • 0 Comments
  • 180 Views
The array module stores numbers in a fixed C type rather than as individual Python objects. The type code chosen when the array is created determines how many bytes each...
Cancel Task Group in Python 3.15

Cancel Task Group in Python 3.15

  • October 29, 2026
  • Python
  • 0 Comments
  • 156 Views
A task group runs several coroutines together and waits for all of them to finish. Sometimes that is more work than necessary. When a group asks several sources for the...
Customize JSON Array Decoding with array_hook in Python 3.15

Customize JSON Array Decoding with array_hook in Python 3.15

  • October 28, 2026
  • Python
  • 2 Comments
  • 183 Views
Decoding JSON produces Python objects chosen by the json module, and every JSON array becomes a list. That is a reasonable default, but a list is mutable and therefore cannot...
Use Sentinel Values in Python 3.15

Use Sentinel Values in Python 3.15

  • October 27, 2026
  • Python
  • 0 Comments
  • 188 Views
Many functions take an optional argument and need to know whether the caller supplied it. The simplest way is to give the argument a default of None and check for...
CLI Typo Suggestions are Enabled by Default in Python 3.15

CLI Typo Suggestions are Enabled by Default in Python 3.15

  • October 26, 2026
  • Python
  • 0 Comments
  • 159 Views
A command-line tool built with argparse rejects invalid values and lists the accepted ones, leaving users to spot typos themselves. Python 3.14 introduced suggestions for likely intended values, but enabling...
Extract Bytes from bytearray with take_bytes in Python 3.15

Extract Bytes from bytearray with take_bytes in Python 3.15

  • October 25, 2026
  • Python
  • 0 Comments
  • 212 Views
A bytearray can be modified after it is created, so it is a convenient place to collect data piece by piece. When the data is complete, it usually has to...
AttributeError Now Includes More Suggestions in Python 3.15

AttributeError Now Includes More Suggestions in Python 3.15

  • October 24, 2026
  • Python
  • 0 Comments
  • 209 Views
When an attribute lookup fails, Python tries to help by naming a likely candidate. The suggestion appears at the end of the error message as a "Did you mean" clause...
  • «
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • …
  • 9
  • 10
  • »
Buy Me a Coffee

Recent Posts

  • Passing Object to http_build_query is Deprecated in PHP 8.6
  • Function spl_classes is Deprecated in PHP 8.6
  • Function spl_object_hash is Deprecated in PHP 8.6
  • Returning Value from Constructor and Destructor is Deprecated in PHP 8.6
  • Function metaphone is Deprecated in PHP 8.6

Archives

  • November 2026
  • October 2026
  • September 2026
  • August 2026
  • July 2026
  • June 2026
  • May 2026
  • April 2026
  • March 2026
  • February 2026
  • January 2026
  • December 2025
  • November 2025
  • October 2025
  • September 2025
  • August 2025
  • July 2025
  • June 2025
  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
Copyright © 2020 - 2026 · lindevs.com · All Rights Reserved