> --
> http://mail.python.org/mailman/listinfo/python-list
It's not a tautology in disguise. Irrelevant != low level. When low level details are relevant to the scope of my program, I use a low level language.
On 15 May 2013 18:29, "Neil Cerutti" <ne...@norwich.edu> wrote:
>
> On 2013-05-13, F?bio Santos <fabiosa...@gmail.com> wrote:
> >
> > On 13 May 2013 19:48, "Neil Cerutti" <ne...@norwich.edu> wrote:
> >>
> >> On 2013-05-13, Skip Montanaro <sk...@pobox.com> wrote:
> >> >> 8. A programming language is low level when its programs
> >> >> require attention to the irrelevant.
> >> >>
(...)
> > It's not a tautology in disguise. Irrelevant != low level. When
> > low level details are relevant to the scope of my program, I
> > use a low level language.
>
> It is a tautology is disguise. When you use a low level language,
> low level details are relevant to the scope of your program.
>
> --
> Neil Cerutti
> --
> http://mail.python.org/mailman/listinfo/python-list
I don't see it that way. I think relevance and level are two unrelated concepts.
For example, in python you are handling irrelevant things if you are trying to start a program and redirecting its standard output into another program's standard input instead of just using the shell and a pipe to do it.
And in C you are just at the right level to write something for a microchip, but then again you are doing a load of irrelevant stuff if you need to work numbers larger than the maximum permitted.
My web server is using python 2.5.
My cgi file is trying to open a shelve.
I xxx out some of the path below.
I am trying to find out if this
error is caused because I am using python 2.7 to write
the cgi file and my web server is using python 2.5.
I would appreciate a confirmation of this.
line 85, in FentriesFilled dbase = shelve.open( vpath, 'c' ) File "/usr/local/lib/python-2.5/lib/python2.5/shelve.py", line 225, in open return DbfilenameShelf(filename, flag, protocol, writeback) File "/usr/local/lib/python-2.5/lib/python2.5/shelve.py",
line 209, in __init__ Shelf.__init__(self, anydbm.open(filename, flag), protocol, writeback) File "/usr/local/lib/python-2.5/lib/python2.5/anydbm.py", line 83, in open return mod.open(file, flag, mode)
File "/usr/local/lib/python-2.5/lib/python2.5/dbhash.py", line 16, in open return bsddb.hashopen(file, flag, mode)
File "/usr/local/lib/python-2.5/lib/python2.5/bsddb/__init__.py", line 306, in hashopen d.open(file, db.DB_HASH, flags, mode) bsddb.db.DBInvalidArgError: (22, 'Invalid argument --/home/users/web/xxxxx/yyy.inqvista/public_html/xxxx-ssss/email: unsupported hash version: 9')
thanks,
jd
> --
> http://mail.python.org/mailman/listinfo/python-list
Then memory management t is relevant to every python program even though it's done by the interpreter?
And in Java we have factories, builders and builderfactories. What's so relevant about them? Java is high level, no?
>I am using python 2.7 to write
> the cgi file and my web server is using python 2.5.
The answer lies in your question.
JM
-- IMPORTANT NOTICE:
The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
On Thursday, May 16, 2013 07:17:57 PM Jean-Michel Pichavant wrote:
> ----- Original Message -----
>
> >I am using python 2.7 to write
> >
> > the cgi file and my web server is using python 2.5.
>
> The answer lies in your question.
>
> JM
>
I appreciate the response,
However, My question was wrong.
The traceback I got
couldn't be because of a difference in versions
because I programmed the cgi on the site.
I found that the path to the cgi had to be complete,
something like this:
/home/users/web/xxx/yyy.inqvista/public_html/home/read/mail
anything else gets a traceback.
jd
python help,
I've tried this code which I got from:
http://www.tutorialspoint.com/python/python_sending_email.htm
I build this file and run it
---//---
#!/usr/bin/python
import smtplib
sender = "inq...@inqvista.com"
receivers = ["webm...@inqvista.com"]
message = """From: jol
To: webmaster
Subject: SMTP e-mail test
This is a test e-mail message.
"""
try:
smtpObj = smtplib.SMTP('localhost')
smtpObj.sendmail(sender, receivers, message)
print "Successfully sent email"
except SMTPException:
print "Error: unable to send email"
--//--
After running the the file and I get
"Successfully sent email"
My question is why doesn't webmaster get an email?
jol
Your responses helped.
The mailg for linux gave me information I didn't expect.
regards,
jol