Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Newsgroup Programming

Reply
Thread Tools

Newsgroup Programming

 
 
Chuck
Guest
Posts: n/a
 
      04-03-2005
I've found and used the nntplib module for newgroup programming. Can anyone
suggest a library, technique or reference on how to combine mutliple
messages with attachments such as mp3's, .wmv, *.avi, etc.?


 
Reply With Quote
 
 
 
 
Dennis Lee Bieber
Guest
Posts: n/a
 
      04-03-2005
On Sun, 3 Apr 2005 09:00:43 -0400, "Chuck" <(E-Mail Removed)>
declaimed the following in comp.lang.python:

> I've found and used the nntplib module for newgroup programming. Can anyone
> suggest a library, technique or reference on how to combine mutliple
> messages with attachments such as mp3's, .wmv, *.avi, etc.?
>

A reference? Start here: http://www.faqs.org/rfcs/rfc2045.html
(and follow-up with 2046, 2047, 2048, 2049)...

If those are too much, try the Python Library reference for
(assuming numbers haven't change, I'm still on 2.3.2):

12.2.3 Generating MIME documents
One of the most common tasks is to generate the flat text of the email
message represented by a message object structure. You will need to do
this if you want to send your message via the smtplib module or the
nntplib module, or print the message on the console. Taking a message
object structure and producing a flat text document is the job of the
Generator class.

12.2.4 Creating email and MIME objects from scratch

or the deprecated 12.6 - 12.9



--
> ================================================== ============ <
> http://www.velocityreviews.com/forums/(E-Mail Removed) | Wulfraed Dennis Lee Bieber KD6MOG <
> (E-Mail Removed) | Bestiaria Support Staff <
> ================================================== ============ <
> Home Page: <http://www.dm.net/~wulfraed/> <
> Overflow Page: <http://wlfraed.home.netcom.com/> <

 
Reply With Quote
 
 
 
 
Steve Holden
Guest
Posts: n/a
 
      04-04-2005
Chuck wrote:
> I've found and used the nntplib module for newgroup programming. Can anyone
> suggest a library, technique or reference on how to combine mutliple
> messages with attachments such as mp3's, .wmv, *.avi, etc.?
>
>

Are you talking about reconstructing a long post like a .avi that has
been split up into separate messages?

If so then you'll need to concatenate all the message bodies and use
uudecode on the result, I suspect.

regards
Steve
--
Steve Holden +1 703 861 4237 +1 800 494 3119
Holden Web LLC http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: OO vs functional programming: what's a suitable newsgroup? 88888 Dihedral C++ 14 03-16-2013 01:05 PM
Looking for newsgroup about asynchronous programming jeti789@web.de Java 12 10-26-2012 04:23 PM
Newbies Please Read: This is NOT a Windows Vista Newsgroup, it is however a Windows XP X64 Edition Newsgroup. Windows 64bit 16 06-27-2006 03:17 PM
Isn't C Programming In DOS, A Part Of This Newsgroup? ~neil~ C Programming 6 09-28-2004 09:04 PM
C programming newsgroup Zach Shutters Python 6 09-22-2004 12:22 AM



Advertisments