<blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"></blockquote>1. I'm testing my skill and I run my script under cron. The python script begin with these rows (and it runs):<br>
<blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><br></div><div><div># -*- coding: utf-8 -*-</div></div><div><div>#!/usr/bin/python</div></div><div><div><br></div></div>
<div><div>import os,sys</div></div><div><div><br></div></div><div><div>if not sys.platform=="win32":</div></div><div><div> sys.path.append('/home/alebot/pywikipedia')</div></div><div><div> os.chdir("/home/alebot/scripts")</div>
</div></blockquote><div><br></div><div>Then I tried to move to batch job sheduling, but... my script gives an error: now the server dislikes sys.path row. Why? I obviously have to study more: but what/where have I sto study? :-(</div>
<div><br></div><div>2. The script bring into life a python bot, who reads RecentChanges at 10 minutes intervals by a cron routine. Is perhaps more efficient a #irc bot listening it.wikisource #irc channel for recent changes in your opinion? Where can I find a good python script to read #irc channels?</div>
<div><br></div><div>Thanks - I apologize for so banal questions. </div><div><br></div><div>Alex</div><div><br></div><div><br></div><div><br></div>