I would also recommend changing your birthday as well ;)
--
"The end of democracy and the defeat of the American Revolution will occur
when government falls into the hands of lending institutions and moneyed
incorporations."
-- Thomas Jefferson
The whole world is a comedy to those that think, a
The best tool to debug this is tcpdump.
Running a packet capture whilst sending the mail will most likely shed the
most light on the subject.
--
--
http://mail.python.org/mailman/listinfo/python-list
On 18 Oct 2005 07:16:11 -0700, Chris Lasher <[EMAIL PROTECTED]> wrote:
A marriage of the twowould seem like the best of both worlds.Chris
The pessimists would say "the worst of both worlds" ;)
--
http://mail.python.org/mailman/listinfo/python-list
On 11/8/05, Dmytro Lesnyak <[EMAIL PROTECTED]> wrote:
Hello,
I need to import some big
data into Excel from my Python
script. I have TXT file (~7,5 Mb). I'm using Pywin32 library for that, but if I
first try to read the TXT file and then save the values one by one
like
I have to quest
Here's a snippet of code I use in a CGI I use...
I check to see if the params has any data, if it does then return that
data and some other data that comes from the params. If params is
empty, then draw a different page that says give me some data.
if len(params):
return params,inc_f
So says Chris from his webmail account...
On 8/25/05, Chris Head <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> [EMAIL PROTECTED] wrote:
> [snip]
> > ... and generally these "web based message boards" (i.e. forums I
> > assume you mean) have none of the useful to
Just guessing but are the files binary yet you are downloading them without declaring binary?On 1/16/06, Peter A.Schott <
[EMAIL PROTECTED]> wrote:I download a lot of 4-6 KB files and regularly run into issues with files that
don't get downloaded all the way or otherwise get corrupt.I do something
BTW, I noticed a bunch of new line characters in your test message.
If you ever send mail to a qmail server it will be rejected because rfc 821
says that new line characters cannot occur without a carriage return. So
change all those \n's to \r\n's ;)
--
We are all slave to our own paradigm. --
On 1/24/07, Tim Williams <[EMAIL PROTECTED]> wrote:
On 24/01/07, py <[EMAIL PROTECTED]> wrote:
> I would love for anybody to comment on this code with regard to
redundancy/efficiency/wordiness or whatever else.
> for instance, do i understand correctly that i cant have a try: else:
without an in
Sweet!
--
http://mail.python.org/mailman/listinfo/python-list
Given this set of data (88 characters wide) in a file...
067AARON
WAY
3004300252599A
098 067017 129 672
067ABBA
CT
30518000882000902A 025
11 0670163227 365 670
067ABBEY HILL
RD
3002400010299A 004
On 5/21/06, Heiko Wundram <[EMAIL PROTECTED]> wrote:
Am Sonntag 21 Mai 2006 22:52 schrieb BJ Swope:> district_combo=line[85:3]This returns the slice from character 85 to character 3 in the string, readforwards. Basically, as Python slices are forgiving (because the borders are
given a list such as
['messages', 'recipients', 'viruses']
how would I iterate over the list and use the values as variables and open
the variable names a files?
I tried
for outfile in ['messages', 'recipients', 'viruses']:
filename = os.path.join(Host_Path, outfile)
outfile = open(file
On Jan 8, 2008 6:03 AM, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> BJ Swope wrote:
>
> > given a list such as
> >
> > ['messages', 'recipients', 'viruses']
> >
> > how would I iterate over the list and use the valu
On Jan 8, 2008 7:22 AM, Hrvoje Niksic <[EMAIL PROTECTED]> wrote:
> Fredrik Lundh <[EMAIL PROTECTED]> writes:
>
> > BJ Swope wrote:
> >
> >> the code looks ok. please define "not working".
> >>
> >> Yep, defining "not wor
On Jan 8, 2008 9:34 PM, Terry Jones <[EMAIL PROTECTED]> wrote:
>
> I think you should revisit this decision. Something like Fredrik's code
> is
> the way to go. It has multiple advantages:
>
> - It's much shorter.
> - It's arguably easier to add/remove to/from.
> - It has less risk of error (
If you have access to the AD server that hosts those DNs you can use
python's ldap module to retrieve the smtp attribute for the DN you've just
parsed from the message.
On Wed, Dec 3, 2008 at 2:06 AM, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:
> Hi all,
> I am trying to use python for ex
try
s=smtplib.SMTP('127.0.0.1')
instead. I'm guessing that it's trying to bind to the IPv6 or some other
non IPv4 localhost instance.
On Wed, Mar 18, 2009 at 11:25 AM, cassiope wrote:
> A hard drive failure forced me to rebuild my main system. Just a few
> things haven't been restored; one o
On Sun, May 17, 2009 at 4:17 AM, Arnaud Delobelle
wrote:
>
> Daniel Fetchinson writes:
>
> >> I need to get the creation date from a jpeg file in Python. Googling
> >> brought up a several references to apparently defunct modules. The best
> >> way I have been able to find so far is something l
I've had experiences with some python mail servers that time out connections
if data from the socket is not sent to the application within the timeout
parameter.
I have seen a python app on FreeBSD that would timeout a connection after
600 seconds if freebsd did not receive at least 32 kb of data
If it works like I've seen other python based network apps that have app
timeouts, and Brandon's post seemed to indicate that his timed out during
the readline portion of the FTP transfer.
Auburn fans are like slinkys... not really good for anything but they still
bring a smile to your face
Would the csv module be appropriate?
On 9/29/09, Scooter wrote:
> I'm attempting to reformat an apache log file that was written with a
> custom output format. I'm attempting to get it to w3c format using a
> python script. The problem I'm having is the field-to-field matching.
> In my python cod
File "/usr/lib/python2.5/email/_parseaddr.py", line 142, in mktime_tz
if data[9] is None:
TypeError: 'NoneType' object is unsubscriptable
I'm parsing a bunch of spam and using the date field from the spams
for a date-time stamp.
I've fixed the lib on my box to place the call inside a try/ex
On Mon, Feb 15, 2010 at 2:31 PM, Stephen Hansen wrote:
> On Mon, Feb 15, 2010 at 10:53 AM, BJ Swope wrote:
>>
>> File "/usr/lib/python2.5/email/_parseaddr.py", line 142, in mktime_tz
>> if data[9] is None:
>> TypeError: 'NoneType' object is un
On Mon, Feb 15, 2010 at 2:47 PM, BJ Swope wrote:
> On Mon, Feb 15, 2010 at 2:31 PM, Stephen Hansen wrote:
>> On Mon, Feb 15, 2010 at 10:53 AM, BJ Swope wrote:
>>>
>>> File "/usr/lib/python2.5/email/_parseaddr.py", line 142, in mktime_tz
>>>
On Mon, Feb 15, 2010 at 3:42 PM, MRAB wrote:
> BJ Swope wrote:
> [snip]
>>
>> def clean_stale_mail():
>> msg_date1= the_email.get('Date')
>
> What is the value of 'msg_date1' at this point?
>
>> msg_date2 = email.utils.parsedate
>
> If you like, but I tend to interpret "meta-" as idempotent. It's easier on
> my aspirin budget.
>
> --
> Robert Kern
And here I thought it was little blue pills for idempotentcy...
Life is a sexually transmitted disease with a 100% fatality rate. -- brazzy
Auburn fans are like slinkys
Hello All.
I am trying to use values, retrieved from a config file, as kwargs and not
having any luck. Well at least I think that's what I'm trying to do ;)
Any suggestions would be most appreciated.
Here's the exception:
Traceback (most recent call last):
File "c:\dev\LogServerMonitor\LogSe
>
> It's complaining that the 'minute' argument which you're passing to
> 'add_cron_job' is '*/run_interval_quantity', which the scheduler
> doesn't understand.
> --
>
Hey, what do you know, there's a forest amongst all those trees...
key_words = '*/%d' % (run_interval_quantity)
sched.add_cron_j
Imap is not on port 443. IIRC, it's late and I'm to lazy to even google it
right now, but it's port 143 isn't it.
On Wed, Feb 16, 2011 at 11:58 PM, Andrea Gavana wrote:
> Hi All,
>
>I apologize in advance if I'm going to write very stupid things,
> my expertise in http/socket/imap stuff is
I am trying to automate access to a web page that has forms based
authentication. The password field is named "pass" which python is
not going to like.
Other than asking the website owner to change the name of the field
how can I go about passing that field in the form post?
dev:~$ python
Python
urllib.urlencode({'pass' : 'foo'})
> 'pass=foo'
>
>
> --- Giampaolo
> http://code.google.com/p/pyftpdlib
> http://code.google.com/p/psutil
> --
> http://mail.python.org/mailman/listinfo/python-list
>
Thank you!
--
http://mail.python.org/mailman/listinfo/python-list
And I would kindly appreciate it if you fellas wouldn't go solving
this little spam problem! Selling Anti-Spam industry leading
appliances has managed to put me in a rather nice house and I'd hate
to lose it just because you fellas went and solved the problem! ;)
On Thu, Sep 3, 2009 at 11:24 PM
If you are trying to avoid the browser caching the pages so that they fetch
a new copy of the page every time, add the following 2 meta tags to the
header of the html page:
Those don't guarantee that the browser won't cache the page but it should
help the situation.
If on the other hand, you o
What is your code not doing?
Are you winding up with duplicate data in the DB?
Is your web browser re-submitting the form with the same data if you refresh
the screen?
Is your web browser pre-filling the fields of the form due to caching?
I don't understand what's not working
On Wed, Sep 23, 2
1. Did you try the headers for no-caching of the page?
2. If you wish to avoid dupes in a DB, Primary Keys are the tool to prevent
duplicates.
On Thu, Sep 24, 2009 at 11:01 AM, victorsubervi wrote:
> in line...
>
> On Wed, Sep 23, 2009 at 9:13 PM, BJ Swope wrote:
>
>> Wha
36 matches
Mail list logo