Thread
:
[Announce] LockScreenQuotes for N9 (Alpha ver of USbS avalable)
View Single Post
aRTee
2012-01-17 , 16:03
Posts: 188 | Thanked: 90 times | Joined on Sep 2006
#
12
Ahh, where is the do-it-yourself-spirit these days?
I had never seen python, yet I managed to even change the colour with IF statements (wow, python doesn't have CASE), and this was my first bit of programming in what, 10 years...
Anyway, I put the level for white (255, 255, 255) at 95%, so you can use it as a sort of battery full indication when charging.
I have to check what the optimum level is, it sometimes finishes charging at 98%, so I don't want to put it at 100%...
As for random selection of lines but with equal probability, I just found this:
http://www.bryceboe.com/2009/03/23/r...s-from-a-file/
__________________
If I said something useful, please hit the 'Thanks!' link related to that post.
Quote & Reply
|
aRTee
View Public Profile
Send a private message to aRTee
Find all posts by aRTee