0
favorites
favorites
0
comments
comments
Word List Python Script
A few of my projects have required a dictionary or word list. Here is a python script that gets the word list used for scrabble from the website: http://www.scraddle.com/wordfeud-dictionary/. You need a file on your C drive called wordlist.txt. This can be changed on the line:
fOb = open('C:/wordlist.txt','w')
The word list you get has just under 180000 words.
Hope this might be useful to someone.
...
0
favorites
favorites
2
comments
comments
Exporting a QTableWidget to a CSV File
This little piece of code exports a QTableWidget to a CSV File. The filename is stored in the QLineEdit, and the QTableWidget is passed as a parameter.
No error checking, just quick and dirty. ...
0
favorites
favorites
2
comments
comments
Memorizer Decorator for accumulative lists
This decorator allows to optimize the calculus of some lists (with growing values, such as primes list) using previous executions. ...