PDA

View Full Version : screenlet to output random line from a file


delfick
August 3rd, 2007, 05:57 AM
hello

is it possible for a screenlet (i would try to make it myself, but time and skill (or lackof) limits me) that searchs through a file and randomly outputs lines from it

So that i can make a file of random notes for the units i'm studying at uni, and then this screenlet just keeps displaying a different note from this file every so often, to help with learning all these random notes (so that i just read these notes in passing)

thnx

whise
August 3rd, 2007, 02:23 PM
shure , screenlets use python programing language , so the can basicly do anything that the language provides plus the screenlet module

delfick
August 3rd, 2007, 02:25 PM
cool....

is someone able to make this by any chance please ?? :D

(I assume it would be trivial.....)