IronPython und libsecondlife

skip over the calendar

libsecondlife ist ja eine C#-Reimplementation des SecondLife Protokolls. IronPython ist ein Python auf .NET. Sollte man zusammen benutzen können. Geht auch. Allerdings ist IronPython eben nicht Python - die ganze Standardbibliothek fehlt grösstenteils (auch wenn eine Menge der pure-Python-Module sicherlich funktionieren würden). Und externe Libraries werden auch anders gehandhabt. Folgendes macht glücklich:

import clr
clr.AddReferenceToFile("libsecondlife.dll")
import libsecondlife

Damit hab ich das ganze zusammengeladen bekommen. Vielleicht ein Start für mich damit mal rumzuspielen.

tags: Programmierung, Python, SecondLife

post a comment

Allowed HTML tags: a, b, blockquote, br, em, i, li, ol, p, q, strong, ul. Empty lines will automatically produce paragraphs. Comments must be approved to be visible.

(optional)

(optional)

To make sure that comments come from real users, you need to answer the following question correctly.

What is the last name of Georg Bauer?


Stoppt die Vorratsdatenspeicherung! Jetzt klicken & handeln!Willst du auch bei der Aktion teilnehmen? Hier findest du alle relevanten Infos und Materialien: