don locke a écrit :
> I have some issues with the following lines i covverted.
>
> vlc += u"doc.getElementById('file-head').innerHTML = '%s';\n"
> vlc += u"doc.getElementById('file-info').innerHTML = '%s';\n"
> vlc += u"doc.getElementById('file-play-button').onclick = %s;\n"
> vlc += u"doc.getElementById('file-play-using-vlc').onclick = %s;\n"
>
> what are the %s values ?
>
Hi,
The explanation is 4 line lower : In python (warning, I'm nearly a
python newbie !), you can write for instance that :
print "the result is %s when the snow is %s, and %s when the sun is %s"
% ( weather, snow_state, weather2, sun_rise )
So, in the program, the first %s is replaced by
Unicode(title.replace("'", "\\'"))
And so on
Pascal
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users