this post was submitted on 28 May 2025
732 points (96.3% liked)

Programmer Humor

24709 readers
384 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 

Also, do y'all call main() in the if block or do you just put the code you want to run in the if block?

(page 3) 50 comments
sorted by: hot top controversial new old
[–] joyjoy@lemm.ee 2 points 1 month ago

Its called runpy.run_script

[–] vga@sopuli.xyz 2 points 1 month ago (1 children)

Shouldn't the third panel just be empty?

load more comments (1 replies)
load more comments
view more: ‹ prev next ›