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

notes/py/wos.txt · Last modified: 2017/03/27 19:53 by vlado
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki