Re: retrieving ATOM/FSS feeds

2007-08-13 Thread _spitFIRE
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lawrence Oluyede wrote: If the content producer doesn't provide the full article via RSS/ATOM there's no way you can get it from there. Search for full content feeds if any, otherwise get the article URL and feed it to BeautifulSoup to scrape the

retrieving ATOM/FSS feeds

2007-08-12 Thread _spitFIRE
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm using feedparser library to parser ATOM/RSS feeds. However, I don't get the entire post! but only summaries! How do I retrieve the entire feed? I believe that the parser library should have support for doing that or the specification should

Re: which IDE is highly recommended in Windows OS

2007-08-12 Thread _spitFIRE
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ge Chunyuan wrote: hi Group: I am a new comer for Python, I wonder which IDE is recommended in Windows OS. Can anyone give some suggestion. Thanks indeed Ge Chunyuan - - Stani's Python Editor

SMTP server w/o using Twisted framework

2007-07-05 Thread _spitFIRE
Is it possible to run a SMTP server that sends mail to recipients using standard libraries, without using twisted framework, and also without using any relay server? -- http://mail.python.org/mailman/listinfo/python-list

Re: SMTP server w/o using Twisted framework

2007-07-05 Thread _spitFIRE
On Jul 5, 1:34 pm, Jeff McNeil [EMAIL PROTECTED] wrote: If you just want to send mail, you should be able to use the standard smtplib module (http://docs.python.org/lib/module-smtplib.html). If your recipients are on the Internet, you would need to handle MX resolution yourself. How

Re: SMTP server w/o using Twisted framework

2007-07-05 Thread _spitFIRE
On Jul 5, 2:21 pm, Jean-Paul Calderone [EMAIL PROTECTED] wrote: You need to do a DNS MX lookup. There's nothing in the Python stdlib which provides this functionality. There are several libraries available which do this, though (Twisted among them ;). You can probably find them with a

Re: SMTP server w/o using Twisted framework

2007-07-05 Thread _spitFIRE
On Jul 5, 2:37 pm, Jeff McNeil [EMAIL PROTECTED] wrote: You could try pyDNS (http://pydns.sourceforge.net). You should simply be able to call the 'DNS.mxlookup' function. The other option would be twisted.names... Thanks for the pointers. What about simply running an SMTP server on the

exception from a thread

2007-06-28 Thread _spitFIRE
assume a scenario, where there is a class that for doing some work, spawns lot of threads. class X: def __init__(self): # Spawns some threads to # do some work now, assuming that at least one of the threads encounters a problem while doing work and throws an exception. Would