[issue25980] not able to find module request in lib urllib - Python35-32

2015-12-30 Thread Kiran Kotari
New submission from Kiran Kotari: Python 3.5.1 documentation code giving following error: Error: Traceback (most recent call last): File ".\urllib1.py", line 5, in with urllib.request.urlopen('http://www.py4inf.com/code/romeo.txt') as f: AttributeError: module 'urllib' has no

[issue25979] String functions lstrip are not working properly when you have escape sequence

2015-12-29 Thread Kiran Kotari
New submission from Kiran Kotari: In this python code I am collecting list of folders present in the given location path with parent folder and print the folder names (output went wrong due to escape sequence values with lstrip.) Note : "\a \b \f \r \v \0 \1" are working fine. &qu

[issue25979] String functions lstrip are not working properly when you have escape sequence

2015-12-29 Thread Kiran Kotari
Changes by Kiran Kotari <kotarikiranku...@gmail.com>: Removed file: http://bugs.python.org/file41450/string_fun_error.py ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue25979] String functions lstrip are not working properly when you have escape sequence

2015-12-29 Thread Kiran Kotari
Kiran Kotari added the comment: In this python code I am collecting list of folders present in the given location path with parent folder and print the folder names (output went wrong due to escape sequence values with lstrip.) Note : "\a \b \f \r \v \0 \1" are working fine. "

[issue25978] escape sequence r'\' giving compilation error

2015-12-29 Thread Kiran Kotari
New submission from Kiran Kotari: >>> '\test'.lstrip(r'\') SyntaxError: EOL while scanning string literal -- components: 2to3 (2.x to 3.x conversion tool) messages: 257221 nosy: Kiran Kotari priority: normal severity: normal status: open title: escape s