🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #12464

Re: Automatizar envío de mensaje a grupo de noticias

#12464
From: Santiago Romero
Date: Thu, 19 Jul 2001 17:24
40 lines
2194 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

El 19 Jul 2001 15:08:32 GMT, Benjam�n Albi�ana P�rez escribi�:
>import nntplib
>
>c=nntplib.NNTP('localhost')
>f=open('mensaje', 'r')
>c.mode('reader')
>c.post(f)
>f.close()
>c.quit()
>
>  A ver esas tres l�neas. 

import nntplib
c=nntplib.NNTP('localhost'); f=open('mensaje', 'r'); 
c.mode('reader'); c.post(f); f.close(); c.quit()


 �Cual es el premio? XD
 X'D

PD: Este es el momento en que en Python el separador de sentencias
    no es ';' y todo el grupo de news se rie de mi X'D
    
- -- 
TITANIC: Famoso transatl�ntico cuyo casco fue dise�ado con Windows.
                                                                  _O)
  NoP / Compiler   | compiler@escomposlinux.org - ICQ #98602813   /\\
  Linux Debian 2.2 | http://escomposlinux.org/sromero - #74.821   \_V
        
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjtXF70ACgkQx0J/i4MrH+f57wCgna8u0YCMS722lFGebV8aLgxX
G0kAn0cFYc1F+KxADfcR99laALvWBVHx
=S3cP
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <t357j9.344.ln@127.0.0.1>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!va1-ras-2-u-0203.du.onolab.COM!not-for-mail
References: <slrn9lav18.fa6.david@fangorn.net> <slrn9lbjpm.14a.amphora@desdemona.net.dhis.org> <slrn9ldtve.hqi.benjamin@lamanonegra.net.dhis.org>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,ad771018b84aca70
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2001-07-20 08:28:38 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!va1-ras-2-u-0203.du.onolab.COM!not-for-mail
From: sromero@escomposlinux.org (Santiago Romero)
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Automatizar envío de mensaje a grupo de noticias
Date: Thu, 19 Jul 2001 19:24:13 +0200
Lines: 40
Message-ID: <t357j9.344.ln@127.0.0.1>
References: <slrn9lav18.fa6.david@fangorn.net> <slrn9lbjpm.14a.amphora@desdemona.net.dhis.org> <slrn9ldtve.hqi.benjamin@lamanonegra.net.dhis.org>
Reply-To: compiler@escomposlinux.org
NNTP-Posting-Host: va1-ras-2-u-0203.du.onolab.com (62.42.61.204)
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: fu-berlin.de 995642916 23056812 62.42.61.204 (16 [39726])
X-Orig-Path: sromero
User-Agent: slrn/0.9.6.2 (Linux)