While I was thinking about some sync / async download for iAggregator (mainly to reduce the time needed to this), i remember that i’ve read it previously somewhere .. After a little search i have found this : http://effbot.org/zone/effnews-1.htm Perhaps … Continue reading →
Using RPC for bloging is funny no ? In fact it”s really usefull to post thought email.. or console tools so This is my first post w/ XML-RPC mainly using PyMT check out: http://pymt.sf.net for more infos import PyMT mt … Continue reading →
#!/usr/bin/python “”" A really simple piece of code that i use to track down my dynamics IP (assigned by my isp while using ppp). “”" filename = ‘/home/soif/Perso/Data/lastIp.sqlite’ import sys,os,time try: import sqlite except ImportError: print “Please install python sqlite … Continue reading →
This is my first hack over ZPTPage and Modeling to enable regerating of ZPTPage only when Modeling objects changed .. check out class A: (which is a sample fake Modeling Object) import os,time from ZPTPage import ZPTPage class A: def … Continue reading →
Have you ever wondering what is in the gabarge collector ? This little piece of code may help :) import string,gc def debugGC(threshold=10): d = {} print “*” * 80 for o in gc.get_objects(): try: s = str(o.__class__) try: d[s] … Continue reading →
Différentes initiatives commencent à naitre sur les IDE python. Un relativement récente consiste à utiliser eclipse, l’IDE java. http://www.xored.com/products.php L’installation du plugin se fait directement via eclipse via Window -> Open Perspective -> Other resource -> Install or Update. Puis … Continue reading →