summary refs log tree commit diff stats
path: root/doc/pydoc/ranger.gui.widgets.browserview.html
Commit message (Expand)AuthorAgeFilesLines
* incremented version number and updated pydoc html files v1.0.3hut2010-02-161-8
# Example to embed Python into your application

import python

# IMPORTANT: Python on Windows does not like CR characters, so
# we use only \L here.

Py_Initialize()
discard PyRun_SimpleString("from time import time,ctime\L" &
                           "print 'Today is',ctime(time())\L")
Py_Finalize()