test_imaplib fail when installing python3.6.1 on centos6.9

2017-04-30 Thread Wade Wang
Hello, everyone. I'm trying to install Python 3.6.1 on my CentOS 6.9 server, but test_imaplib always fails its test when make test. Here is what I got: > == > ERROR: test_logincapa_with_client_certfile (test.test_imaplib.RemoteIMA

portable python

2017-04-28 Thread allen wade
is there a way to install python on a thumb drive that does not require an administrator's password? I have to use public computers and store all my applications to the thumb drive, using the Portable Apps Platform to manage the applications. -- https://mail.python.org/mailman/listinfo/python-lis

Re: Excellent sci-fi novel featuring Python

2007-11-17 Thread Wade Leftwich
On Nov 17, 10:37 am, Wade Leftwich <[EMAIL PROTECTED]> wrote: > I'm about halfway through Charles Stross' excellent new novel, > "Halting State". It's set in Edinburgh in the year 2018, and one of > the main characters is a game programmer whose primary lan

Excellent sci-fi novel featuring Python

2007-11-17 Thread Wade Leftwich
William Gibson, Vernor Vinge, John Carnack, and Bruce Scheier. What, they couldn't pop for an advance copy for Guido? -- Wade Leftwich Ithaca, NY -- http://mail.python.org/mailman/listinfo/python-list

Re: ACM SIGAPL / APL2007 Conference / Montreal / one week away

2007-10-21 Thread Wade Ward
urring problems of hardware, > software, ergonomics, and psychology. The adoption of new, ASCII-base > dialects of APL, such as J, is suggested as one solution to the > character set problem. " > > This is also the reason for why I will not be downloading your new > compiler

Re: The Modernization of Emacs: terminology buffer and keybinding

2007-10-08 Thread Wade Ward
e. They know what I mean and simply go ahead and translate it > to Starbucks newspeak. I, as a tall Americano, have always taken ordering the smallest espresso beverage possible as something describing the preference of the orderer, as opposed to the beverage itself. -- wade ward "Your boyfriend is not my boyfriend, doll." -- http://mail.python.org/mailman/listinfo/python-list

Re: I am giving up perl because of assholes on clpm -- switching to Python

2007-08-04 Thread Todd Wade
On Jul 22, 2:20 am, Bruno Desthuilliers <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] a écrit : > > > Python is a better language, with php support, > > Python has php support ? My, I'm a professional web developper using > both, and I didn't knew this. > As an aside, perl DOES support PHP: http

Re: On Java's Interface (the meaning of interface in computer programing)

2007-03-22 Thread Nigel Wade
) the cross-posting c) the advocacy of the contents > > I have absolutely no reason to rate the OP as a troll or their post as trollish. > In time you will learn... It wasn't even a good troll. To be a good troll the message actually needs to be interesting enough to get peop

Re: Jobs: Lisp and Python programmers wanted in the LA area

2007-02-27 Thread Wade Humeniuk
t mean that you wouldn't be >> willing to listen about a switch from Python to Lisp? > > No, it doesn't mean that. In fact, there is a significant faction in > the technical staff (including the CTO) who would like nothing better > than to be able to use Lisp instead of Python. Who is the CTO? Wade -- http://mail.python.org/mailman/listinfo/python-list

Re: Iterate through list two items at a time

2007-01-04 Thread Wade Leftwich
Peter Otten wrote: > Wade Leftwich wrote: > > > from itertools import groupby > > > > def chunk(it, n=0): > > if n == 0: > > return iter([it]) > > def groupfun((x,y)): > > return int(x/n) > > grouped = groupby(enum

Re: Iterate through list two items at a time

2007-01-04 Thread Wade Leftwich
Wade Leftwich wrote: > Jeffrey Froman wrote: > > Dave Dean wrote: > > > > > I'm looking for a way to iterate through a list, two (or more) items at a > > > time. > > > > Here's a solution, from the iterools documentation. It may not be the

Re: Iterate through list two items at a time

2007-01-03 Thread Wade Leftwich
pn() it works on infinite lists. from itertools import groupby, imap def chunk(it, n=0): if n == 0: return iter([it]) grouped = groupby(enumerate(it), lambda x: int(x[0]/n)) counted = imap(lambda x:x[1], grouped) return imap(lambda x: imap(lambda y: y[1], x), counted) >>>

Re: merits of Lisp vs Python

2006-12-15 Thread Wade Humeniuk
. You can use that style in CL. (defun nif (x p z n) (or (when (< x 0) n) (when (= x 0) z) (when (> x 0) p))) Wade -- http://mail.python.org/mailman/listinfo/python-list

Re: merits of Lisp vs Python

2006-12-09 Thread Wade Humeniuk
mystilleef wrote: > > People only contribute to things they understand and appreciate. More > people would be writing Lisp libraries if it was worthwhile. > Apparently, it doesn't seem to be. A few years ago, I tried to write an > editor is Scheme. The experience was appalling. I was able to writ

Re: merits of Lisp vs Python

2006-12-09 Thread Wade Humeniuk
e very good reasons, it is folly to think that programs have to be simple, obvious and elegant. I find interesting that a programmer got out their comfort zone and attempted something. Its better than the ones with the big egos who play it safe so they do not appear to be a fool. Wade -- http://

Re: merits of Lisp vs Python

2006-12-08 Thread Wade Humeniuk
Mark Tarver wrote: > How do you compare Python to Lisp? What specific advantages do you > think that one has over the other? > Since the late 1950's Lisp has participated in the development of modern (present day) programming practises. It has shaped and been shaped by the minds of just not pro

Re: ElementTree and proper identation?

2006-09-27 Thread Wade Leftwich
d XML files as they'd look if done by hand? > > > > Thanks. You can roll your own by starting at the root and recursing through child elements, increasing the indentation as you go: But I do it the lazy way: $ xmllint --format ugly.xml >pretty.xml -- Wade Leftwich Ithaca, NY -- http://mail.python.org/mailman/listinfo/python-list

Re: Aggregate funuctions broken in MySQLdb?

2006-05-14 Thread Wade Leftwich
Works fine for me, and I certainly hope MySQLdb is ready for prime time, because I use the heck out of it. Maybe you're getting fooled by the fact that cursor.execute() returns the count of result rows. To actually see the result rows, you have to say cursor.fetchone() or fetchall() -- In [34]: cu

Re: Programming challenge: wildcard exclusion in cartesian products

2006-03-16 Thread Wade Humeniuk
Oops, problems cutting an pasting, should be, ;; Wade Humeniuk (defclass odometer () ((base :initform 0 :accessor base) (meter :initform nil :accessor meter) (n-digits :initarg :n-digits :accessor n-digits) (digit-set :initarg :digit-set :accessor digit-set))) (defmethod

Re: Programming challenge: wildcard exclusion in cartesian products

2006-03-16 Thread Wade Humeniuk
7;s just assume they're a given. > Another attempt. I have made no special attempt to create an exclusion language, just used an anonymous lambda predicate. ;; Wade Humeniuk (defclass odometer () ((base :initform 0 :accessor base) (meter :initform nil :accessor meter) (n-dig

Re: Programming challenge: wildcard exclusion in cartesian products

2006-03-16 Thread Wade Humeniuk
XYZ ABC) (ABC ABC ABC)) CL-USER 24 > (cp-without-wc '(a b) '(a :any :any)) ((B B B) (B B A) (B A B) (B A A)) CL-USER 25 > (cp-without-wc '(a b) '(a :any :any) '(b :any :any)) NIL CL-USER 26 > (cp-without-wc '(a b) '(:any :any b)) ((B B A) (B A A) (A B A) (A A A)) CL-USER 27 > Wade -- http://mail.python.org/mailman/listinfo/python-list

Re: Pythonic wrappers for SQL?

2006-01-16 Thread Wade Leftwich
g faith that the extra work I'm putting in to design my table classes will pay off in a more robust and portable application. The module itself is elegant and well written, and it uses metaclasses to boot. -- Wade Leftwich Ithaca, NY -- http://mail.python.org/mailman/listinfo/python-list

Re: After migrating from debian to ubuntu, tkinter "hello world" doesn't work

2005-11-30 Thread Wade Leftwich
[EMAIL PROTECTED] wrote: > Hi > > My tkinter apps worked fine in debian linux (woody and sarge) > I moved to ubuntu 5.10 > > I follow the 'hello world' test as seen in > http://wiki.python.org/moin/TkInter > Ubuntu uses X.org. Did your Debian distro use xfree86? -- http://mail.python.org/mailm

Should I move to Amsterdam?

2005-08-24 Thread Wade
e: Is "gezellig" related to the Zen of Python? ( http://wordcraft.infopop.cc/eve/ubb.x/a/tpc/f/6351024471/m/2041067571/r/3901049571 ) -- Wade Leftwich Ithaca, NY -- http://mail.python.org/mailman/listinfo/python-list

Re: how to write a line in a text file

2005-07-25 Thread Wade
Steven D'Aprano wrote: >I'm usually opposed to creeping featuritis in programming languages ("it >would be really cool if Python had a built-in command to do my entire >application") but safe over-writing of files does cry out for a "batteries >included" approach: How about the fileinput module?

Re: urllib.urlretireve problem

2005-03-31 Thread Wade
ted is not there. So depending on what site you are scraping, you might have to read the page you got back to figure out if it's what you wanted. -- Wade Leftwich Ithaca, NY -- http://mail.python.org/mailman/listinfo/python-list