|
|
Up |
  |
Author: Marek KubicaMarek Kubica
Date: Feb 27, 2008 07:59
Hallo Fellow-Pythoneers,
Es war in letzter Zeit bei uns etwas stiller, aber wir sind natürlich
noch da. Ein neues Treffen ist in Vorbereitung und wurde auf
Donnerstag, den 13.03.2008 um 18:30 festgelegt.
Dieses Mal gibt es einen Vortrag zum Thema simpler DSLs (Domain
Specific Languages) in Python, also eine kurze Einleitung was dann
bringt und wie man sowas auf einfache Weise implementieren kann.
Für das leibliche Wohl ist ebenso gesorgt, nach dem Treffen gibt es die
Möglichkeit eine nahegelegene Pizzeria aufzusuchen.
Stattfinden wird es am Institut für Informatik[1] der
Ludwig-Maximilians-Universität München, Oettingenstr. 67, Raum Z 1.09
(Zentralbereich in der Mitte des Gebäudes, 1. OG).
Informationen gibt es wie immer im Wiki [2].
[1] http://www.ifi.lmu.de/Kontakt/Verkehrsanbindung/index.html
[2] http://wiki.python.de/User_Group_München
Also bis dann,
Marek
|
| |
|
1 Comment |
|
  |
|
|
  |
|
|
  |
Author: Tamer HigaziTamer Higazi
Date: Feb 23, 2008 20:36
Hi!
Ich bin eigentlich ein eingefleischter PHP5 Programmierer.
Mein Bruder träumt und stirbt für Python, und ich will jetzt auch in den
Genuss kommen.
Doch sind fragen offen:
- Ich suche Frameworks für Python die genauso vom Umfang das Zeugs
liefern wie ezComponents oder dass Zend Framework.
Ich hörte VIIEEEELL von Zope.... WAS IST ZOPE??? Ein Applikationsserver
(Also auch ein Webserver?)
- Wenn ich ERNSTHAFT mit Python was anfangen möchte, suche ich einen
Weg, meine selbsgeschriebenen Python Skripte zu SCHÜTZEN, so dass der
Kunde nur eine Runtime Version mit einer Lizenzdatei für seine Domain
kriegt, aber keinen Einblick in die Skripte hat.
Gibt es sowas auch für Python?
Für PHP gibt es ioncube, sourceguardian, Zend Encoder die die Skripte
entschlüsseln und den entschlüsselten Code an die Zend Engine weiterreichen.
- Ich mache sehr oft in der UML meine Klassendiagramme. Gibt es ein
tool, der basierend auf der XMI Datei Roundtripp ingeneering macht und
mir die Klassen mit ihren Beziehungen erstellt?
|
| Show full article (1.13Kb) |
|
21 Comments |
|
  |
Author: jimmy Zhangjimmy Zhang
Date: Feb 23, 2008 12:07
VTD-XML 2.3 is now released. To download the latest version please visit
http://sourceforge.net/project/showfiles.php?group_id=110612&package_id=120172.
Below is a list of new features and enhancements in this version.
a.. VTDException is now introduced as the root class for all other
VTD-XML's exception classes (per suggestion of Max Rahder).
b.. Transcoding capability is now added for inter-document cut and paste.
You can cut a chuck of bytes in a UTF-8 encoded document and paste it into a
UTF-16 encoded document and the output document is still well-formed.
c.. ISO-8859-10, ISO-8859-11, ISO-8859-12, ISO-8859-13, ISO-8859-14 and
ISO-8859-15 support has now been added
d.. Zero length Text node is now possible.
e.. Ability to dump in-memory copy of text is added.
f.. Various code cleanup, enhancement and bug fixes.
Below are some new articles related to VTD-XML
|
| Show full article (1.65Kb) |
|
no comments
|
|
  |
Author: jimmy Zhangjimmy Zhang
Date: Feb 23, 2008 11:56
VTD-XML 2.3 is now released. To download the latest version please visit
http://sourceforge.net/project/showfiles.php?group_id=110612&package_id=120172.
Below is a list of new features and enhancements in this version.
a.. VTDException is now introduced as the root class for all other
VTD-XML's exception classes (per suggestion of Max Rahder).
b.. Transcoding capability is now added for inter-document cut and paste.
You can cut a chuck of bytes in a UTF-8 encoded document and paste it into a
UTF-16 encoded document and the output document is still well-formed.
c.. ISO-8859-10, ISO-8859-11, ISO-8859-12, ISO-8859-13, ISO-8859-14 and
ISO-8859-15 support has now been added
d.. Zero length Text node is now possible.
e.. Ability to dump in-memory copy of text is added.
f.. Various code cleanup, enhancement and bug fixes.
Below are some new articles related to VTD-XML
|
| Show full article (1.65Kb) |
|
no comments
|
|
  |
Author: Florian LindnerFlorian Lindner
Date: Feb 23, 2008 07:02
Hallo,
ich habe folgendes Problem:
In einer Datei markdown.py steht folgendes
import markdown as markdown_module
def markdown(value):
html = markdown_module.markdown(value)
return html
Mit import markdown ... ist gemeint, dass ich eine andere Datei
markdown.py importieren will (die in einem anderen Verzeichnis, aber
im PYTHONPATH ist). Allerdings scheint mir Python dort das Modul im
aktuellen Verzeichnis (also das aus dem der obige Code stammt) zu
importieren. Damit wird die Funktion markdown rekursiv und macht nun
gar nicht das was ich will.
Komme ich um das Problem irgendwie herum ohne Funktionen oder Module
umzubennen?
Danke,
Florian
|
| Show full article (0.79Kb) |
|
2 Comments |
|
  |
Author: Marco KittelMarco Kittel
Date: Feb 22, 2008 16:55
Hallo,
Ich hab nen kleines Programm geschrieben, mit dem ich per Console
meine ganzen Kontogeschichten speichern will. Was anderes ist mir
für den Anfang nicht eingefallen. Also eigentlich gute Übung. Allerdings
frage ich mich, ob es nicht hier und da eleganter geht. Gibts eine
möglichkeit das Home Directory unter Linux zu ermitteln? Ich will das
Programm nämlich in /usr/bin packen, allerdings, will ich nicht dass meine
Datensatz in diesem Dir abgelegt werden, daher möchte ich gern
eine Möglichkeit implementieren, dass das Programm im User dir vom Bentuzer
ein verstecktes Verzeichnis erstellt mit entsprechender Datei.
Guckt mal bitte drüber, und sagt mir was nicht so schön ist. danke
|
| Show full article (8.26Kb) |
|
5 Comments |
|
  |
Author: Daniel KräckerDaniel Kräcker
Date: Feb 22, 2008 09:28
Hallo!
Zuerst mal, ich hab mir die Finger schon wund gegoogelt, aber gefunden
hab ich nicht das Richtige.
Ich suche eine Desklet-Engine die genau so "simple" und effektiv wie
gDesklets ist.
- und jetzt der Hammer - für Billy's-Fenstersammung (Windows).
Habt ihr ein paar Links für mich?
MfG Daniel
|
| |
|
1 Comment |
|
  |
Author: Matthias KluweMatthias Kluwe
Date: Feb 19, 2008 09:36
Hallo!
Wie geht man eigentlich korrekt mit Ausnahmen in __init__ um? Im
folgenden Beispiel wird das Objekt nicht vollständig initialisiert, da
(künstlich eingebaut) eine Ausnahme erzeugt wird:
class Test:
def __init__(self, value):
if value=="":
raise Exception()
self.value = value
def __del__(self):
print "Value was:", self.value
try:
t = Test("")
except:
print "Exception raised"
Die Ausgabe ist:
|
| Show full article (0.84Kb) |
|
2 Comments |
|
|
|
|
|
|