![]() |
2013-08-30
, 00:15
|
Posts: 73 |
Thanked: 35 times |
Joined on Jun 2013
|
#952
|
"Thanks, but not helped... The "year" is still on the second line."
#!/usr/bin/python from datetime import datetime months = ['Jan ','Feb ','Mar ','Apr ','May ','Jun ','Jul ','Aug ','Sep ','Oct ','Nov ','Dec '] month = months[datetime.now().month-1] print (month)+chr(0)
...etc... {day} {script: python /home/user/my_month_he.py}{year} {ip} ...etc...
The Following User Says Thank You to Quaddy For This Useful Post: | ||
![]() |
2013-08-30
, 04:22
|
Posts: 277 |
Thanked: 319 times |
Joined on Jan 2010
|
#953
|
{script:echo -ne \xF0\x9F\x94\x93}
Thank you very much ! Now it work again
But now I see year in the second line.. In previous version of script (when it worked) it shown year also in the first line with day of week, date, name of month..
Can i somehow get the year in the first line too ?
Thanks
datetime.now().year
The Following User Says Thank You to slarti For This Useful Post: | ||
![]() |
2013-08-30
, 05:14
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#954
|
![]() |
2013-08-30
, 08:11
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#955
|
The Following User Says Thank You to Schturman For This Useful Post: | ||
![]() |
2013-08-30
, 09:35
|
|
Community Council |
Posts: 664 |
Thanked: 1,648 times |
Joined on Apr 2012
@ Hamburg
|
#956
|
The Following User Says Thank You to Win7Mac For This Useful Post: | ||
![]() |
2013-08-30
, 09:40
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#957
|
![]() |
2013-08-30
, 17:38
|
Posts: 184 |
Thanked: 204 times |
Joined on Aug 2012
|
#958
|
![]() |
2013-09-04
, 02:52
|
Posts: 509 |
Thanked: 626 times |
Joined on Jul 2012
@ Mexico/Germany
|
#959
|
![]() |
2013-09-04
, 05:58
|
|
Posts: 645 |
Thanked: 519 times |
Joined on Apr 2012
@ Finland
|
#960
|
/opt/billboard/bin/billboard-ui
Lausanne & Lyon de descente...
----------------
Schturman's home page
Schturman's repo on openrepos
RPM packaging directly on your Jolla phone.
Root & User SSH access to Jolla via WinSCP.
Root and User SSH access to Jolla via Nautilus on Linux PC.