[issue7957] Tutorial issue regarding the sys module

2012-07-15 Thread Roger Serwy
Roger Serwy added the comment: IDLE supporting sys.ps1 and sys.ps2 is discussed in issue13657. I am closing this issue in favor of that one. -- nosy: +serwy resolution: -> duplicate status: open -> closed superseder: -> IDLE doesn't support sys.ps1 and sys.ps2. _

[issue7957] Tutorial issue regarding the sys module

2010-02-18 Thread Lucian Ursu
Lucian Ursu added the comment: Then it must be an issue with my Python. This is what I get. >>> import sys >>> dir(sys) ['__displayhook__', '__doc__', '__excepthook__', '__name__', '__package__', '__stderr__', '__stdin__', '__stdout__', '_clear_type_cache', '_current_frames', '_getframe', 'ap

[issue7957] Tutorial issue regarding the sys module

2010-02-18 Thread Georg Brandl
Georg Brandl added the comment: They exist only in interactive mode. They won't be present if you do e.g. python -c "import sys; print dir(sys)" -- resolution: -> wont fix status: open -> closed ___ Python tracker

[issue7957] Tutorial issue regarding the sys module

2010-02-18 Thread Ronald Oussoren
Ronald Oussoren added the comment: That's odd, they should exist and do for me: Python 2.6.4 (r264:75821M, Oct 27 2009, 19:48:32) [GCC 4.0.1 (Apple Inc. build 5493)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> sys.ps1 '>>> ' >>> sys.ps2 '

[issue7957] Tutorial issue regarding the sys module

2010-02-18 Thread Lucian Ursu
New submission from Lucian Ursu : Hello, I've discovered an issue while reading the Python tutorial. In chapter 6.2. "Standard Modules", the tutorial mentions the "sys" module and two of its attributes, ps1='<<<' and ps2='...'. The problem is I can't find these attributes in my version of Pyt