Comment Comment by impulsivepuppet this isn't uniquely pythonic and JS isn't a great counterexample.https://nodejs.org/api/esm.html#importmetamainnode also has __dirname and __filename from the good old days. parent impulsivepuppet 2 months ago
https://nodejs.org/api/esm.html#importmetamain
node also has __dirname and __filename from the good old days.