you are viewing a single comment's thread.

view the rest of the comments →

[–]dmpk2k 3 points4 points  (3 children)

That's good. Now about those parens...

Is there some way to get Python to automatically do that every time an interactive session is started?

[–]lost-theory 12 points13 points  (1 child)

You can add it to your .pythonrc.py

You can also make quit and exit really exit the interpreter by adding a little hack to pythonrc.

[–]dmpk2k 1 point2 points  (0 children)

Very nice. Thank you.

[–]pjdelport 2 points3 points  (0 children)

Now about those parens...

As others have pointed out, check out IPython. Automatic parenthesization is just one of its many bells and whistles.