... hab' ich mitzuteilen - L's blog

... with a touch of python - Didaktik der Informatik, Informatische Bildung, ...
Fri, 17 Mar 2006
[Python Cookbook] Watchdog: Decorator for Function Parameter / Result checking [ 15:16 Uhr ] [ 114 Worte ]

Typsicherheit bei der Parameterübergabe und der Wertrückgabe - das hat uns noch gefehlt ... Danke

[Python Cookbook] Watchdog: Decorator for Function Parameter / Result checking «Watchdog((Param_type1, Param_type2, ), Result_type) returns a function decorator which can easily be applied to function definitions in oder to check parameter / result integrity.»
[ rss20 Feed ] http://www.pythonware.com/daily/rss2.xml [ Verweis - Nachrichtenkanal ]

[ xhtml ] http://www.pythonware.com/daily/index.htm#114250555717775865 [ Verweis - Eintrag ]

Mon, 13 Mar 2006
Sat, 11 Mar 2006
Python auf dem Nokia 770 - bei der Arbeit zusehen [ 21:35 Uhr ] [ 254 Worte ]

Schauen Sie Python bei der Arbeit zu ...

In den letzten Tagen wurden hier einige Beispiele für Applikationen vorgestellt, die zeigen, dass sich das N770 recht gut als Instrument für die informatische Bildung verwenden lässt (vgl. Permanente Lokation unter diesem Beitrag).

Die Abrufstatistik zeigt mir, dass offenbar viele Leserinnen und Leser diese Hinweise recht interessant finden.

Daher habe ich zwei kleine Videos angefertigt, die mich bei der Arbeit zeigen. Im ersten Video werden verschiedene auf PyGame basierende Applikationen vorgestellt, von den in den bereits geschriebenen Beiträgen Bildschirmfotos erstellt wurden.

Das zweite Video ist erheblich umfangreicher und demonstriert die auf PyGTK basierende GUI-Schnittstelle PyGUI. Einige der Beispiele werden auf meinem Desktop-Linux, die anderen auf dem n770-Linux ausgeführt, so dass ein direkter Vergleich möglich ist.

Leider werde einige der Zeichengrößen auf dem n770 nicht so dargestellt, dass sie komplett gelesen werden können. Aber insgesamt kann gesagt werden, dass viele der Funktionen ohne Änderung im Quellcode auf beiden Systemen problemlos laufen. Dabei ist wichtig zu wissen, dass PyGUI auf auf dem Mac OS X (nativ) laufen können, so dass tatsächlich eine maximale Plattformunabhängigkeit erreicht wurde.

Videos zu Python auf n770 enthält die beiden Videos im "ogg"-Format, das bei mir unter Linux mit "Mplayer" und mit "kaffeine" problemlos angezeigt werden können. Unter dem Mac OS X brachte ich die Videos mit "VLC" [ VLC ] zum Laufen. Die Videos wurden mit dem (Python-)Programm istanbul erstellt.

Fri, 10 Mar 2006
Dr. Dobb's Python-URL! - weekly Python news and links (Mar 6) [ 23:30 Uhr ] [ 175 Worte ]

Genau - hier wird ausgesprochen, was selten wohl geschieht:
etliche der Muster sind »Würgarounds« für Probleme, die man sich mit ungeeigneten Programmiersprachen einhandelt.

Dr. Dobb's Python-URL! - weekly Python news and links (Mar 6) [«QOTW: 'This PyCon has been better in so many respects than the three that preceded it. PyCon will continue to improve.' - Steve Holden, chairman of PyCon 2003-2005. 'Design patterns are kind of like sarcasm: hard to use well, not always appropriate, and disgustingly bad when applied to problems they are not meant to solve.' - ajones. 'Most of most design patterns is to work around the fact that it's difficult in Java and C++ to do many things.' - Roy Smith.»]
[ rss20 Feed ] http://www.pythonware.com/daily/rss2.xml [ Verweis - Nachrichtenkanal ]

[ xhtml ] http://www.pythonware.com/daily/index.htm#114202958134445598 [ Verweis - Eintrag ]

Thu, 09 Mar 2006
Tompong with PyGame on n770 [ 14:23 Uhr ] [ 166 Worte ]

TomPong - Getting things running on Nokia 770

python - pygame - Tompong - n770

Some of my readers may already know TomPong because the original author showed how to program this little well known »game« with the help of Python and PyGame.

Without changing any line of code the original source runs on the n770, but you are not able to play, because it uses keys, which are not available on the n770.

So I changed the soure a little bit - take a look at it Anzeigen pong_nokia.py

If you want to play it, you have to copy the whole package to your n770 and untar it there: tompong_n770.tar.gz auf das eigene System kopieren

Inside the package you'll find README_n770 - this includes hints for the keys to use, when trying to play it on n770.

more screenshots other applications

Tue, 07 Mar 2006
Mon, 06 Mar 2006
Thu, 02 Mar 2006

<<  0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 [24] 25 26 27 28 29 30 31 32 33 34 35  >>


Inhalte unterliegen dem Copyright von L. Humbert.
Creative Commons License
Die Inhalte stehen unter einer Creative Commons License.