Quaddy
|
2013-09-04
, 15:19
|
Posts: 73 |
Thanked: 35 times |
Joined on Jun 2013
|
#961
|
|
2013-09-06
, 06:15
|
Posts: 3 |
Thanked: 2 times |
Joined on Aug 2010
|
#962
|
#!/usr/bin/env python import subprocess from textwrap import wrap text = subprocess.Popen(["/usr/games/fortune", "-s"], stdout=subprocess.PIPE).communicate()[0] width = 28 wrapped = wrap(text,width) for line in wrapped: print line
|
2013-09-06
, 07:29
|
|
Posts: 645 |
Thanked: 519 times |
Joined on Apr 2012
@ Finland
|
#963
|
|
2013-09-12
, 14:42
|
Posts: 73 |
Thanked: 35 times |
Joined on Jun 2013
|
#964
|
Is there any command to refresh billboard?
I need that or theres no use for my secured/not secure script.
The Following 2 Users Say Thank You to Quaddy For This Useful Post: | ||
|
2013-09-18
, 09:22
|
Posts: 4 |
Thanked: 0 times |
Joined on Jun 2012
|
#965
|
|
2013-09-18
, 10:30
|
|
Posts: 645 |
Thanked: 519 times |
Joined on Apr 2012
@ Finland
|
#966
|
The Following User Says Thank You to Mikkosssss For This Useful Post: | ||
|
2013-09-18
, 11:15
|
Posts: 4 |
Thanked: 0 times |
Joined on Jun 2012
|
#967
|
I dont know better solution but have you tried set default color to red and set everything else black with {{black}}?
|
2013-09-21
, 15:59
|
Posts: 697 |
Thanked: 137 times |
Joined on Jul 2012
@ Hillerød, DK
|
#968
|
|
2013-09-21
, 16:10
|
|
Posts: 645 |
Thanked: 519 times |
Joined on Apr 2012
@ Finland
|
#969
|
The Following User Says Thank You to Mikkosssss For This Useful Post: | ||
|
2013-09-21
, 23:58
|
Posts: 697 |
Thanked: 137 times |
Joined on Jul 2012
@ Hillerød, DK
|
#970
|
Its because value is in wrong form. (two numbers)
Maybe you can make your own script that knows what to do with two numbers.