Fwd: sys module does not contain ps1
MRAB
python at mrabarnett.plus.com
Fri May 18 12:51:59 EDT 2018
On 2018-05-18 12:40, Alferdize wrote:
> ---------- Forwarded message ----------
> From: Alferdize <simonandrew132 at gmail.com>
> Date: Thu, May 17, 2018 at 10:13 PM
> Subject: sys module does not contain ps1
> To: python-list at python.org
>
>
> It is giving error like I have given below
>>>> import sys
>>>> sys.ps1
> Traceback (most recent call last):
> File "<pyshell#1>", line 1, in <module>
> sys.ps1
> AttributeError: module 'sys' has no attribute 'ps1'
>
[snip]
I have the same version (Python 3.7.0b3). Here, sys has 'ps1' and 'ps2',
but not 'last_traceback', 'last_type' or 'last_value'.
More information about the Python-list
mailing list