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

16 Replies, 1850 Views

what does -i mean in Python?

short answer: it keeps the interpreter open after your script runs.

long answer: it’s a secret weapon for devs who hate rerunning code just to check one variable.

try it with a simple script—you’ll get it instantly.

Messages In This Thread



Users browsing this thread: 1 Guest(s)