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

Monthly Archives: November 2026

Dump Process Stack with profiling.sampling in Python 3.15

Dump Process Stack with profiling.sampling in Python 3.15

  • November 10, 2026
  • Python
  • 0 Comments
  • 17 Views
A process that stops producing output gives no sign of what it is doing. It may be waiting on a network call, blocked on a lock, or stuck in a...
Profile Process by PID with profiling.sampling in Python 3.15

Profile Process by PID with profiling.sampling in Python 3.15

  • November 9, 2026
  • Python
  • 0 Comments
  • 31 Views
Some programs cannot be restarted just to profile them. A worker that slows down after hours of work, or a server handling live traffic, has to be measured while it...
Profile Script with profiling.sampling in Python 3.15

Profile Script with profiling.sampling in Python 3.15

  • November 8, 2026
  • Python
  • 0 Comments
  • 45 Views
A slow script rarely shows what's causing the delay. Guessing by reading the code may work for small programs, but the problem often hides in a line that looks harmless...
Distinguish Missing and Empty URL Components in Python 3.15

Distinguish Missing and Empty URL Components in Python 3.15

  • November 7, 2026
  • Python
  • 0 Comments
  • 58 Views
A URL that ends with ? is not the same as a URL without a query string. The first one supplies an empty query, the second supplies none at all...
Get SQLite Keywords in Python 3.15

Get SQLite Keywords in Python 3.15

  • November 6, 2026
  • Python
  • 0 Comments
  • 56 Views
Column names do not always come from the code that builds the query. They can arrive from a CSV header, a JSON payload, or a form that lets users define...
Set Permissions of Parent Directories with pathlib Module in Python 3.15

Set Permissions of Parent Directories with pathlib Module in Python 3.15

  • November 5, 2026
  • Python
  • 0 Comments
  • 96 Views
The Path.mkdir method creates a directory, and with parents=True it also creates any missing directories above it. The mode argument sets the permissions of the new directory, but not of...
Enable or Disable Color for http.server Logging in Python 3.15

Enable or Disable Color for http.server Logging in Python 3.15

  • November 4, 2026
  • Python
  • 0 Comments
  • 85 Views
The http.server module writes a line to the terminal for every request it handles, including the client address, timestamp, request line, and response status code. Before Python 3.15, these lines...
Set Default Content Type in http.server in Python 3.15

Set Default Content Type in http.server in Python 3.15

  • November 3, 2026
  • Python
  • 0 Comments
  • 119 Views
The http.server module decides the Content-Type header of a response from the file extension, using the mimetypes database. When the extension is not recognized, it falls back to application/octet-stream, which...
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
  • 148 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
  • 192 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...
Buy Me a Coffee

Recent Posts

  • Dump Process Stack with profiling.sampling in Python 3.15
  • Profile Process by PID with profiling.sampling in Python 3.15
  • Profile Script with profiling.sampling in Python 3.15
  • Distinguish Missing and Empty URL Components in Python 3.15
  • Get SQLite Keywords in Python 3.15

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