Re: I need algorithm for my task

2014-11-05 Thread C@rlos
I thing this work: stg='pythonpython' foundationline=stg[ 0:( stg [ 1: ].index( stg[ 0 ])+1 ) ] On 2014-11-05 11:58, lordvita...@gmail.com wrote: > I have line 'pythonpythonpyth'. How do I know which word is the foundation > line?. > Other examples: > "pythonpythonpyth" is python > "DOLOR

Re: accents in windows

2014-10-30 Thread C@rlos
help??? - Mensaje original - De: "Chris Angelico" CC: python-list@python.org Enviados: Jueves, 30 de Octubre 2014 4:42:49 Asunto: Re: accents in windows On Thu, Oct 30, 2014 at 11:03 AM, C@rlos wrote: > i cant print any accent(á é í ó ú) or ñ in console when i use wind

accents in windows

2014-10-30 Thread C@rlos
i cant print any accent(á é í ó ú) or ñ in console when i use windows OS with python, the console showme an error or extrangers characters in some cases, i need help III Escuela Internacional de Invierno en la UCI del 17 al 28 de febrero del 2014. Ver www.uci.cu -- https://mail.python.org/ma

Convert Qstring to string in windows

2014-10-17 Thread C@rlos
=qstringtext.text().toUtf8.data() and it return a python string correctly. i need some help plese... .C@rlos III Escuela Internacional de Invierno en la UCI del 17 al 28 de febrero del 2014. Ver www.uci.cu -- https://mail.python.org/mailman/listinfo/python-list