- cross-posted to:
- programminghumor@lemmy.world
- cross-posted to:
- programminghumor@lemmy.world
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?
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?
If it’s a quick dirty script like doing a one time update to multiple records then I’ll just write it under the if name == main.