Tux Machines

Programming Leftovers

Posted by Roy Schestowitz on Dec 31, 2023

today's leftovers
Security Leftovers

Perl / Raku

Perl ☛ 2023-12-28 [Older] Perl Weekly Challenge 249: Equal Pairs

↺ 2023-12-28 [Older] Perl Weekly Challenge 249: Equal Pairs

Perl ☛ 2023-12-23 [Older] Never matching: everybody is doing it wrong

↺ 2023-12-23 [Older] Never matching: everybody is doing it wrong

Python

Linux Hint ☛ How to Fix the “No Module Named Psycopg2” Error in Python

↺ How to Fix the “No Module Named Psycopg2” Error in Python
Practical guide on the step-by-step process to rectify the "No Module Named Psycopg2" error in Python and the common reasons for this error along with examples.

Linux Hint ☛ How to Convert Datetime to Epoch in Python

↺ How to Convert Datetime to Epoch in Python
Comprehensive tutorial on the different ways to convert the datetime value to epoch in Python using total_seconds, timestamp, strftime, and timegm functions.
gemini.tuxmachines.org