On Thu, 9 May 2013 11:33:45 -0600
Ian Kelly wrote:
> about Turing machines and lambda calculus that you've injected into
> the conversation though just reminds me of the "Einstein was wrong"
> cranks.
But Einstein *was* wrong. http://www.xkcd.com/120
said "The French don't even have a word for
entrepreneur."
--
D'Arcy J.M. Cain | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 788 2246 (DoD#0082)(eNTP) | what's for dinner.
IM: da...@vex.net, VOIP:
ailing list that gets archived.
Please don't ever do that again.
--
D'Arcy J.M. Cain | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 788 2246 (DoD#0082)(eNTP) | what's for dinner.
IM: da...@vex.net, VOIP:
ush back I get is that then
people would get two copies of the email, one to them and one to the
list. My answer is simple. Get a proper email system that filters out
duplicates. Is there an email client out there that does not have this
facility?
--
D'Arcy J.M. Cain | Dem
On Sat, 15 Jun 2013 03:31:12 +1000
Chris Angelico wrote:
> On Sat, Jun 15, 2013 at 3:13 AM, D'Arcy J.M. Cain
> wrote:
> > I have suggested this before but the push back I get is that then
> > people would get two copies of the email, one to them and one to the
> &g
hat I am using.
--
D'Arcy J.M. Cain | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 788 2246 (DoD#0082)(eNTP) | what's for dinner.
IM: da...@vex.net, VOIP: sip:da...@vex.net
--
http://mail.python.org/mailman/listinfo/python-list
ested "reply to all”. I suggested including the poster that you
are replying to.
--
D'Arcy J.M. Cain | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 788 2246 (DoD#0082)(eNTP) | what's for dinner.
IM: da...@v
t to
the mailing list. Your MTA sends the other one directly so Steve is
correct. He gets two copies. If his client doesn't suppress the
duplicate then he will be presented with both.
--
D'Arcy J.M. Cain | Democracy is three wolves
http://www.druid.net/darcy/
On 15 Jun 2013 15:40:35 GMT
Steven D'Aprano wrote:
> On Sat, 15 Jun 2013 07:58:27 -0400, D'Arcy J.M. Cain wrote:
> > I suggested including the poster that you are replying to.
>
> In the name of all that's good and decent in the world, why on earth
> would you d
that this
list is just more noise to signal than I care to deal with. If anyone
has any comments for me you will have to Cc me as I am outa here.
--
D'Arcy J.M. Cain | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 788 2246
i += 1
>
> into a one-line python command (in a .bat file):
Is "one liner" an actual requirement or is the requirement to run it
from the command line?
python -c "
import sys
i = 0
for p in sys.path:
print('sys.path[%2d]: %s' % (i, p))
i+=1
"
I don&
s All Text!"
plugin. Not sure if it is available for other browsers.
--
D'Arcy J.M. Cain | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's for dinner.
IM: da...@vex.net
gmail account to post to the mailing
list through.
--
D'Arcy J.M. Cain | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's for dinner.
IM: da...@vex.net
--
http://mail.python.org/
never needed to use one as a dictionary key.
Well, as long as *you* never needed it then...
CellBlock = 9 # There's a riot going on...
Cell = 17
Bunk = "top"
Prisoner = {(CellBlock, Cell, Bunk): "Bernie Madoff"}
--
D'Arcy J.M. Cain | Democracy is three wolves
r code review :)
I think by posting it he sort of did. He should probably grow a
thicker skin before he does so again though.
--
D'Arcy J.M. Cain | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNT
long as you only run on one system that's OK. That won't work on
NetBSD or Linux[1] for example.
> There are situations where using #!/usr/bin/env makes sense,
> but yours isn't one of them.
#! /usr/bin/env python2.7
[1]: Well, Ubuntu anyway. I don't know about the ot
ould be left out
if we wanted the default of 7, var3 is overwritten in MyClass and var4
is changed after the class is instantiated.
Hope this gives you some ideas.
--
D'Arcy J.M. Cain | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's for dinner.
IM: da...@vex.net
--
http://mail.python.org/mailman/listinfo/python-list
- FreeBSD
- openSUSE 12.2
- Windows 7 with both MinGW and Visual Studio
- PostgreSQL 8.4, 9.0 and 9.2 32 and 64bit
- Python 2.5, 2.6 and 2.7 32 and 64bit
--
D'Arcy J.M. Cain
PyGreSQL Development Group
http://www.PyGreSQL.org IM:da...@vex.net
--
http://mail.python.org/mailman/listinfo/p
en maybe the user
shouldn't be writing any Python code and instead look at the various
ways of parsing configuration files which they can write.
--
D'Arcy J.M. Cain | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's for dinner.
IM: da...@vex.net
--
http://mail.python.org/mailman/listinfo/python-list
updated instead of "A". Actually "A" will
> not be part of the packaged program.
Or "A" becomes the script that parses the config file and runs the
other code.
--
D'Arcy J.M. Cain | Democracy is three wolves
http://www.druid.net/darcy/| a
. The
classic one is basically the one PyGreSQL started life as before we had
a standard interface. We kept it as it has some advantages over the
portable one but offer both. As for other advantages, I prefer to hear
those from people not involved with either project.
--
D'Arcy J.M. Cain
e will probably get version 4.2 released shortly and then branch 5.x
and start working on Python 3 support.
--
D'Arcy J.M. Cain
PyGreSQL Development Group
http://www.PyGreSQL.org IM:da...@vex.net
--
http://mail.python.org/mailman/listinfo/python-list
On Sun, 6 Jan 2013 05:26:19 -0800 (PST)
chaouche yacine wrote:
> Oh :) sorry I didn't know they were references to monty python
> sketches. That explains it then :)
The name of the language itself is a reference to Monty Python. That
is specifically what it was named after.
--
On Sat, 5 Jan 2013 08:44:17 -0500
"D'Arcy J.M. Cain" wrote:
> We will probably get version 4.2 released shortly and then branch 5.x
> and start working on Python 3 support.
In fact, we found a few buglets and will be releasing 4.1.1 on Tuesday.
--
D'Arcy J.M. Cai
- FreeBSD
- openSUSE 12.2
- Windows 7 with both MinGW and Visual Studio
- PostgreSQL 8.4, 9.0 and 9.2 32 and 64bit
- Python 2.5, 2.6 and 2.7 32 and 64bit
| D'Arcy J.M. Cain
| da...@pygresql.org
--
D'Arcy J.M. Cain
PyGreSQL Development Group
http://www.PyGreSQL.org IM:da...@vex.ne
the list? That way those of us who filter out the
trolls can filter out the responses to them as well.
Thanks for understanding.
--
D'Arcy J.M. Cain | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNT
On 15 Jan 2013 02:08:38 GMT
Steven D'Aprano wrote:
> > Rick Johnson is a well-known troll.
>
> I disagree that Rick is a troll. Trolling requires that the troll
Doesn't matter. He duck types as one.
--
D'Arcy J.M. Cain | Democracy is three wolves
.
In fact, if you have 10,001 files it is absolutely guaranteed to have at
least one duplicate entry.
--
D'Arcy J.M. Cain | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's for
former is what you want but I think that
the latter would be more common.
> There's no need to use a regex just because you think that you *might*,
> someday, possibly need a regex. That's just silly. If and when
> requirements change, then use a regex. Until then, write the simples
or compiled C) programs on a web server that offers
Python http://www.Vex.Net/ and when someone
clicks on the link the server runs them and presents the results. This
is different than something like Java or Javascript that runs in the
browser.
If that still doesn't answer your question
ou are trying to solve and maybe we can suggest a solution.
--
D'Arcy J.M. Cain | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's for dinner.
--
http://mail.python.org/mailman/listinfo/python-list
est in
> the body of the email which i don't want. I would like all the txt files in
> the body of an email
> >> total = ' '
Change this to:
total = '\n'
You just need a blank line between the headers and the body of the email
message.
--
D'Arcy J.M
ce. Mailman makes it pretty
simple to manage too.
--
D'Arcy J.M. Cain | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's for dinner.
--
http://mail.python.org/mailman/listinfo/python-list
f php, red hat, and perl can manage it for their lists, why not python? Is
> that a statement about python programmers?
And that should get you blacklisted by anyone on the cusp.
--
D'Arcy J.M. Cain | Democracy is three wolves
http://www.druid.net/darcy/|
On Fri, 19 Aug 2011 17:10:49 -0400
Rodrick Brown wrote:
> It's not the end of the world calm down I thought it was quite funny for a
> friday joke!
The first message might have been funny (if you are twelve) but the
rest were annoying and insulting.
--
D'Arcy J.M. Cain
us why it is OK to repeat spam with all the
spammy URLS intact
By the way, my joke above is hilarious.
--
D'Arcy J.M. Cain | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's for dinne
ting you
replied to? Are you two actually in cahoots with the spammer?
Wait, I get it. The spammer, Matty and you are all on gmail. You are
all the same person, aren't you?
--
D'Arcy J.M. Cain | Democracy is three wolves
http://www.druid.net/darcy/| and a sh
On 26 Aug 2011 18:39:07 GMT
greymaus wrote:
>
> Is there an equivelent for the AWK RS in Python?
>
>
> as in RS='\n\n'
> will seperate a file at two blank line intervals
open("file.txt").read().split("\n\n")
--
D'Arcy J.M. Cain
just to gather all
the students into the auditorium?
--
D'Arcy J.M. Cain | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's for dinner.
--
http://mail.python.org/mailman/listinfo/python-list
lls.
--
D'Arcy J.M. Cain | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's for dinner.
--
http://mail.python.org/mailman/listinfo/python-list
On Fri, 18 Mar 2011 13:45:47 +0100
Stefan Behnel wrote:
> Neil Cerutti, 18.03.2011 13:17:
> > RIIght. What's a cubit?
>
> http://en.wikipedia.org/wiki/Cubit
I don't believe that Neil was asking a serious question.
http://www.youtube.com/watch?v=so9o3_da
if nnn[2] == mon and nnn[3] = day and nnn[4] = year:
If strip() were needed you could leave off the argument. The default
is to strip all whitespace from both ends. In fact, read up on locales
to see why it is a good idea to omit the argument.
--
D'Arcy J.M. Cain | Democracy is t
ne ?
The number of loops is still the number of objects (strings) in hhh.
The only difference is that in the former case you need to split the
variable inside the loop causing the production and destruction of an
extra object.
Be careful though. You can optimize your loops by doing too much in
the f
eate and destroy objects needlessly.
def get_from_cache(x):
if not x in cache:
cache[x] = compute_from(x)
return cache[x]
--
D'Arcy J.M. Cain | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)
sking questions. Don't pre-suppose
the answer.
http://www.catb.org/~esr/faqs/smart-questions.html is always a good
read in these situations.
--
D'Arcy J.M. Cain | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (
nd history intact.
Anyone know how to go the other way? I recently converted all my
projects over to svn from cvs and then took over another project that
uses bzr. I would prefer everything to be in the same system.
--
D'Arcy J.M. Cain | Democracy is three wolves
http
d trucks be
built so that drivers don't have to learn how to split shift? Why is
programming so different that we can't expect people to actually learn
their discipline?
This discussion is giving me some insight into some of the crap
programming I see these days.
--
D'Arcy J.M.
bility is nothing short of revolutionary. I suppose
one day a reasoning android will be able to sit down at the terminal of
a star ship computer and ask simple questions while making random hand
movements across a screen but for now I am afraid that programmers
still have to learn programm
On Wed, 11 May 2011 16:24:47 -0500
harrismh777 wrote:
> D'Arcy J.M. Cain wrote:
> Non-programmers should not be expected to program in 'C' nor in lisp...
>
> ... but non-programmers were able to program in BASIC jes fine...
They still had to learn the lang
t; decades, and partly because quite a few of the things I was working
> with are completely undocumented!
Sounds like a perfect reason to open source it. If what you say is
true it could benefit you more than others, at least at the beginning.
Remember, open source is a two way stre
On Wed, 18 May 2011 12:06:07 -0700 (PDT)
"tmac641...@yahoo.com" wrote:
> HOW TO MAKE EASY MONEY FAST AND LEGALLY
Wow! Was this stuck in someone's mail queue since 1992?
--
D'Arcy J.M. Cain | Democracy is three wolves
http://www.druid.net/darcy/
ion.
> And again, I am not trolling anything. I am just defending a language which
> has a clearer syntax for doing some things, and a shorter code for other
Are Perl programmers aware of some imminent worldwide shortage of
electrons that Python programmers are not? Why is there this obsession
w
On Tue, 24 May 2011 00:17:55 -0500
John Bokma wrote:
> > $d = @a;
>
> That will give you the number of elements in @a. What you (probably)
> mean is %hash = @array;
If I was even considering using Perl, this one exchange would send me
screaming in the opposite direction.
--
D
programming languages.
Same here but someone (I don't even know who started it) felt that it
was necessary to tell us all why their language was better.
--
D'Arcy J.M. Cain | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's for dinner.
--
http://mail.python.org/mailman/listinfo/python-list
an I would feel any
need to go to a Perl group and start trying to convert them.
Bottom line - they did a study once (sorry, can't point to it any more)
to determine the best tool for development. Turns out that the most
productive tool was generally the one that the user believed was the
most p
range.
--
D'Arcy J.M. Cain | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's for dinner.
--
http://mail.python.org/mailman/listinfo/python-list
ar wasn't enough entertainment for
you? ;-)
--
D'Arcy J.M. Cain | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's for dinner.
--
http://mail.python.org/mailman/listinfo/python-list
quot;Completely incompatible" and "many subtle
differences" is about the size of the Grand Canyon.
--
D'Arcy J.M. Cain | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's for dinner.
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, 17 Aug 2016 16:39:30 +1000
Steven D'Aprano wrote:
> cond ? trueval : falseval
>
> Because the C syntax is horrifically ugly, whereas the Python syntax
> is very close to real English syntax.
Or, put another way, Python prefers English over line noise.
--
till have it in the basement.
--
D'Arcy J.M. Cain
System Administrator, Vex.Net
http://www.Vex.Net/ IM:da...@vex.net
VoIP: sip:da...@vex.net
--
https://mail.python.org/mailman/listinfo/python-list
On Tue, 30 Aug 2016 15:56:07 +0200
Joe wrote:
> Am 30.08.2016 um 13:01 schrieb D'Arcy J.M. Cain:
> > On Mon, 29 Aug 2016 21:21:05 -0700
> > Larry Hudson via Python-list wrote:
> >> I remember it well. It's what I used to initially learn C. I'm a
> &
disk.
When I finally upgraded to a whopping 64K of RAM (with a Morrow S-100
memory board) I had to blank out the section where the disk controller
sat in memory.
--
D'Arcy J.M. Cain
System Administrator, Vex.Net
http://www.Vex.Net/ IM:da...@vex.net
VoIP: sip:da...@vex.net
--
https://mail.
))
> This email is confidential and may be subject to privilege. If you
> are not the intended recipient, please do not copy or disclose its
> content but contact the sender immediately upon receipt.
Do you realize how stupid it is to put this on a message sent all around
the world?
--
D&
;t the fact that they are attached to every
email, even ones obviously meant for the public, give someone an
argument that they don't really apply?
--
D'Arcy J.M. Cain
System Administrator, Vex.Net
http://www.Vex.Net/ IM:da...@vex.net
VoIP: sip:da...@vex.net
--
https://mail.python.org/mailman/listinfo/python-list
On Fri, 07 Oct 2016 16:09:19 +0200
jmp wrote:
> What about
>
> def test():
>if not hasattr(test, '_store'): test._store={'x':0}
>test._store['x'] += 1
Why is everyone working so hard to avoid creating a class?
--
D'Arcy J.M. Cain
Syste
orate a new secret plan to ensure that Python
> > users suffer again with a new major release breaking all their
> > legacy code.
>
> "2016-03-31 23:40"
> You're 20 minutes early :)
And too obvious.
--
D'Arcy J.M. Cain
System Administrator, Vex.Net
htt
t;
> as your name; the nature of your verbose output might give a clue as
> to what name would work.
How about "print"?
if not verbose:
def print(*args, **kws): pass
--
D'Arcy J.M. Cain
Vybe Networks Inc.
http://www.VybeNetworks.com/
IM:da...@vex.net VoIP: sip:da...@vybenetworks.com
--
https://mail.python.org/mailman/listinfo/python-list
On Fri, 22 Jul 2016 08:21:17 -0700
justin walters wrote:
> You could also replace that line with:
>
> if stock is None or type(stock) != dict:
Use isinstance(). That handles classes that subclass dict as well.
--
D'Arcy J.M. Cain
System Administrator, Vex.Net
http://www.
you must see if you
> have to put in a pass statement. And after adding a statement, you
> may feel the urge to remove the redundant pass statement.
If you allow empty blocks and you use it I hope that you would add a
comment so that the reader knows that you meant it.
for x in sequence:
On Sat, 23 Jul 2016 16:13:58 +0300
Marko Rauhamaa wrote:
> "D'Arcy J.M. Cain" :
> > It's ambiguous to the reader what was actually meant. Forcing a
> > "pass" there shows the reader that the empty block was not a
> > mistake.
>
> Just
e "pass #@#" which is
easy to remove with a search and replace.
In any case, the rule about premature optimization for programs can
probably be applied to developers too. Is saving a "pass" once in a
while really where you need to focus your debugging efforts?
--
D'Ar
hat was an idiot.
Oh wait - I wrote that. Damn! There must have been a reasonable
excuse then.
Naturally that part of my message was the only thing commented on. I
suppose people stopped reading after that flub and missed my insightful
comment on premature developer optimization.
Getting more cof
there's a more than zero
chance I might need to log it again one day.
--
D'Arcy J.M. Cain
System Administrator, Vex.Net
http://www.Vex.Net/ IM:da...@vex.net
VoIP: sip:da...@vex.net
--
https://mail.python.org/mailman/listinfo/python-list
n
just isn't your language?
By the way, the last time I replied to you it went to the list but your
address bounced. Was that a glitch or are you using an invalid address
in a mailing list?
--
D'Arcy J.M. Cain
System Administrator, Vex.Net
http://www.Vex.Net/ IM:da...@vex.net
VoIP: sip:da...@vex.net
--
https://mail.python.org/mailman/listinfo/python-list
't care if you are using carrier pigeon. If you send an email
address, make it a valid one.
Maybe you should just change it to I_Am_a_Troll@nowhere. It's becoming
increasingly obvious that you have absolutely no interest in Python and
are just trying to get a rise out of people.
*plon
mpile-time syntax error) instead of a perplexing source of mystery
> bugs.
While neither is a syntax error, the latter is definitely a run-time
error:
>>> mylist.sort().reverse()
Traceback (most recent call last):
File "", line 1, in
AttributeError: 'NoneType
On Mon, 01 Aug 2016 00:25:58 +1000
Gordon Levi wrote:
> "D'Arcy J.M. Cain" wrote:
> >I don't care if you are using carrier pigeon. If you send an email
> >address, make it a valid one.
>
> I admire those who use a valid email address on Usenet but i
On Sun, 31 Jul 2016 11:53:47 -0400
"D'Arcy J.M. Cain" wrote:
> On Mon, 01 Aug 2016 00:25:58 +1000
> On the other hand I have no throwaway accounts. Every address I use
> is a primary one. I have all sorts of methods to block spam. None of
> those methods involve
Time to change the subject.
On Tue, 02 Aug 2016 01:30:47 +1000
Gordon Levi wrote:
> "D'Arcy J.M. Cain" wrote:
> >: Host or domain name not found. Name service
> >error for name=address.invalid type=: Host not found
> >
> >So I have to examine every
o send me email
pretending to be from Vex.Net you get a "5xx Yah Right" error.
> Unfortunately, a lot of domains don't have SPF records, or have very
> convoluted ones (check out gmail.com's SPF for instance).
I can only fix my little corner of the Internet.
--
D'
ing to the mailing list
> side of things get our real email addresses copied out into Usenet
> and I haven't noticed any change in spam levels.
Ditto.
--
D'Arcy J.M. Cain
System Administrator, Vex.Net
http://www.Vex.Net/ IM:da...@vex.net
VoIP: sip:da...@vex.net
--
https://mail.python.org/mailman/listinfo/python-list
age was coming from.
:0 Hir
* ^List-Id:.*python-list.python.org
* ^From:.*@gmail.com
* ^Newsgroups:.*
/dev/null
--
D'Arcy J.M. Cain
System Administrator, Vex.Net
http://www.Vex.Net/ IM:da...@vex.net
VoIP: sip:da...@vex.net
--
https://mail.python.org/mailman/listinfo/python-list
utf-8
Traceback (most recent call last):
File "./g", line 5, in
print(u"\N{TRADE MARK SIGN}")
UnicodeEncodeError: 'ascii' codec can't encode character '\u2122' in
position 0: ordinal not in range(128)
What am I missing?
TIA.
--
D'Arc
On Fri, 4 Dec 2015 22:49:49 +
Albert-Jan Roskam wrote:
> I think you need to use a raw unicode string, ur
>
> >>> unicodedata.name(ur'\u2122')
> 'TRADE MARK SIGN'
That seems to work in 2.x but not 3.x.
--
D'Arcy J.M. Cain
Vybe Networks Inc.
On Fri, 4 Dec 2015 18:28:22 -0500
Terry Reedy wrote:
> On 12/4/2015 1:07 PM, D'Arcy J.M. Cain wrote:
> > I thought that going to Python 3.4 would solve my Unicode issues
>
> Within Python itself, that should be mostly true. As soon as you
> send text to a display, t
On Sat, 5 Dec 2015 13:56:47 +0100
Robin Koch wrote:
> x += y works. (Well, it should.)
It does, even on objects other than numbers.
>>> x = "abc"
>>> y = "def"
>>> x += y
>>> x
'abcdef'
> x++ doesn't.
No but it'
.
Thanks to all. Following up on the various posts brought me to
information that solved my problem. Basicall I added "export
PYTHONIOENCODING=utf8" to my environment and "SetEnv PYTHONIOENCODING
utf8" in my Apache config and now things are working as they should.
Thanks
line 489, in read
newdata = self.stream.read()
File "/usr/pkg/lib/python3.4/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xa2 in position 6:
ordinal not in range(128)
--
D'Arcy J.M. Cain
Vybe Networks Inc.
http://www.VybeNetworks.com/
IM:da...@vex.net VoIP: sip:da...@vybenetworks.com
--
https://mail.python.org/mailman/listinfo/python-list
s not valid ASCII. However, my default encoding is utf-8.
Other web pages on the same server display fine.
I have the following in the Apache config by the way.
SetEnv PYTHONIOENCODING utf8
So, my file is utf-8, I am reading it as utf-8, my Apache server output
is set to utf-8. How is ASC
On Sun, 13 Dec 2015 13:17:24 +0100
Laura Creighton wrote:
> In a message of Sun, 13 Dec 2015 01:35:45 -0500, "D'Arcy J.M. Cain"
> writes:
> >When I try to print it to the web page it fails because the \xe9
> >character is not valid ASCII. However, my default enco
ll themselves web designers.
It reminds me of when one day people started claiming to be "building"
computers and they didn't even own a soldering iron.
--
D'Arcy J.M. Cain
Vybe Networks Inc.
http://www.VybeNetworks.com/
IM:da...@vex.net VoIP: sip:da...@vybenetworks.com
--
https://mail.python.org/mailman/listinfo/python-list
On Thu, 24 Dec 2015 17:30:08 + (UTC)
Grant Edwards wrote:
> And don't get me started on those people who use those "integrated
> circuits" instead of transistors, relays, and tubes...
Mmmm. Tubes. Still use them in my guitar amp. Transistors just
aren't the s
eed to clutter up you file system.
--
D'Arcy J.M. Cain
Vybe Networks Inc.
http://www.VybeNetworks.com/
IM:da...@vex.net VoIP: sip:da...@vybenetworks.com
--
https://mail.python.org/mailman/listinfo/python-list
if anything needs to be tweaked. This is definitely
the best solution IMO.
--
D'Arcy J.M. Cain
Vybe Networks Inc.
http://www.VybeNetworks.com/
IM:da...@vex.net VoIP: sip:da...@vybenetworks.com
--
https://mail.python.org/mailman/listinfo/python-list
On Thu, 14 Jan 2016 14:43:51 +0100
Peter Otten <__pete...@web.de> wrote:
> > Or we'll be hit by a big rock from space.
>
> Sounds like a plan.
Which one? Number 9?
--
D'Arcy J.M. Cain
Vybe Networks Inc.
http://www.VybeNetworks.com/
IM:da...@vex.net VoIP: sip:da..
st certainly.
Hmm. Am I being too subtle or...?
from OuterSpace import plan
print(plan[9])
If that's still too subtle:
https://en.wikipedia.org/wiki/Plan_9_from_Outer_Space
--
D'Arcy J.M. Cain
Vybe Networks Inc.
http://www.VybeNetworks.com/
IM:da...@vex.net VoIP: sip:da...@vybenetworks.com
--
https://mail.python.org/mailman/listinfo/python-list
;Arcy J.M. Cain
PyGreSQL Development Group
http://www.PyGreSQL.org IM:da...@vex.net
--
https://mail.python.org/mailman/listinfo/python-list
ss
class Something(INTERFACE):
...
It isn't in the name but the definition is clearly an
"INTERFACE" (whatever that is) and you also have the option of
gathering things in common to INTERFACEs in the superclass.
--
D'Arcy J.M. Cain | Democracy is three wolve
a Word document or simple
text?
--
D'Arcy J.M. Cain | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's for dinner.
IM: da...@vex.net, VOIP: sip:da...@vex.net
--
http://mail.python.org/mailman/listinfo/python-list
he system
that Linux is a clone of) out there. FreeBSD, NetBSD, Solaris, Mac
OSX, etc. You can't expect all of them to bend over backwards for
every Windows wart out there.
I don't run Windows myself so I can't test it but doesn't Python on
Windows work fine with
1 - 100 of 474 matches
Mail list logo