[ANN] XPN 0.5.5 released
XPN (X Python Newsreader) is a multi-platform newsreader with Unicode support. It is written with Python+GTK. It has features like scoring/actions, X-Face and Face decoding, muting of quoted text, newsrc import/export, find article and search in the body, spoiler char/rot13, random taglines and configurable attribution lines. You can find it on: http://xpn.altervista.org/index-en.html or http://sf.net/projects/xpn Changes in this release: * improved support for outgoing/draft articles, now is possible to re-edit queued articles. * added a simple SSL connection support (no certificates checks) * added multipart article support (no binary attachments support) * added German translation (thanks to Rene Fischer) * fixed a bug that caused crashes with strange Date fields * fixed a bug in newsrc importing, now is alse possible to import not standard newsrc files like the Xnews ones. * fixed a bug in the newsrc system that caused a crash with groups containings lots of articles * a lot of little bug-fixes and little enhancements XPN is translated in Italian French and German, if you'd like to translate it in your language and you are familiar with gettext and po-files editing please contact me ([EMAIL PROTECTED]). -- This is not a beer belly. It's a fuel tank for a sex machine. |\ | |HomePage : http://nem01.altervista.org | \|emesis |XPN (my nr): http://xpn.altervista.org -- http://mail.python.org/mailman/listinfo/python-list
Re: [ANN] XPN 0.5.5 released
Mentre io pensavo ad una intro simpatica "Cousin Stanley" scriveva: >> XPN (X Python Newsreader) is a multi-platform newsreader >> with Unicode support. >> .... >> > > Cousin Nemesis > Are the new xpn 5.5 config & data files compatible > with the older xpn 5.0 files ? I'm not 100% sure but I think that they could work. The only thing is changed is the outgoing articles format, so if you have article in the oubox delete them > Can I install the newer xpn version > and move the older data files into it > without reconfiguring & reloading data files ? > > o config.txt > o server_logs.dat > o dats > o groups_info > o groups_list It should work, anyway just make a copy of these files to be sure not to lose them. -- Quidquid latine dictum sit, altum viditur. |\ | |HomePage : http://nem01.altervista.org | \|emesis |XPN (my nr): http://xpn.altervista.org -- http://mail.python.org/mailman/listinfo/python-list
Re: [ANN] XPN 0.5.5 released
Mentre io pensavo ad una intro simpatica "Cousin Stanley" scriveva: [Upgrading XPN to 0.5.5 ...] [...] > files > > o custom_headers.txt > o groups_list > o server_logs.dat I'd add also config.txt ;-) > No initial configuration, downloading newsrc file, > or re-subscribing to newsgroups was required > and all of my previously kept & watched messages > seem to be in place > Thanks for the update Thanks to you for testing it. :-) -- Backup not found: (A)bort, (R)etry, (M)assive heart failure? |\ | |HomePage : http://nem01.altervista.org | \|emesis |XPN (my nr): http://xpn.altervista.org -- http://mail.python.org/mailman/listinfo/python-list
Re: [ANN] XPN 0.5.5 released
Mentre io pensavo ad una intro simpatica "Cousin Stanley" scriveva: >> I'd add also config.txt ;-) > > I did but failed to include it in the list I posted yes of course. > One small config problem that I haven't figured out > how to deal with > > I use a dark background with white foreground text > > When posting a reply in the compose/edit window > the cursor is NOT visible > > Is there an incantation I can add to the config file > that might render the cursor visible on a dark background ? It's a well known issue, I haven't find a way to change the cursor color yet :-/ I also posted an help request on the pygtk list, but I had no useful replies. -- Famous last words: Don't worry, it's not loaded. |\ | |HomePage : http://nem01.altervista.org | \|emesis |XPN (my nr): http://xpn.altervista.org -- http://mail.python.org/mailman/listinfo/python-list
Shelve: got DBRunRecoveryError
Hi all, I'm having a problem with a shelve. I got (almost randomly) this error: Traceback (most recent call last): File "xpn.py", line 1082, in view_article self.remove_from_unreads(article_to_read) File "xpn.py", line 860, in remove_from_unreads articles[msgid]=article File "/usr/local/lib/python2.4/shelve.py", line 130, in __setitem__ self.dict[key] = f.getvalue() File "/usr/local/lib/python2.4/bsddb/__init__.py", line 218, in __setitem__ self.db[key] = value DBRunRecoveryError: (-30978, 'DB_RUNRECOVERY: Fatal error, run database recovery -- PANIC: Invalid argument') The error happens whe I try to replace an element inside the shelve with this function: def remove_from_unreads(self,article): #remove article from unreads msgid=article.msgid articles=shelve.open(os.path.join(self.wdir,"groups_info/",self.group_to_thread,self.group_to_thread)) xpn_article=articles.get(msgid,None) if xpn_article!=None: article.is_read=True articles[msgid]=article articles.close() What could be the problem? -- Never eat more than you can lift. |\ | |HomePage : http://nem01.altervista.org | \|emesis |XPN (my nr): http://xpn.altervista.org -- http://mail.python.org/mailman/listinfo/python-list
Re: Detect character encoding
Mentre io pensavo ad una intro simpatica "Michal" scriveva: > Hello, > is there any way how to detect string encoding in Python? > I need to proccess several files. Each of them could be encoded in > different charset (iso-8859-2, cp1250, etc). I want to detect it, and > encode it to utf-8 (with string function encode). > Thank you for any answer Hi, As you already heard you can't be sure but you can guess. I use a method like this: def guess_encoding(text): for best_enc in guess_list: try: unicode(text,best_enc,"strict") except: pass else: break return best_enc 'guess_list' is an ordered charset name list like this: ['us-ascii','iso-8859-1','iso-8859-2',...,'windows-1250','windows-1252'...] of course you can remove charsets you are sure you'll never find. -- Questa potrebbe davvero essere la scintilla che fa traboccare la goccia. |\ | |HomePage : http://nem01.altervista.org | \|emesis |XPN (my nr): http://xpn.altervista.org -- http://mail.python.org/mailman/listinfo/python-list
[ANN] XPN - X Python Newsreader 0.4.0 released
XPN is a multiplatform newsreader written in Python+GTK2. It is unicode compliant and has features like scoring/action rules, configurable attribution lines and random taglines, search facilities and filtered views, import/export newsrc ... You can find it on: http://xpn.altervista.org/index-en.html or http://sf.net/projects/xpn I'd really appreciate every type of feedback. Changes in this release: * v0.4.0: added off-line reading. Now you can download the whole bodies, or mark some article and download their bodies. * v0.4.0: added Keep Article and Watch/Ignore SubThread * v0.4.0: added actions rule, now you can !keep, !watch, !ignore (and so on) your article through rules * v0.4.0: now XPN stores the position and the size of Main Window and Edit Window * v0.4.0: now you can customize the charsets list XPN use to encode your outgoing articles * v0.4.0: improved speed when loading groups list in Groups Window. * v0.4.0: fixed a bug in the binary version that caused a crash trying to subscribe a group * v0.4.0: added Oriental Charsets support (thanks to Python2.4) * v0.4.0: added Global Search, you can search the whole groups and put the results in a virtual group * v0.4.0: added filtered views * v0.4.0: moved to GTK2.4 and Python2.4 * v0.4.0: added a TraceBack viewer and an error logger * v0.4.0: reorganized some menus * v0.4.0: now the background color is changed also on Groups Pane and Headers pane * v0.4.0: added a lot of little features/enhancements * v0.4.0: fixed a lot of bugs -- I'm not a complete idiot - several parts are missing. |\ | |HomePage : http://nem01.altervista.org | \|emesis |XPN (my nr): http://xpn.altervista.org -- http://mail.python.org/mailman/listinfo/python-list
Finding user's home dir
Hi all, I'm trying to write a multiplatform function that tries to return the actual user home directory. I saw that os.path.expanduser("~") works on Linux but on Windows2000 (at least on the win I used) it returns %USERPROFILE%, so I tried os.environ["HOME"] and it gave me the same results. So I ended up with os.environ["USERPROFILE"], it doesn't work on Linux but (at least) on Windows2000 it returns the correct information I googled a little bit and it seems that there is no general solution, so I tried to merge what I found, and I wrote this little function: def getHomeDir(): ''' Try to find user's home directory, otherwise return current directory.''' try: path1=os.path.expanduser("~") except: path1="" try: path2=os.environ["HOME"] except: path2="" try: path3=os.environ["USERPROFILE"] except: path3="" if not os.path.exists(path1): if not os.path.exists(path2): if not os.path.exists(path3): return os.getcwd() else: return path3 else: return path2 else: return path1 Please, could you test it on your systems and tell me what you got? I'd like to know what it returns on different operating systems because I'm developing a multiplatform software. Thank you all. -- Unauthorized amphibians will be toad away. |\ | |HomePage : http://nem01.altervista.org | \|emesis |XPN (my nr): http://xpn.altervista.org -- http://mail.python.org/mailman/listinfo/python-list
Re: Finding user's home dir
Mentre io pensavo ad una intro simpatica "Miki Tebeka" scriveva: >> Hi all, I'm trying to write a multiplatform function that tries to >> return the actual user home directory. >> ... > What's wrong with: > from user import home > which does about what your code does. On my Win2000 box it returns "%USERPROFILE%". That's no surprise because if you look at the code it try to use os.environ["HOME"] (as os.path.expanduser() does). And on my Win2000 system this information points to "%USERPROFILE%" field (I don't know why, I'm not the administrator of that machine). -- Reality is for people who can't face science fiction. |\ | |HomePage : http://nem01.altervista.org | \|emesis |XPN (my nr): http://xpn.altervista.org -- http://mail.python.org/mailman/listinfo/python-list
Re: Finding user's home dir
Mentre io pensavo ad una intro simpatica "Peter Hansen" scriveva: > Miki Tebeka wrote: >>>Hi all, I'm trying to write a multiplatform function that tries to >>>return the actual user home directory. >>>... >> >> What's wrong with: >> from user import home >> which does about what your code does. > > :-) > > I suspect he simply didn't know about it. I didn't either... That's true :-D But as I said in the other post os.environ["HOME"] doesn't work on my Win2000 box. > Nemesis, please use the above recipe instead, as it makes > the more reasonable (IMHO) choice of checking for a HOME > environment variable before trying the expanduser("~") > approach. This covers folks like me who, though stuck > using Windows, despise the ridiculous Microsoft convention > of "user folders" named like "C:\Documents and Settings\Peter" > and prefer to create sensible folder like c:\users\peter > and set a HOME variable to point to it. Your approach > ignores our HOME variable. If you look at ntpath.py (I think this is the 'path' module on Windows 2000) in you Lib dir you'll see that expanduser does try os.environ["HOME"] So I'm not ignoring it, maybe it is redundant in my function. The problem is that expanduser and user.home doesn't test if the value returned is really a directory. > c:\>python > Python 2.4 (#60, Nov 30 2004, 11:49:19) [MSC v.1310 32 bit (Intel)] on win32 > >>> from user import home > >>> print home > c:\users\peter > > Yay! :-) on my box it returns "%USERPROFILE%" ;-) -- Forgive your enemies, but never forget their names. |\ | |HomePage : http://nem01.altervista.org | \|emesis |XPN (my nr): http://xpn.altervista.org -- http://mail.python.org/mailman/listinfo/python-list
[ANN] XPN 0.5.0 released
XPN (X Python Newsreader) is a multi-platform newsreader with Unicode support. It is written with Python+GTK. It has features like scoring/actions, X-Face and Face decoding, muting of quoted text, newsrc import/export, find article and search in the body, spoiler char/rot13, random taglines and configurable attribution lines. You can find it on: http://xpn.altervista.org/index-en.html or http://sf.net/projects/xpn Changes in this release: * added some checks on the validity of out-going articles, as required by the GNKSA2.0 * added Reply-To, Followup-To and Newsgroups headers in the Article Pane, as required by the GNKSA2.0 * added !setcolor action, it lets you modify the foreground and backgrounnd colors of the article. * added inverted rules, they are successfull when the match is not satisfied. * now is possible to disable the threaded view. * now sorting column in the Threads Pane is stored * the header parser has been rewritten * added double-click support when you subscribe/unsubscribe groups (thanks to Lethalman). * fixed a bug in the autowrap feature that created double lines in some circumstances. * now the "View Raw Article" is correctly stored. XPN is translated in Italian and French, if you'd like to translate it in your language and you are familiar with gettext and po-files editing please contact me ([EMAIL PROTECTED]). -- Calm down. It's only ones and zeros. |\ | |HomePage : http://nem01.altervista.org | \|emesis |XPN (my nr): http://xpn.altervista.org -- http://mail.python.org/mailman/listinfo/python-list
Re: [ANN] XPN 0.5.0 released
Mentre io pensavo ad una intro simpatica "Franz Steinhaeusler" scriveva: >>XPN (X Python Newsreader) is a multi-platform newsreader with Unicode >>support. It is written with Python+GTK. It has features like >>scoring/actions, X-Face and Face decoding, muting of quoted text, >>newsrc import/export, find article and search in the body, spoiler >>char/rot13, random taglines and configurable attribution lines. >>[...] > > Hello Nemesis, Hi Franz, > cool, thank you, I like Xpn. thanks > Even better would be, if the Application would be written > in wxPython :) Hmm, I don't think so, I like pyGTK very much :-D > Would it be possible to also customize the fonts in the > groups and threads pane (I'd like to have everywhere proportional > (monospaced fonts). Not at the moment, maybe in the future ... but of course if you can't wait you can modify the source by yourself, the files to modify are xpn_src/Groups_Pane.py and xpn_src/Threads_Pane.py just add the line import pango in the both the files, and then: at the end of Groups_Pane.py add this line (do not change the indentation): self.groups_list.modify_font(pango.FontDescription("monospace 10")) at the end of Threads_Pane.py add this line (do not change the indentation): self.threads_tree.modify_font(pango.FontDescription("monospace 10")) of course you can change the font description as you like. -- First things first, but not necessarily in that order. |\ | |HomePage : http://nem01.altervista.org | \|emesis |XPN (my nr): http://xpn.altervista.org -- http://mail.python.org/mailman/listinfo/python-list
rfc822 module bug?
Hi all, I found that the function parsedate_tz of the rfc822 module has a bug (or at least I think so). I found a usenet article (message-id: <[EMAIL PROTECTED]>) that has this Date field: Date: Tue,26 Jul 2005 13:14:27 GMT +0200 It seems to be correct¹, but parsedate_tz is not able to decode it, it is confused by the absence of a space after the ",". I studied the parsedate_tz code and the problem is on its third line: ... if not data: return None data = data.split() ... After the split I have: ['Tue,26', 'Jul', '2005', '13:14:27', 'GMT', '+0200'] but "Tue," and "26" should be separated. Of course parsedate_tz correctly decode the field if you add a space after the ",". Do you think that's a bug? Which is the most correct place where to file this bug? ¹ and looking at rfc822 par3.3 it should be correct: date-time = [ day-of-week "," ] date FWS time [CFWS] day-of-week = ([FWS] day-name) / obs-day-of-week day-name= "Mon" / "Tue" / "Wed" / "Thu" / "Fri" / "Sat" / "Sun" date= day month year -- A pat on the back is only a few centimeters from a kick in the butt. |\ | |HomePage : http://nem01.altervista.org | \|emesis |XPN (my nr): http://xpn.altervista.org -- http://mail.python.org/mailman/listinfo/python-list
Re: rfc822 module bug?
Mentre io pensavo ad una intro simpatica "Tim Roberts" scriveva: [rfc822 module bug] >>Date: Tue,26 Jul 2005 13:14:27 GMT +0200 >> >>It seems to be correct¹, but parsedate_tz is not able to decode it, it >>is confused by the absence of a space after the ",". > > Fascinating. I've written a lot of e-mail programs, and I would have bet > real money that this was not legal by either RFC822 or 2822, but the BNF > certainly supports your assertion that this is valid. [...] > This is actually from RFC2822, but the point is the same. Yes you are right of course. I think I'll submit this bug on the Python web-site. -- "Sfugge un braccio a Pessotto." (Amedeo Goria) |\ | |HomePage : http://nem01.altervista.org | \|emesis |XPN (my nr): http://xpn.altervista.org -- http://mail.python.org/mailman/listinfo/python-list
Re: Email client in Pyhton
Mentre io pensavo ad una intro simpatica "[EMAIL PROTECTED]" scriveva: > now i am planning to write a bear minimum email client in > pyhton. i found the smtp module of python could serve my > pupose. I can send message using mails using the smtp lib. > Now i'm looking for some modules which can help me in > fetching the mails from the mailserver and managing folders. > > I also look for some existing mail client, written in python > which wud serve my cause. Start reading related RFCs like RFC2822, RFC2045/6/7, RFC2231, RFC821 ... and then read Python documentation and you'll find that most of these RFC are supported/implemented by python modules like - email - smtlib - rfc822 As far I know the most complete mail client written in Python is Pyne, wich is a news/mail client written with PyGTK. I'm writing a newsreader (XPN), wich can send mail replies, maybe you can read its code. -- Never sleep with anyone crazier than yourself. |\ | |HomePage : http://nem01.altervista.org | \|emesis |XPN (my nr): http://xpn.altervista.org -- http://mail.python.org/mailman/listinfo/python-list
[ANN] XPN 0.4.5 released
XPN - X Python Newsreader is a multiplatform newsreader with unicode support. It is written in Python+PyGTK. It has features like scoring/actions, XFace and Face decoding and random taglines. You can find it on: http://xpn.altervista.org/index-en.html http://sf.net/projects/xpn Changes in this release: * added X-Face support (thanks to Andrew Taylor for helping me in the translation of his javascript port of uncompface, and to Alien321 for telling me about the Mnheny Thunderbird extension) * added Face support (note you can't send Faces, because this is a non standard header). * added i18n support with gettext. At the moment the supported languages are Italian and French (thanks to Guillaume Bedot for the code and for the French translation) * rewrote NNTP connection handler as an externale module. Now it should be more readable and more reliable. * some refinements in watch/ignore/mark features * fixed some quirk behaviours in the wrapping feature. Now the live wrapping should work better. * added Subject based threading, it's used when References based threading fails * now XPN can generate Message-IDs, and you can also use a personal [pseudo-]FQDN. * added command line options, now you can run xpn with "-d" option and it will store articles and configs files inside a .xpn directory in your home-dir. (thanks to Guillaume Bedot for the code) * added a simple outbox, you can store your articles in it when you are offline and then send them when you estabilish the connection with the server. * now XPN should autmatically repair its database when it gets corrupted. * some fixes for Supersede/Cancel features * now you can select multiple row in groups list. So for instance you can subscribe more than one group with one click, or you can use the new "download new headers in selected groups". * now you can use a different From field when you reply by mail * fixed a bug introduced in the previous release that caused a crash trying to use a NickName with extended characters in it. -- He who attacks my ideas attacks democracy itself. |\ | |HomePage : http://nem01.altervista.org | \|emesis |XPN (my nr): http://xpn.altervista.org -- http://mail.python.org/mailman/listinfo/python-list
Re: Ideas for projects
Mentre io pensavo ad una intro simpatica "Phillip Bowden" scriveva: > I feel that I've learned the language pretty well, but I'm having > trouble thinking of a medium to large project to start. What are some > projects that you have written in the past with Python? Hmm I wrote this: 1) Internet Timer (it counts the time you are connected to Internet) 2) MultiSetiWatch (reads the state of multiple SETI clients) 3) XPN (it is a newsreader, I'm still writing it) I've always worked on things that interested me or things I needed. -- Alone: In bad company. |\ | |HomePage : http://nem01.altervista.org | \|emesis |XPN (my nr): http://xpn.altervista.org -- http://mail.python.org/mailman/listinfo/python-list
Re: Python 2.4 killing commercial Windows Python development ?
Mentre io pensavo ad una intro simpatica "Michael Kearns" scriveva: > I've been using python to write a simple 'launcher' for one of our Java > applications for quite a while now. I recently updated it to use python > 2.4, and all seemed well. > Today, one of my colleagues noted that on her machine the launcher would > complain it was missing a DLL - msvcr71.dll I have the same problem. But I have a doubt, does Python installer ship this dll? What happens if I try to install Python2.4 on a system wich doesn't have the dll? -- The complete lack of evidence is the surest sign that the conspiracy is working. |\ | |HomePage : http://nem01.altervista.org | \|emesis |XPN (my nr): http://xpn.altervista.org -- http://mail.python.org/mailman/listinfo/python-list
Re: Python 2.4 killing commercial Windows Python development ?
Mentre io pensavo ad una intro simpatica "Martin v. Löwis" scriveva: >> What happens if I try to install Python2.4 on a system wich doesn't have >> the dll? > It will just work. Python installs the DLL if it is missing, and leaves > it alone (just incrementing the refcount) if it is present on the target > system. OK, so the python installer _does_ ship this dll. So also the win installer has the redistribution problem, or does they pay for redistributing msvcr71.dll? -- Computers follow your orders, not your intentions. |\ | |HomePage : http://nem01.altervista.org | \|emesis |XPN (my nr): http://xpn.altervista.org -- http://mail.python.org/mailman/listinfo/python-list
Re: Python 2.4 killing commercial Windows Python development ?
Mentre io pensavo ad una intro simpatica "Fredrik Lundh" scriveva: >> It will just work. Python installs the DLL if it is missing, and leaves >> it alone (just incrementing the refcount) if it is present on the target >> system. > installs it where? the MS docs seem to indicate that they want you to install > it in the program directory, rather than in a "shared" location: As far I remember the Python installer copies this dll in the system32 folder if you install Python as Administrator, instead it leaves the dll inside the Python folder if you install Python as User. -- As a computer, I find your faith in technology amusing. |\ | |HomePage : http://nem01.altervista.org | \|emesis |XPN (my nr): http://xpn.altervista.org -- http://mail.python.org/mailman/listinfo/python-list
filename used by shelve
In the python docs about shelve module I read: - open( filename[,flag='c'[,protocol=None[,writeback=False[,binary=None) Open a persistent dictionary. The filename specified is the base filename for the underlying database. As a side-effect, an extension may be added to the filename and more than one file may be created. - So the real filename may be different from the argument passed to "open". I have this problem, I want to delete (in some circustances) the file created by shelve.open, how can I know which is the name of this file (or files) ? -- I'm not a complete idiot - several parts are missing. |\ | |HomePage : http://nem01.altervista.org | \|emesis |XPN (my nr): http://xpn.altervista.org -- http://mail.python.org/mailman/listinfo/python-list
Re: filename used by shelve
Mentre io pensavo ad una intro simpatica "Fredrik Lundh" scriveva: >> So the real filename may be different from the argument passed to >> "open". I have this problem, I want to delete (in some circustances) the >> file created by shelve.open, how can I know which is the name of this >> file (or files) ? > if you put the shelve in a subdirectory, and nuke the entire directory when > done, you don't have to know the names. > > dbfile = "mydatabase" > if not os.path.isdir(dbfile): > os.makedirs(dbfile) > db = shelve.open(os.path.join(dbfile, "data"), ...) > shutil.rmtree(dbfile) Hmm, this is a good idea. Thanks. Anyway I think that shelve should provide a method which returns the files used by the backend database, and the argument "filename" can confuse users, it should be named "dbname". -- Are crop circles the work of a cereal killer? |\ | |HomePage : http://nem01.altervista.org | \|emesis |XPN (my nr): http://xpn.altervista.org -- http://mail.python.org/mailman/listinfo/python-list
[ANN] XPN 0.5.7 released
XPN (X Python Newsreader) is a multi-platform newsreader with Unicode support. It is written with Python+GTK. It has features like scoring/actions, X-Face and Face decoding, muting of quoted text, newsrc import/export, find article and search in the body, spoiler char/rot13, random taglines and configurable attribution lines. You can find it on: http://xpn.altervista.org/index-en.html or http://sf.net/projects/xpn Changes in this release: * fixed a bug that caused XPN not to open empty articles * fixed a bug that occurs with newer GTK releases that caused XPN not to show bold face fonts in Groups Pane and Threads Pane * added a key-combo that lets you scroll up the article * fixed an issue with orderings save. * reorganized and changed the appearance of the Config Window * changed the appearance of the Score Window * changed the way article headers and X-Face are shown in the Article Pane * added a groups context menu * added some new voices in the threads context menu XPN is translated in Italian French and German, if you'd like to translate it in your language and you are familiar with gettext and po-files editing please contact me ([EMAIL PROTECTED]). -- Never run after buses or women: you'll always get left behind. |\ | |HomePage : http://nem01.altervista.org | \|emesis |XPN (my nr): http://xpn.altervista.org -- http://mail.python.org/mailman/listinfo/python-list
[ANN] XPN 0.6.5 released
XPN (X Python Newsreader) is a multi-platform newsreader with Unicode support. It is written with Python+GTK. It has features like scoring/actions, X-Face and Face decoding, muting of quoted text, newsrc import/export, find article and search in the body, spoiler char/rot13, random taglines and configurable attribution lines. You can find it on: http://xpn.altervista.org/index-en.html or http://sf.net/projects/xpn Changes in this release: * v0.6.5: now is possible to customize the keyboad shortcuts. XPN will also check for duplicated shortcuts * v0.6.5: added a new way to show threads, now is possible to put the threads expander in the From column * v0.6.5: now is possible to subscribe a group writing its name manually so you don't have to download the groups list * v0.6.5: now is possible to limit the number of articles headers to download with the Get New Headers function * v0.6.5: now is possible to choose the headers to show in the Article Pane, and the background color of this area now is customizable * v0.6.5: added two new layouts for the main window * v0.6.5: now is possible to re-apply the scoring/action rules on the articles you have already downloaded. * v0.6.5: fixed a bug in the Config Window that caused XPN not to change the color for URLs. * v0.6.5: fixed a bug that caused XPN not open the next article when the first thread was selected and collapsed * v0.6.5: fixed a bug in the View Parent function * v0.6.5: fixed a bug in the Export Newsrc function, that caused ad crash trying to export groups with 0 articles inside. XPN is translated in Italian French and German, if you'd like to translate it in your language and you are familiar with gettext and po-files editing please contact me ([EMAIL PROTECTED]). -- I got real close to seeing Elvis, but my shovel broke. |\ | |HomePage : http://nem01.altervista.org | \|emesis |XPN (my nr): http://xpn.altervista.org -- http://mail.python.org/mailman/listinfo/python-list
Re: [ANN] XPN 0.6.5 released
Mentre io pensavo ad una intro simpatica "Nemesis" scriveva: > XPN (X Python Newsreader) is a multi-platform newsreader with Unicode > support. It is written with Python+GTK. It has features like > scoring/actions, X-Face and Face decoding, muting of quoted text, > newsrc import/export, find article and search in the body, spoiler > char/rot13, random taglines and configurable attribution lines. > Changes in this release: I'm sorry but I forgot to write that the article format is changed, so if you want to keep your old articles you should perform a "Export Newsrc" with the old XPN version and then a "Import Newsrc" with the newer one. -- Redneck: (n); a person whose family tree doesn't fork. |\ | |HomePage : http://nem01.altervista.org | \|emesis |XPN (my nr): http://xpn.altervista.org -- http://mail.python.org/mailman/listinfo/python-list
Re: [ANN] XPN 0.6.5 released
Mentre io pensavo ad una intro simpatica "Franz Steinhaeusler" scriveva: >>XPN (X Python Newsreader) is a multi-platform newsreader with Unicode [...] > Hello Nemesis, > that is a great program, thank you. Thanks. > I will try to use it and also attempt to > customize it, so that it works like forte agent. > Even better would it be to have it in wxPython I disagree :-D > Some little points: > > There is no progress bar or other info, if I subscribe one list. > There is a little in the lower left corner, but if a lot of headers > and bodies are received, the program seems to hang. > I actually killed it, because I thought that hanging. XPN is monothreaded, so when it is downloading the headers (it is a monolotic job) the progress bar can't be updated. > It would be nice, if I click on the groups pane another group, > the messages appear immediatly, without needing to double click the > group. You can configure this behaviour, in the Configure Window go to "Misc"->"Miscellaneous" and you'll find two check buttons One Click Enter Group One Click Enter Article > When composing messages, the tab size is 8. It would be nice to > have the possibility to adjust this size. Hmm, it is a GTK default I don't know if I can change it, I'll check it. -- I don't have a solution but I admire the problem. |\ | |HomePage : http://nem01.altervista.org | \|emesis |XPN (my nr): http://xpn.altervista.org -- http://mail.python.org/mailman/listinfo/python-list
Re: XPN 0.6.5 released
Marc 'BlackJack' Rintsch wrote: > > XPN is monothreaded, so when it is downloading the headers (it is a > > monolotic job) the progress bar can't be updated. > Why? I guess there's a loop involved. Can't you update the GUI after > each message? If you use the "Donwload New Headers" function XPN will download the header for the subscribed groups, for each group it has to send the NNTP command XOVER to retrieve the new headers. For each group I update the interface when the XOVER command ends, so the interface gets updated betweenfor every group but if there are a lot of new headers the XOVER command can take a lot of time ... and during this time I can't update the interface. This is the pseudo-code for group in subscribed: nntplib.xover(group) statusbar.push("Downloaded ...") gtk.update_interface() -- http://mail.python.org/mailman/listinfo/python-list
Re: XPN 0.6.5 released
Franz Steinhaeusler wrote: > A few other notes (or should I post into the feature requests on > sourceforge?) To be honest I do not check sourceforge forums very often. If you want you can also send me an email (the email is written in the readme file). > little point: I find it superfluos on the header pane, to always have > the term "Re:" before (it would probaly easier to read without this > text). Maybe that's true ... but I tend not to modify the informations I show, I like not to elaborate to much the articles. > an option possibly (as in agent): if you click on the tree the "+" sign, > it would be more convenient (for me) to open *all* subbranches, this > means show all responses headers for this thread. I should change the behaviour of the expander and that's not a correct way of acting. You can expand the whole thread with the command "Expand Selected Subthread" in the "Subscribed Groups" menu (or on the Toolbar). If you want you can associate a shortcut to this function ... there is also a standard GTK shortcut for this function SHIFT+CTRL+NUMPAD_PLUS where NUMPAD_PLUS is the plus key on the numpad. > if you change the groups, it would be nice to remember the position of > the last readed thread in the header pane, which means changing forth > and back to a certain group (as option for example). that's an optimization I've thinking about for a while ... but at the moment I don't know how to implement it. -- http://mail.python.org/mailman/listinfo/python-list
Re: XPN 0.6.5 released
Mentre io pensavo ad una intro simpatica "Franz Steinhäusler" scriveva: > Ah, great. I changed, this was not working immediatly. > So I remembered, most often you have to restart the App, and so its is > working. Here is working fine. > Small Notice: There was the warning then: Another Instance is running, > I pressed yes. XPN uses the file xpn.lock to see if there is another istance running, if the program is not closed correctly it doesn't remove this file so you get the warning. >>that's an optimization I've thinking about for a while ... but at the >>moment I don't know how to implement it. > I see, you have to remember after refreshing the list the position and > the state of the folding. I can imagine, this is not trivial. That's right. You should also remember the open/closed threads ... at least the one with the article selected. > I'm sure, I will discover some more useful things about your program! > In some cases, it already beats forte agent! Thank you. Agent is (was) a great software I've been using it for a long time. > > Some remarks: > * threads are somtimes not assigned correctly, this means, that > one thread is divided into two. > I subscribed to wxPyhton mailing list in gmane, and there is: > One thread > Applications written in wxPyhton > and another > RE: Applications written in wxPyhton threading is based on the References header and then on the subject, you can have problems with mailing-lists cause mail-agents sometimes do not produce the References header but only the In-Reply-To. Another problem could be the date, before building the threads XPN reorders the articles by date ... but if the date in the article is wrong it can confuse the threads. > but this (is) or should be *one* thread. Yes. > * the enter key is not working in some dialogs (for example in search) > and Esc to cancel the dialog. (or is that a gkt issue?) It's a focus issue, in the search dialog the focus is set on the entry. The Esc key is not binded to any button by default. > * the find dialog is sometimes not working What exactly is not working? > * to mark more than one article at one time (to be able to mark > multiple articles at one as read, ...) Yes but selecting more then one article introduces some difficulties I preferred to avoid for the moment ;-) -- Le donne spesso non sanno d'essere sedute sulla loro fortuna. |\ | |HomePage : http://nem01.altervista.org | \|emesis |XPN (my nr): http://xpn.altervista.org -- http://mail.python.org/mailman/listinfo/python-list
Re: XPN 0.6.5 released
Mentre io pensavo ad una intro simpatica "Franz Steinhäusler" scriveva: > For the find, I personally would prefer to jump default to "body", > but this is of course a matter of taste. Do you mean you would like the focus to be set on the "body" search field? > I dos prompt, all the time the prompt doesn't return anymore > (are there still open windows)? > > > I quit with ctrl-break: > > Traceback (most recent call last): > > File "c:\Programme\xpn\xpn.py", line 507, in destroy > > self.purge_groups() > > File "c:\Programme\xpn\xpn.py", line 2456, in purge_groups > > articles.update(articles_dict) > > File "C:\Python24\lib\UserDict.py", line 147, in update > > self[k] = v > > File "c:\Python24\lib\shelve.py", line 129, in __setitem__ > > p.dump(value) > > KeyboardInterrupt I don't know how "CTRL+break" interact with XPN, it's better to close it with its exit function "CTRL+E". > I changed the key Find message to ctrl f, and then I restart, I got: > > > Traceback (most recent call last): > File "c:\Programme\xpn\xpn.py", line 2987, in ? > main=MainWin(options.use_home,options.custom_dir) > File "c:\Programme\xpn\xpn.py", line 2917, in __init__ > self.show_subscribed() > File "c:\Programme\xpn\xpn.py", line 557, in show_subscribed > total=len(articles.keys()) > File "c:\Python24\lib\shelve.py", line 98, in keys > return self.dict.keys() > File "C:\Python24\lib\bsddb\__init__.py", line 238, in keys > return self.db.keys() > DBPageNotFoundError: (-30988, 'DB_PAGE_NOTFOUND: Requested page not > found') > I cannot start the program anymore. > > maybe it has something to to with shortcuts.dat. > (I don't know). No I don't think it is related to the shortcuts, it seems that your articles db is corrupted, it got broken when the application has been closed not in the right way. -- You can tune a guitar, but you can't tuna fish. |\ | |HomePage : http://nem01.altervista.org | \|emesis |XPN (my nr): http://xpn.altervista.org -- http://mail.python.org/mailman/listinfo/python-list
Re: XPN 0.6.5 released
Mentre io pensavo ad una intro simpatica "Franz Steinhäusler" scriveva: >>> For the find, I personally would prefer to jump default to "body", >>> but this is of course a matter of taste. >>Do you mean you would like the focus to be set on the "body" search >>field? > Yes, that I meant. OK .. then it's a matter of taste ;-) >>I don't know how "CTRL+break" interact with XPN, it's better to close it >>with its exit function "CTRL+E". > > Because it hanged. The dos prompt didn't return, so I have to > type ctrl-c or ctrl-break to get the prompt back. Ah, maybe it was still purging the groups, did you have groups with lots of articles? -- "Di Vaio fa fuori Bonomi e spara". (Pierpaolo Cattozzi) |\ | |HomePage : http://nem01.altervista.org | \|emesis |XPN (my nr): http://xpn.altervista.org -- http://mail.python.org/mailman/listinfo/python-list
Re: XPN 0.6.5 released
Mentre io pensavo ad una intro simpatica "Franz Steinhäusler" scriveva: >>> Ah, great. I changed, this was not working immediatly. >>> So I remembered, most often you have to restart the App, and so its is >>> working. >>Here is working fine. > I am on windows, is there maybe a difference (?). I don't think so, I use XPN alo on Win2000 and WinXP and this shortcut works fine on Windows too. [threading] > Aha, I don't understand all the details anyway, in Forte the same > thread was ordered in. The References header contains the Message-id of the article as they appear in the thread, the last message-id in the references field is the message-id of the parent article. In-Reply-To is similar ... but it contains only the message-id of the parent article, it is not a standard usenet header it is used by mail-agents. I use only References to build threads ... maybe Agent uses also In-Reply-To. >>It's a focus issue, in the search dialog the focus is set on the entry. >>The Esc key is not binded to any button by default. > That would be convenient, pressing "Enter" to perform the awaited > process and cancel to abandon the dialogue. But in the search dialog before you start the search you have to write what you are searching ... so the software must be set on the entry. > If you don't mind, I will make a thorough test :-) > I don't want to bother more than necessary. > I want to make it happen, that XPN will be my "default" Newsreader!!! > Many thanks again for your answers and this wonderful piece of > sofware! Thank you for your suggestions. -- A user and his leisure time are soon parted. |\ | |HomePage : http://nem01.altervista.org | \|emesis |XPN (my nr): http://xpn.altervista.org -- http://mail.python.org/mailman/listinfo/python-list
Re: XPN 0.6.5 released
Mentre io pensavo ad una intro simpatica "Franz Steinhaeusler" scriveva: > Hello Nemesis, > > > this I post with XPN! ;) Good :-) > My next try was a second newsserver. > (It would be nice to have it in one installation, > but priority is not so high) > > I have XPN in one directorry (for my default newsserver) > and I installed XPN in a second directory for Gmane. It is not necessary, if you are using the source version (and since we are on comp.lang.python I think so) you can use the command line option -c python xpn.py -c your_dir and XPN will store its configs and data in this directory. > A user defineable Title bar as in Agent would be good. > (Then I could name the first instance "My News" or so, and the > second one "Gmane". So easier navigating in Windows and also > the tips in the task bar could be helpful for that. you can tweak the code if you want ;-) the file is xpn.py > The line spacing (vertically) in the header is a little higher than in > wxPython programs or also in Forte agent. I suspect, this is a > "feature" in PyGtk. narrower lines would display more headers, this > means more headers would be visible at once. but maybe the view will be a little more messed ... anyway I'm not sure I can change the size, maybe it depends on the font size. > Is Saving attachments possible? I didn't see a menu point, nor are the threads > are marked, having an attachment. no, XPN is definitively text-oriented. I'm not supporting attachments in any way. > An option to set X-No Archive default in the subscribed groups would be > nice. I don't like X-No-Archive ... but anyway you can set you custome header to be used in every post you send in the Config Window (Posting tab) Only an open thought: [plugins] > Would such an idea make sense for XPN? yes but I should implement in some way the plugin support ... and I don't know how to do it. > XPN seems pretty stable and I enjoy this program more and more! thank you very much. -- "Se dovessi rinascere, farei l'idraulico." (Albert Einstein) |\ | |HomePage : http://nem01.altervista.org | \|emesis |XPN (my nr): http://xpn.altervista.org -- http://mail.python.org/mailman/listinfo/python-list
[ANN] XPN 0.4.6
XPN (X Python Newsreader XPN) is a multi-platform newsreader with Unicode support. It has features like scoring/actions, X-Face and Face decoding, muting of quoted text, newsrc import/export, find article and search in the body, spoiler char/rot13, random taglines, and configurable attribution lines. You can find it here: http://xpn.altervista.org/index-en.html http://sf.net/projects/xpn This is mainly a bug-fix release. Any feedback or help is really appreciated. If you want to translate XPN in your language you'll find the XPN.pot file inside the "lang" directory. New in the release: * v0.4.6: improved speed in article retrieving. * v0.4.6: added an indicator of unread articles in thread, now you don't have to open the thread in order to know if it contains unread articles. * v0.4.6: now the "CANCEL" works again, and "SUPERSEDE" lets you re-edit the original article text. * v0.4.6: fixed some pygtk issues, now XPN works correctly also with pygtk2.6 (and GTK2.6) * v0.4.6: fixed a bug in the "Edit Mail" window that caused some errors when closing the window. * v0.4.6: now the Error Dialog is shown also when XPN isn't able to start (thanks to Antonio Valentino). * v0.4.6: fixed some issues with shelve module that caused problems on some FreeBSD systems. * v0.4.6: some improvements in the french translation (thanks to Patrick Lamaiziere) * v0.4.6: some changes in the "raw view" management. * v0.4.6: changed subversion -- I Used To Be Schizophrenic, But We're OK Now. |\ | |HomePage : http://nem01.altervista.org | \|emesis |XPN (my nr): http://xpn.altervista.org -- http://mail.python.org/mailman/listinfo/python-list
Re: [ANN] XPN 0.4.6
Mentre io pensavo ad una intro simpatica "Irmen de Jong" scriveva: >> XPN (X Python Newsreader XPN) is a multi-platform newsreader with >> Unicode support. It has features like scoring/actions, X-Face and Face >> decoding, muting of quoted text, newsrc import/export, find article and >> search in the body, spoiler char/rot13, random taglines, and >> configurable attribution lines. > > Wow, nice work! Thanks. > I'm using Thunderbird and am very happy with that, but > looking quickly at your website it seems that XPN is a very > nice application. Will it work on windows? It's not > immediately clear to me... Yes of course. You have thre options on Windowns: 1) You have already installed Python + GTK + pyGTK. In this case just use XPN source version. 2) You have installed GTK but not Python (I don't think this is your case ^__-). In this case you can use the binary version without GTK (the one large 2 MByte). 3) You don't have GTK and Python. In this case simply use the binary version (the larger one). -- I'm not unemployed... I'm a consultant. |\ | |HomePage : http://nem01.altervista.org | \|emesis |XPN (my nr): http://xpn.altervista.org -- http://mail.python.org/mailman/listinfo/python-list
[ANN] XPN 0.7.0
XPN (X Python Newsreader) is a multi-platform newsreader with Unicode support. It is written with Python+GTK. It has features like scoring/actions, X-Face and Face decoding, muting of quoted text, newsrc import/export, find article and search in the body, spoiler char/rot13, random taglines and configurable attribution lines. You can find it on: http://xpn.altervista.org/index-en.html or http://sf.net/projects/xpn Changes in this release: * v0.7.0: added basic multiserver support. This change has required some modifications to the groups db format, in order to keep your subscriptions you need to export to a newsrc file from XPN-0.6.5 and reimport it in XPN-0.7.0. * v0.7.0: now is possible to use Function keys for customized keybindings * v0.7.0: modified the command used to test the connection in order to prevent hamster hang-ups. * v0.7.0: fixed a bug that caused XPN to crash trying to export newsrc file with empty groups subscribed. * v0.7.0: fixed a bug in "Apply Scoring and Actions Rules" feature that caused XPN crashes trying to apply !kill rule. * v0.7.0: some minor fixes. XPN is translated in Italian French and German, if you'd like to translate it in your language and you are familiar with gettext and po-files editing please contact me ([EMAIL PROTECTED]). -- I may not have gone where I intended to go, but I think I have ended up where I needed to be. |\ | |HomePage : http://nem01.altervista.org | \|emesis |XPN (my nr): http://xpn.altervista.org -- http://mail.python.org/mailman/listinfo/python-list
[ANN] XPN 1.0.0 released
XPN (X Python Newsreader) is a multi-platform newsreader with Unicode support. It is written with Python+GTK. It has features like scoring/actions, X-Face and Face decoding, muting of quoted text, newsrc import/export, find article and search in the body, spoiler char/rot13, random taglines and configurable attribution lines. You can find it on: http://xpn.altervista.org/index-en.html or http://sf.net/projects/xpn Changes in this release: * v1.0.0: added multi-identity support This change has required some modifications to the groups db format, in order to keep your subscriptions you need to export to a newsrc file from XPN-0.7.0 and reimport it in XPN-1.0.0. * v1.0.0: added nineteen new layouts * v1.0.0: fixed a bug that made garbled the X-Faces in replies * v1.0.0: merged a patch from Facundo Batista that lets me work on Threads objects. Its first application is the 'View Option' 'Show All Read Threads' that lets you hide/show threads with all read articles. * v1.0.0: eventually GTK supports the long awaited set_enable_tree_lines property, that shows connecting lines between articles in the same thread * v1.0.0: some minor fixes. XPN is translated in Italian French and German, if you'd like to translate it in your language and you are familiar with gettext and po-files editing please contact me ([EMAIL PROTECTED]). -- The average person thinks he isn't. -- http://mail.python.org/mailman/listinfo/python-list
Re: identifying and parsing string in text file
[EMAIL PROTECTED] wrote: > I have a large file that has many lines like this, > > name="DoseReferenceStructureType">SITE > > I would like to identify the line by the tag (300a,0014) and then grab > the name (DoseReferenceStructureType) and value (SITE). > > I would like to create a file that would have the structure, > > DoseReferenceStructureType = Site > ... > ... You should try with Regular Expressions or if it is something like xml there is for sure a library you can you to parse it ... anyway you can try something simpler like this: elem_dic=dict() for line in open(str(sys.argv[1])): line_splitted=line.split() for item in line_splitted: item_splitted=item.split("=") if len(item_splitted)>1: elem_dic[item_splitted[0]]=item_splitted[1] ... then you have to retrieve from the dict the items you need, for example, with the line you posted you obtain these items splitted: ['SITE'] and elem_dic will contain the last five, with the keys 'tag','vr','vm','len','name' and teh values 300a,0014 etc etc i.e. this: {'vr': '"CS"', 'tag': '"300a,0014"', 'vm': '"1"', 'len': '"4"', 'name': '"DoseReferenceStructureType">SITE'} -- Age is not a particularly interesting subject. Anyone can get old. All you have to do is live long enough. -- http://mail.python.org/mailman/listinfo/python-list
[ANN] XPN 1.2.6
XPN (X Python Newsreader) is a multi-platform newsreader with Unicode support. It is written with Python+GTK. It has features like scoring/actions, X-Face and Face decoding, muting of quoted text, newsrc import/export, find article and search in the body, spoiler char/rot13, random taglines and configurable attribution lines. You can find it on: http://xpn.altervista.org/index-en.html or http://sf.net/projects/xpn Changes in this release: * v1.2.6: Now threads with unread watched articles are underlined * v1.2.6: added a visualization option that lets you hide threads without watched articles * v1.2.6: fixed a bug that caused XPN not to kill old articles reapplying rules * v1.2.6: fixed a bug that caused crashes when using ID with extended chars XPN is translated in Italian French and German, if you'd like to translate it in your language and you are familiar with gettext and po-files editing please contact me (x...@altervista.org). -- To succeed in the world it is not enough to be stupid, you must also be well-mannered. _ _ _ | \| |___ _ __ ___ __(_)___ | .` / -_) ' \/ -_|_-< (_-< |_|\_\___|_|_|_\___/__/_/__/ http://xpn.altervista.org -- http://mail.python.org/mailman/listinfo/python-list
Re: Does Python 2.5.2's embedded SQLite support full text searching?
Ed Leafe wrote: >> Sqlite itself is not distributed with python. Only a python db api >> compliant wrapper is part of the python stdlib and as such it is >> completely independent of the sqlite build. > > Don't most binary distributions include SQLite itself? I installed > 2.5.2 on a new WinXP VM, and SQLite is working fine. So did I. I installed py2.5.2 on windows and didn't install SQLite, and I'm using the module sqlitedb without problems. -- Let us make a special effort to stop communicating with each other, so we can have some conversation. _ _ _ | \| |___ _ __ ___ __(_)___ | .` / -_) ' \/ -_|_-< (_-< |_|\_\___|_|_|_\___/__/_/__/ http://xpn.altervista.org -- http://mail.python.org/mailman/listinfo/python-list
Re: nntplib retrieve news://FULL_URL
[EMAIL PROTECTED] wrote: > So I have established a connection to an nntp server and I am > retrieving articles to other articles on the server such as > news://newsclip.ap.org/[EMAIL PROTECTED] > > Now I am wondering how I query for that article based off of the url? > > I assume D8L4MFAG0 is an id of some sort but when I try and retrieve > that article via myNntpObject.article('D8L4MFAG0') I get an error of > 423 Bad article number. Which makes sense as all the other article > numbers are integers. You should study a little bit NNTP RFCs ;-) Anyway [EMAIL PROTECTED] could be the Message-ID of the article, a 'unique' identifier associated to each article, while the Article Number is unique on the server (but it changes on different servers). the nntplib NNTP.article command can accept either Message-ID or Number as argument, but if you want to use Message-ID you need to enclose it in brackets <>. So in your case this query should work: myNntpObject.article('<[EMAIL PROTECTED]>') Regards. -- Love is an irresistible desire to be irresistibly desired. _ _ _ | \| |___ _ __ ___ __(_)___ | .` / -_) ' \/ -_|_-< (_-< |_|\_\___|_|_|_\___/__/_/__/ http://xpn.altervista.org -- http://mail.python.org/mailman/listinfo/python-list
[ANN] XPN 1.2.5
XPN (X Python Newsreader) is a multi-platform newsreader with Unicode support. It is written with Python+GTK. It has features like scoring/actions, X-Face and Face decoding, muting of quoted text, newsrc import/export, find article and search in the body, spoiler char/rot13, random taglines and configurable attribution lines. You can find it on: http://xpn.altervista.org/index-en.html or http://sf.net/projects/xpn Changes in this release: * v1.2.5: rewritten the articles management, now the articles are stored in a SQLite dB. Articles management now is faster and easier. Your xpn-1.0.0 groups and articles will be automatically imported and converted to the new format. * v1.2.5: added a filter toolbar that lets you filter the articles by Subject From and Body content. * v1.2.5: improved the algorithm used to build the discussion threads * v1.2.5: revisited the menus and some windows * v1.2.5: added automatic headers download every tot minutes * v1.2.5: some minor fixes and refinements. XPN is translated in Italian French and German, if you'd like to translate it in your language and you are familiar with gettext and po-files editing please contact me ([EMAIL PROTECTED]). -- Some memories are best forgotten _ _ _ | \| |___ _ __ ___ __(_)___ | .` / -_) ' \/ -_|_-< (_-< |_|\_\___|_|_|_\___/__/_/__/ http://xpn.altervista.org -- http://mail.python.org/mailman/listinfo/python-list
Re: XPN 1.2.5
On Sep 18, 3:17 pm, pataphor <[EMAIL PROTECTED]> wrote: > >XPN(X Python Newsreader) is a multi-platform newsreader with Unicode > > support. It is written with Python+GTK. It has features like > > scoring/actions, X-Face and Face decoding, muting of quoted text, > > newsrc import/export, find article and search in the body, spoiler > > char/rot13, random taglines and configurable attribution lines. > > Thanks! It works great. thank you :-) > What I especially like about it is that it can > be run from the directory it is in, without needing to be installed. I dislike installation procedures ;-) > But anyway, I can now run it from anywhere and I'm really looking > forward to start tinkering with whatever other functionality I can > think of to add to it, but unfortunately it is rather complete :-) . there is always space for improvements, and some help would be very apreciated. What could be improved is the speed and the code should be also refactored. > Did you know there is a tab in Articles_DB.py line 8? :-) Ducking ... NO! thank you, damned tabs. -- http://mail.python.org/mailman/listinfo/python-list
[ANN] XPN 0.5.6
XPN (X Python Newsreader) is a multi-platform newsreader with Unicode support. It is written with Python+GTK. It has features like scoring/actions, X-Face and Face decoding, muting of quoted text, newsrc import/export, find article and search in the body, spoiler char/rot13, random taglines and configurable attribution lines. You can find it on: http://xpn.altervista.org/index-en.html or http://sf.net/projects/xpn Changes in this release: * added message-id recognition. Now XPN tries to recognize message-ids in the text and make them clickable in order to open a search window. * added a dialog window that informs you when XPN downloads new articles in watched threads. * some improvements in Global Search, now is possible to perform multiple searches. * now XPN checks if there are other istances running (it uses the file xpn.lock in the XPN directory). This behaviour should prevent database break off. * some fixes in the Score Window * fixed some bugs in header management * fixed a bug that caused crashes with multipart articles with email attached XPN is translated in Italian French and German, if you'd like to translate it in your language and you are familiar with gettext and po-files editing please contact me ([EMAIL PROTECTED]). -- No wanna work. Wanna bang on keyboard. |\ | |HomePage : http://nem01.altervista.org | \|emesis |XPN (my nr): http://xpn.altervista.org -- http://mail.python.org/mailman/listinfo/python-list
Re: Xah's Edu Corner: The Concepts and Confusions of Pre-fix, In-fix, Post-fix and Fully Functional Notations
Mentre io pensavo ad una intro simpatica "Roedy Green" scriveva: >>Hmmm... it displays fine via google groups. Maybe it's the reader which >>is 'non-compliant' ? > I am using Agent. You configure your database with an encoding, > which is by default the platform encoding, not UTF-8. I have just > flipped it over to UTF-8. We'll see if that makes Xah's future UTF-8 > messages more readable. Agent uses this 'charset' to decode articles with no 'charset' declared. In the OP article the charset is correctly declared so Agent should decode it without problems ... perhaps your Agent is not configured in the right way, maybe you are forcing it to use your charset instead of the declared one. -- Do not attempt to traverse a chasm in two leaps. |\ | |HomePage : http://nem01.altervista.org | \|emesis |XPN (my nr): http://xpn.altervista.org -- http://mail.python.org/mailman/listinfo/python-list