|
|
(85 dazwischenliegende Versionen von 8 Benutzern werden nicht angezeigt) |
Zeile 1: |
Zeile 1: |
| {{#css:Test:Stylesheet}}
| | foobar |
| == Spielwiese ==
| |
| ===Links===
| |
| [[Entropia:Sandkasten|diese Seite]] [[Hauptseite]] [[doesnotexist|gibts noch nicht]] [https://entropia.de entropia.de]
| |
| ===Code===
| |
| <syntaxhighlight lang="python">
| |
| from time import localtime
| |
|
| |
|
| activities = {8: 'Sleeping',
| | Externer Link [https://docs.fedoraproject.org/] |
| 9: 'Commuting',
| |
| 17: 'Working',
| |
| 18: 'Commuting',
| |
| 20: 'Eating',
| |
| 22: 'Resting' }
| |
| | |
| time_now = localtime()
| |
| hour = time_now.tm_hour
| |
| | |
| for activity_time in sorted(activities.keys()):
| |
| if hour < activity_time:
| |
| print activities[activity_time]
| |
| break
| |
| else:
| |
| print 'Unknown, AFK or sleeping!'
| |
| </syntaxhighlight>
| |
| | |
| {{Youtube|id=0CwkyJA_Crs}}
| |
| | |
| ===foobar===
| |
| | |
| * foo
| |
| * foo
| |
| * fii
| |
| * fuu
| |
| | |
| ===barfoo===
| |
| # oans
| |
| # zwoar
| |
| # viele
| |
| | |
| | |
| ===noch mehr topic===
| |
| [[Image:Zentropia_10.JPG|thumb|left|200px|Impressionen aus dem Club]]
| |
| | |
| == foo ==
| |
| {{#css:Entropia:Sandkasten:CSS}}
| |
| foo
| |
| | |
| <div id="Hauptlink">[[Datei:Gpn14_logo_navi.jpg|80px|GPN14]]</div>
| |