473,468 Members | 4,655 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Newsgroup Programming

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.?
Jul 18 '05 #1
2 1148
On Sun, 3 Apr 2005 09:00:43 -0400, "Chuck" <cm******@hotmail.com>
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

-- ================================================== ============ <
wl*****@ix.netcom.com | Wulfraed Dennis Lee Bieber KD6MOG <
wu******@dm.net | Bestiaria Support Staff <
================================================== ============ <
Home Page: <http://www.dm.net/~wulfraed/> <
Overflow Page: <http://wlfraed.home.netcom.com/> <

Jul 18 '05 #2
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/

Jul 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Zach Shutters | last post by:
What newsgroup can you guys recommend for me that talks about programming in c/c++ that is as active as this one?
2
by: Jan Roland Eriksson | last post by:
Archive-name: www/stylesheets/newsgroup-faq Posting-Frequency: once a week Last-modified: 2004-07-26 Version: 2.00 URL: <http://css.nu/faq/ciwas-mFAQ.html> Maintainer: Jan Roland Eriksson...
0
by: Jan Roland Eriksson | last post by:
Archive-name: www/stylesheets/newsgroup-faq Posting-Frequency: once a week Last-modified: 2004-07-26 Version: 2.00 URL: <http://css.nu/faq/ciwas-mFAQ.html> Maintainer: Jan Roland Eriksson...
0
by: Jan Roland Eriksson | last post by:
Archive-name: www/stylesheets/newsgroup-faq Posting-Frequency: once a week Last-modified: 2004-07-26 Version: 2.00 URL: <http://css.nu/faq/ciwas-mFAQ.html> Maintainer: Jan Roland Eriksson...
6
by: ~neil~ | last post by:
Hello I was asked to try another group in an earlier post, I was writing the program in C inside a DOS window. Software of choice -> (Borland Turbo C++ 1.0). Nobody uses DOS anymore?...I'm I...
25
by: Skc | last post by:
To whoever the Administrator is I am a newbie. I find this newsgroup is too active and daily there are a lot of postings. Does take a lot of time to browse thru the messages. Can we at least...
4
by: George Medlock | last post by:
Is this a good newsgroup to follow if you've never done any serious programming, or is there a newsgroup for beginners?
2
by: Max2006 | last post by:
Thanks...Max
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.