Table of Contents

WoS

tkinter

http://tkinter.unpythonic.net/wiki/Tkinter_for_beginners

import Tkinter
l = Tkinter.Label(text = "See me?")
l.pack()
l.mainloop()
>>> import Tkinter
>>> Tkinter._test()

Problems with installing WoS2Pajek

Set the following system variables:

MONTYLINGUA   : C:\Python27\Lib\site-packages\montylingua-2.1\Python
PY_HOME       : C:\Python27
PYTHONPATH    : %PY_HOME%\Lib;%PY_HOME%\DLLs;%PY_HOME%\Lib\lib-tk
PATH          : ...;%PY_HOME%;%PY_HOME%\scripts;...

In the case your path to resources contains nonASCII characters (for example Cyrillic) uncomment the lines

...
#   resrc = u"unicode_path/resources/StopWords.dat"  # <<<<<<
#   stopwords = open(resrc, 'r').read().lower().split()
...
#   icon = u"unicode_path/resources/pajek.ico"  # <<<<<<
...

and replace unicode_path with the corresponding path on your computer.

Unicode file names in python