What does -i mean in Python? Can someone explain this command-line flag? Alternatively, for a more casual to

16 Replies, 1740 Views

Wait, so what does -i mean in Python? Like, is it JUST for keeping the interpreter open?

Turns out, yeah, mostly. But it’s low-key clutch for testing. Run your code, then check vars or call functions interactively.

Kinda like a cheat code for devs.

Messages In This Thread



Users browsing this thread: 1 Guest(s)