New submission from Sanmitha :
I was learning about enumerate(). While learning, when I used,
>>>help(enumerate)
Help on class enumerate in module builtins:
class enumerate(object)
| enumerate(iterable, start=0)
|
| Return an enumerate object.
|
| iterable
| an object supporting
Sanmitha added the comment:
This issue is not based on Windows or my terminal. This is purely an IDLE
error. In Windows, both in command prompt and powershell \r functions properly.
--
status: closed -> open
Added file: https://bugs.python.org/file49219/Screenshot_20200607-185043.
Sanmitha added the comment:
This issue is not based on Windows or my terminal. This is purely an IDLE
error. In Windows, both in command prompt and powershell \r functions properly.
--
versions: +Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9
Added file: https
Sanmitha added the comment:
The escape sequence'\r' doesn't work in Windows operating system. All the
versions including windows 10 doesn't support.
--
resolution: not a bug ->
status: closed -> open
title: Malfunctioning of '\r' -> Malfun
New submission from Sanmitha :
Clearing the screen of IDLE interactive mode using the following code:
import os
os.system("cls")
It doesn't clear the screen in Windows. Actually these two statements have no
effect at all.
--
Added file: https://bugs.python.org/file49178
Change by Sanmitha :
--
assignee: terry.reedy
components: IDLE
nosy: Sanmitha Sadhishkumar, terry.reedy
priority: normal
severity: normal
status: open
title: Clearing the screen of IDLE interactive mode in Windows
type: performance
versions: Python 3.5, Python 3.6, Python 3.7, Python
New submission from Sanmitha :
The escape sequence '\r' (carriage return) doesn't function in 3.x and 2.x
versions.
Eg:
print("computer\rscience")
Expected output : sciencer
But, it displays computerscience without the functioning of'\r'
--
Change by Sanmitha :
--
assignee: terry.reedy
components: IDLE
nosy: Sanmitha Sadhishkumar, terry.reedy
priority: normal
severity: normal
status: open
title: Malfunctioning of '\r'
type: performance
versions: Python 3.5, Python 3.6, Python 3.7,
Sanmitha added the comment:
The escape sequence '\r' (carriage return) doesn't function in 3.x and 2.x
versions.
Eg:
print("computer\rscience")
Expected output : sciencer
But, it displays computerscience without the functioning of'\r'
--
Added file
New submission from Sanmitha :
The escape sequence '\r' (carriage return) doesn't function in 3.x and 2.x
versions.
Eg:
print("computer\rscience")
Expected output : sciencer
But, it displays computerscience without the functioning of'\r'
--
assignee:
Sanmitha added the comment:
Clearing the screen of IDLE interactive mode using the following code:
import os
os.system("cls")
It doesn't clear the screen in Windows
--
title: Malfunctioning of '\r' -> Clearing the screen of IDLE
New submission from Sanmitha :
'\r' in python 3.7.2, 3.7.4, 3.8.2, 2.x versions doesn't give the desired output
Eg:
print("computer\rscience")
The expected output of the above code is : sciencer
But it displays : computerscience without functioning of \r
---
12 matches
Mail list logo