[issue26430] quote marks problem on loaded file

quetzal report at bugs.python.org
Wed Feb 24 15:03:29 EST 2016


quetzal added the comment:

well, silentghost... a .txt file, or an .html and that's all... if there's some text into... just find a pattern with some  - " - 

import the file in python(iddle)

and type :

if '''pattern''' in file:
__ print('ok')
else:
__ print('none')

i don't think that a file is really necessary... you'll do certainly better than me in testing...

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26430>
_______________________________________


More information about the Python-bugs-list mailing list