Assignments to ps1

Gregory Ewing greg.ewing at canterbury.ac.nz
Sun Jul 1 09:40:02 EDT 2018


Stefan Ram wrote:
> from sys import ps1
> ps1 = 'alpha'

 >>> import sys
 >>> sys.ps1 = "alpha"
alpha

-- 
Greg


More information about the Python-list mailing list