On 12/11/2022 10:01, Stefan Ram wrote:
> Many readers here know interactive Python sessions with
> prompts like ">>>". But a "session" could be something else.
> One could imagine that when starting a new session, one
> still sees all the variables and constants defined in
> preceding s
On 5/6/21 6:11 AM, Mr Flibble wrote:
> Python is slow and significant whitespace is patently absurd.
>
> Bloody rubbish, it's all bloody rubbish.
>
> Message ends.
>
> /Flibble
>
Machine language is so much simpler, and you can code with just a hexpad.
--
https://mail.python.org/mailman/listin
On Monday, 9 November 2015 22:27:40 UTC-5, Denis McMahon wrote:
> On Mon, 09 Nov 2015 15:52:45 -0800, Bernie Lazlo wrote:
>
> > This should be a simple problem but I have wasted hours on it. Any help
> > would be appreciated. [I have taken my code back to almost the very
> > beginning.]
> > =
ok I have wxFormBuilder as well and so could use some help with working on my
project I would explain exactally what I am doing to and one who wishes to aid
me with this.
for now I will has it has to do with a minecraft mod if you would like to known
more I will put more here
--
https://mail.p
On 12 Mar 2014 15:29:59 GMT, Alex van der Spek
wrote:
>On Wed, 12 Mar 2014 10:00:09 -0500, Zachary Ware wrote:
>
>> On Wed, Mar 12, 2014 at 9:25 AM, Alex van der Spek
>> wrote:
=== 8< ===
>Having been taught programming in Algol60 Python still defeats me at times!
>Particularly since Algol60 w
On Wednesday, October 2, 2013 5:43:32 AM UTC-5, Ferrous Cranus wrote:
>
> I only re-ask the same thing if:
>
>
> 1. Di not understood what was provided or proposed to me as being a solution
>
> 2. Still feel that that the solution provided to me doesn't meet my
> needs and should have been re
On Tuesday, October 1, 2013 5:06:38 PM UTC-5, Ben Finney wrote:
> This is an unmoderated forum, so we have occasional spates of persistent
>
> nuisances, and those who respond with the maturity level and impulse
>
> control of an average six-year-old.
Hey! That's so degrading! I don't know many
On Thu, 12 Sep 2013, Ben Finney wrote:
Better to learn these once, in a single powerful tool that can be
maintained independent of any one vendor for as long as its community is
interested.
And if you're a developer, even a community of one is enough ;)
-W
--
https://mail.python.org/mailman/li
On Tue, 10 Sep 2013, Ben Finney wrote:
The sooner we replace the erroneous
“text is ASCII” in the common wisdom with “text is Unicode”, the
better.
I'd actually argue that it's better to replace the common wisdom with
"text is binary data, and we should normally look at that text through
U
On Sat, 31 Aug 2013, candide wrote:
# -
for i in range(5):
print(i, end=' ') # <- The last ' ' is unwanted
print()
# -
Then why not define end='' instead?
-W
--
https://mail.python.org/mailman/listinfo/python-list
On Thu, 29 Aug 2013, Andreas Ecaz wrote:
I've decided to go with Flask! It's now running on UWSGI with NGINX. Hopefully
I can get some stuff done :)
@Chris “Kwpolska” Warrick
I just don't like the big frameworks, for me there is too much magic going on.
I'm a huge fan of Flask - I also fi
On Fri, 2 Aug 2013, Schneider wrote:
Hi list,
I have to write a small SMTP-Relay script (+ some statistic infos) and
I'm wondering, if this
can be done in python (in terms of performance, of course not in terms
of possibility ;) ).
It has to handle around 2000 mails per hour for at least 8h
On Thu, 1 Aug 2013, Joseph L. Casale wrote:
I have a couple handlers applied to a logger for a file and console destination.
Default levels have been set for each, INFO+ to console and anything to file.
How does one prevent logging.exception from going to a specific handler when
it falls within
On Thu, 1 Aug 2013, CM wrote:
(My subject line is meant to be tongue and cheek inflammatory)
I've been thinking about why programming for me often feels like ice skating uphill. I
think part of the problem, maybe the biggest part, is what now strikes me as a Very Bad
Habit, which is "poke an
On Thu, 1 Aug 2013, Gilles wrote:
On Wed, 24 Jul 2013 10:38:52 -0400, Kevin Walzer
wrote:
Thanks. hMailServer was one of the apps I checked, and I was just
making sure there weren't something simpler, considering my needs,
ideally something like Mongoose MTA.
Have you checked Kenneth Rietz's
On Wed, 31 Jul 2013, Joshua Landau wrote:
To explain, I tend to take the "HTML" form of alignment by wrapping:
open stuff stuff stuff close
to
open
stuff
stuff
stuff
close
Depending on how much 'stuff' I have, I, for one, prefer a third:
open stuff
stuff
stuff
clo
On Fri, 26 Jul 2013, Rui Maciel wrote:
I'm currently learning Python, and I've been focusing on Python3. To try to
kill two birds with one stone, I would also like to learn the basics of
writing small web applications.
These web applications don't need to do much more than provide an interface
On Mon, 15 Jul 2013, Kev Dwyer wrote:
Joel Goldstick wrote:
On Fri, Jul 12, 2013 at 3:12 PM, Skip Montanaro wrote:
I can't help you. I'm astonished. Trying to imagine the work
environment
where this technology would be necessary
http://www.iseriespython.com/app/ispMain.py/Start?job=Ho
On Mon, 15 Jul 2013, Devyn Collier Johnson wrote:
On 07/15/2013 08:36 AM, Steven D'Aprano wrote:
On Mon, 15 Jul 2013 06:06:06 -0400, Devyn Collier Johnson wrote:
On 07/14/2013 02:17 PM, 8 Dihedral wrote:
[...]
Do we want volunteers to speed up
search operations in the string module in
On Sat, 13 Jul 2013, Νικόλας wrote:
But then how do you explain the fact that
http://www.maxmind.com/en/geoip_demo
pinpointed Thessaloníki and not Athens and for 2 friends of mine that
use the same ISP as me but live in different cities also accurately
identified their locations too?
If you
On Sat, 13 Jul 2013, [email protected] wrote:
Well, I'm a newcome to Python, but I'm developing a program with a GUI in
tkinter, and I'm wondering what is the best, 'most pythonic' way of doing this?
I could, obviously, write a monolithic block of code.
True, you could, but don't do that.
On Sat, 13 Jul 2013, Νικόλας wrote:
But it works for me, How can it be impossible and worked for me at the
same time?
2 + 2 = 4
2 + 6 = 8???
Why can't I make 2 and 6 equal 4? It worked for 2, so I know it's not
impossible! I don't care what everyone says, I was able to make one case work
so ob
,
Wayne
[1]: https://en.wikipedia.org/wiki/UTF-EBCDIC
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, 4 Jul 2013, Νίκος Γκρ33κ wrote:
Στις 4/7/2013 6:10 μμ, ο/η MRAB έγραψε:
What do you mean "I don't know how to catch the exception with
OSError"? You've tried "except socket.gaierror" and "except
socket.herror", well just write "except OSError" instead!
try:
host = socket.geth
for some error handling, or write your own
context manager class.
HTH,
Wayne
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, 4 Jul 2013, Steven D'Aprano wrote:
[1] Based on empirical evidence that Python supports names with length at
least up to one million characters long, and assuming that each character
can be an ASCII letter, digit or underscore.
The specification *does* state unlimited length:
http://
On Wed, 3 Jul 2013, Dennis Lee Bieber wrote:
Consider that the Powershell default is to /prevent/ execution of
script files unless some security settings have been changed; even local
script files need to be "signed" to be executed.
Protip: No they don't - wrap it in a cmd/bat file and
On Fri, 28 Jun 2013, Joel Goldstick wrote:
On Fri, Jun 28, 2013 at 2:52 PM, Wayne Werner wrote:
On Fri, 28 Jun 2013, 8 Dihedral wrote:
KIND OF BORING TO SHOW HOW THE LISP PROGRAMMING
WAS ASSIMULATED BY THE PYTHON COMMUNITY.
OF COURSE PYTHON IS
On Fri, 28 Jun 2013, 8 Dihedral wrote:
KIND OF BORING TO SHOW HOW THE LISP PROGRAMMING
WAS ASSIMULATED BY THE PYTHON COMMUNITY.
OF COURSE PYTHON IS A GOOD LANGUAGE FOR DEVELOPING
ARTIFICIAL INTELEGENT ROBOT PROGRAMS NOT SO BRAIN DAMAGES,
OR SO SLAVERY AS C/C++ OR ASEMBLY PARTS.
Best. Post
On Wed, 15 May 2013, Henry Leyh wrote:
Yes, I was trying that and it sort of works with strings if I use something
sufficiently improbable like "__UNSELECTED__" as default. But it gets
difficult with boolean or even number arguments where you just may not have
valid "improbable" defaults. You
On Mon, 13 May 2013, Greg Ewing wrote:
Wayne Werner wrote:
On Fri, 10 May 2013, Gregory Ewing wrote:
f = open("myfile.dat")
f.close()
data = f.read()
To clarify - you don't want a class that has functions that need to be
called in a certain order with *valid input*
On Fri, 10 May 2013, Gregory Ewing wrote:
Wayne Werner wrote:
You don't ever want a class that has functions that need to be called in a
certain order to *not* crash.
That seems like an overly broad statement. What
do you think the following should do?
f = open("myfile.dat&q
On Fri, 10 May 2013, Robert Kern wrote:
On 2013-05-10 12:00, Steven D'Aprano wrote:
But either way, that's fine. You've found an object where it does make
sense to have an explicit "make it go" method: first one entity has
permission to construct the object, but not to open the underlying file
ake sure that when I do this:
thing = YourSuperAwesomeClass()
thing.do_stuff()
that I don't get some horrid stack trace ending with
InvalidStateError: initialize() needs to be called before do_stuff()
Or something worse.
HTH,
Wayne
p.s. I'm interested in reading whatever i
back into a floating point NaN object.
I infer that you were proposing a JSON null value and not the string
'null'?
Not me, Wayne Werner proposed to use the JSON null value. I parsed
the backticks (`) used by him as a way to delimit it from text and not
as a string.
That was, in
On Wed, 17 Apr 2013, Miki Tebeka wrote:
I'm trying to find a way to have json emit float('NaN') as 'N/A'.
No. There is no way to represent NaN in JSON. It's simply not part of the
specification.
I know that. I'm trying to emit the *string* 'N/A' for every NaN.
Why not use `null` instead? I
ntedError()
Which is terribly unhelpful.
HTH,
Wayne
--
http://mail.python.org/mailman/listinfo/python-list
OST'])
def basic():
form = MyBasicForm()
if form.validate_on_submit():
do_the_needful(form.some_text.data)
return redirect(url_for('main'))
return render_template('basic_form.html', form=form)
Obviously a really basic example. Check out Flask here:
On Thu, 11 Apr 2013, Dexter Deejay wrote:
Yeah, that seems to be problem. Waiting for message is in theory infinite. But
why doesn't this separate thread leave processor while it is sleeping?
As far as I've been able to tell? Magic ;)
But I haven't really dug into it. If you're really doing
On Thu, 11 Apr 2013, Dexter Deejay wrote:
When i try to run this code and to connect to server (server is written in java
that part of code is ok) everything stalls. Thread that i created here occupies
processor all the time and GUI freezes. It's supposed to be waiting for message
from server
On Thu, 21 Mar 2013, Roy Smith wrote:
In article ,
Terry Reedy wrote:
On 3/20/2013 10:03 AM, franzferdinand wrote:
Ok, thanks everybody!
Threads are like the Sorcerer's Apprentice. You can start 'em, but you
cannot stop 'em ;-)
Of course you can stop threads. Just call _exit(). No more
ll it, and what to do step by step?
I am using the lastest Python version 3.3 .
Do you have easy_install or pip installed? If you do,
$ pip install jinja2
And that's it!
HTH,
Wayne
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, 24 Jan 2013, Tim Chase wrote:
On 01/24/13 13:34, Leonard, Arah wrote:
All true (especially the holy wars bit!). OP didn't (as far as
I can see) even say which OS he is using. Anyway, my suggestion
is generally that people use the editor with which they are
already comfortable.
Sound a
On Fri, 4 Jan 2013, Roy Smith wrote:
In article ,
Cameron Simpson wrote:
On 01/04/13 01:34, Anssi Saari wrote:
| Just curious since I read the same thing in a programming book recently
| (21st century C). So what's the greatness that terminal multiplexors
| offer over tabbed terminals? Especi
On Tue, 1 Jan 2013, Ramchandra Apte wrote:
On Friday, 28 December 2012 01:31:16 UTC+5:30, mogul wrote:
'Aloha!
I'm new to python, got 10-20 years perl and C experience, all gained on unix
alike machines hacking happily in vi, and later on in vim.
Now it's python, and currently mainly on
On Tue, 1 Jan 2013, Mitya Sirenef wrote:
On 01/01/2013 02:02 PM, Roy Smith wrote:
That's true with Vim, as well, especially when I'm making a custom
mapping and I can NEVER remember what some combination does, even though
if I actually needed to use it, it pops right out, so to find out, I
have
On Wed, 2 Jan 2013, Michael Torrie wrote:
On 01/01/2013 11:43 AM, Mitya Sirenef wrote:
Therefore, deleting 3 WORDs is 3daW (mnemonic: del a WORD 3 times).
Interesting. I typically use just d3w. 3daW seems to delete 3 lines
for me, the same result as d3. Another favorite command is d or
c fo
On Thu, 20 Dec 2012, Chris Angelico wrote:
On Thu, Dec 20, 2012 at 2:57 AM, Bart Thate wrote:
I want in a function or method determine the context of my caller and adapt
the functionality accordingly.
First off, please don't! Your code will be *extremely* confusing.
Usually, the best way to
On Tue, 18 Dec 2012, Tom Borkin wrote:
Hi;
I have this test code:
if i_id == "1186":
sql = 'insert into interactions values(Null, %s, "Call Back", "%s")' %
(i_id, date_plus_2)
cursor.execute(sql)
db.commit()
print sql
It prints the sql statement, but it doesn't exe
On Thu, 11 Oct 2012, Wayne Werner wrote:
So here's where things got weird. I could call
`subprocess.check_output(['hg', 'root'])`, and things worked just fine. But
when I added the env parameter, I got the untrusted issues. So if I did:
import os, subp
n reading the manpages, but nothing seems to pop
out at me as "hey, this should/shouldn't work!".
Does anyone know what's going on here, or where I should go for more help?
Thanks,
Wayne
--
http://mail.python.org/mailman/listinfo/python-list
h the print function:
values = [1,2,3,4]
print(*values, sep='\n', file=outfile)
I'll leave it to you to experiment.
HTH,
Wayne
--
http://mail.python.org/mailman/listinfo/python-list
L for you - you
just define the ORM. (Hey look! A Python module!)
My $0.02
-Wayne
--
http://mail.python.org/mailman/listinfo/python-list
ge nitwits
annoy most people who are interested in talking about Python code, and not
who did what to who.
-Wayne
--
http://mail.python.org/mailman/listinfo/python-list
On Sun, 23 Sep 2012, Dwight Hutto wrote:
We're the borg.
Oh, so you *are* a robot. That does explain your posts ;)
--
http://mail.python.org/mailman/listinfo/python-list
l
metrics?
-Wayne--
http://mail.python.org/mailman/listinfo/python-list
deal with the lower level algorithms. Which makes *me* happy
:)
-Wayne
--
http://mail.python.org/mailman/listinfo/python-list
>
> Thinking object-orientedly, my first idea was to use an object as a
> decorator:
>
> class CallCounter:
> def __init__(self, decorated):
> self.__function = decorated
> self.__numCalls = 0
>
> def __call__(self, *args, **kwargs):
> self.__numCalls += 1
> return self.__fun
On Fri, 1 Apr 2011 21:52:24 +0200, Karl
<[email protected]> wrote:
>Hello,
>
>one beginner question:
>
>aList = [0, 1, 2, 3, 4]
>bList = [2*i for i in aList]
>sum = 0
>for j in bList:
> sum = sum + bList[j]
>print j
>
>0
>2
>4
>IndexError: 'list index out of range'
>Why is j
On Mon, 27 Sep 2010 12:45:44 -0400, Andreas Waldenburger
wrote:
>On Mon, 27 Sep 2010 17:48:06 +0200 Marco Gallotta
> wrote:
>
>> Since these are kids, we feel the nice changes in 3 such as removing
>> integer division will help in teaching. It will also remove confusion
>> when they go to downloa
On Mon, 27 Sep 2010 20:57:09 -0700 (PDT), Peter
wrote:
>On Sep 28, 12:31 pm, Steven D'Aprano [email protected]> wrote:
>> On Mon, 27 Sep 2010 15:28:34 -0700, Eduardo Ribeiro wrote:
>> > But it doesn't work.
>>
>> What do you mean "doesn't work"?
>>
>> - It crashes the operating system;
>> -
On Thu, 09 Sep 2010 18:26:52 -0400, Dave Angel wrote:
> On 2:59 PM, Baba wrote:
>> Hi
>>
>> In below code "the outer loop test in step 4 will execute ( n + 1 )
>> times (note that an extra step is required to terminate the for loop,
>> hence n + 1 and not n executions), which will consume T4( n
My town office uses Microsoft operating system. They have a proprietary
accounting system that uses excel for their accounting reports.
I would like to read these report and reproduce the report so that
the report can be seen on the web. I was thinking about using xlrd and
xlwt along with some sort
Thank you
It just highlights that when your tired things can easily be missed and
maybe you should leave things until the morning to view things with
fresh eyes =)
--
http://mail.python.org/mailman/listinfo/python-list
On Sat, 7 Nov 2009 19:34:47 +0100, Andre Engels
wrote:
>On Sat, Nov 7, 2009 at 6:40 PM, Mensanator wrote:
>
>>> Tongue in cheek solution:
>>>
>>> import urllib2
>>>
>>> url = 'http://primes.utm.edu/lists/small/1.txt'
>>> primes = []
>>> for line in urllib2.urlopen(url).read().splitlines():
>
imburger', 'Perl'])
>>> cheese & stinky # stinky cheese
set(['limburger', 'stilton'])
>>> cheese ^ stinky # either cheese or stinky but not both
set(['doggy-doo', 'civet', 'polecat', 'skunk', 'cheddar'])
>>> cheese ^ stinky ^ nasty # in an odd number of these sets (1 or 3)
set(['civet', 'cheddar', 'Perl', 'limburger', 'skunk'])
Who hasn't needed that occasionally?
wayne
--
http://mail.python.org/mailman/listinfo/python-list
,
>>> 'civet'])
>>> nasty = set(['doggy-doo', 'polecat', 'limburger', 'Perl'])
>>> cheese & stinky # stinky cheese
set(['limburger', 'stilton'])
>>> cheese ^ stinky # either cheese or stinky but not both
set(['doggy-doo', 'civet', 'polecat', 'skunk', 'cheddar'])
>>> cheese ^ stinky ^ nasty # in an odd number of these sets (1 or 3)
set(['civet', 'cheddar', 'Perl', 'limburger', 'skunk'])
wayne
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, 15 Jul 2009 11:51:44 -0700 (PDT), Mark Dickinson
wrote:
>On Jul 15, 7:29 pm, Wayne Brehaut wrote:
>> On Tue, 14 Jul 2009 11:47:41 -0700 (PDT), Mark Dickinson
>> wrote:
>> >I'd also guess that 'xor' would be much less used than 'and' o
es on the observation that subtracting an integer
value from 0x gives the same result as XOR-ing that same value
to 0x."
And, perhaps the most useful use of all, for Bouton's solution of the
game of Nim--both for the proof that his strategy "solves" the game
and for an easy implementation of a Nim-playing program--and the only
operator needed is XOR (e.g., http://www.wordiq.com/definition/Nim).
wayne
--
http://mail.python.org/mailman/listinfo/python-list
ot a "super xor" (commonly known as XOR). Rather than
describing xor as:
check if exactly one element of two elements is true
describe it as:
check if an odd number of two elements is true
then you'll get the correct definition of "super xor":
chec
On Wed, 24 Jun 2009 11:46:55 -0700 (PDT), Saurabh
wrote:
>Hi All,
>
>I am trying to move my application on a MVC architecture and plan to
>use Jinja for the same. Can anyone provide me with few quick links
>that might help me to get started with Jinja?
Perhaps the most useful link is:
http://ww
The Twisted package (http://twistedmatrix.com/) has some examples of
interacting with e-mail servers. Twisted supports interaction between
asynchronous tasks. --Wayne
J wrote:
Is it possible to make a GUI email program in Python that stores
emails, composes, ect?
--
http://mail.python.org
hen I run the client code,some error of parser raise.
I found it is the matter of 'Content-Length' in the HTTP Response of
CGIXMLRPCRequestHandler,it is a wrong number.
I don't know how to handle the problem.
Wait for your help.
Wayne
--
http://mail.python.org/mailman/listinfo/python-list
oblematic segment is just a hack of a similar statement which
has the same problem and a much longer path. I suspect the problem is
with the back slash.
--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
On Wed, 9 Jan 2008 03:43:38 -0800 (PST), Tom La Bone
<[EMAIL PROTECTED]> wrote:
>
>Can someone suggest where to get a version of Gnuplot.py (for Windows) that
>has been updated to use numpy? Or, is there another interface available to
>use GnuPlot from Python?
>
>Thanks.
>
>Tom
Gnuplot 1.7 uses
On Mon, 10 Dec 2007 21:41:56 +0100, Bruno Desthuilliers
<[EMAIL PROTECTED]> wrote:
>Wayne Brehaut a écrit :
>(snip spam)
>> Obvious, since God is One, and so He divides 1, and 0, and -1, and all
>> integers both positive and negative (Peace Be Upon Them).
>>
>
On Mon, 10 Dec 2007 11:20:49 -0800 (PST), aassime abdellatif
<[EMAIL PROTECTED]> wrote:
> 'And they devised, and God
>devised, and God devised, and God is the best of divisors.
Obvious, since God is One, and so He divides 1, and 0, and -1, and all
integers both positive and negative (Peace Be Up
On Wed, 21 Nov 2007 17:06:15 -0800 (PST), braver
<[EMAIL PROTECTED]> wrote:
>On Nov 22, 3:41 am, Wayne Brehaut <[EMAIL PROTECTED]> wrote:
>> If you have PythonWin 2.5.1 (r251:54863, May 1 2007, 17:47:05) [MSC v.1310
>> 32 bit (Intel)] on win32.for example, using He
Hi braver,
On Wed, 21 Nov 2007 15:17:14 -0800 (PST), braver
<[EMAIL PROTECTED]> wrote:
>I'd like to check, for a filehandle f, that EOF has been reached on
>it. What's the way to do it? I don't want to try/except on EOF, I
>want to check, after I read a line, that now we're in the EOF state.
I
On Thu, 28 Sep 2006 17:32:06 +0200, Fredrik Lundh
<[EMAIL PROTECTED]> wrote:
>Ramon Diaz-Uriarte wrote:
>
>> Going back to the original question, a related question: does anybody
>> know why there are so few books on data structures and algorithms that
>> use Python?
>
>Probably because Python has
On Thu, 28 Sep 2006 17:23:25 +0200, "Ramon Diaz-Uriarte"
<[EMAIL PROTECTED]> wrote:
>Going back to the original question, a related question: does anybody
>know why there are so few books on data structures and algorithms that
>use Python?
>
>I remember that, at least ~ 12 years ago there were man
On Wed, 07 Nov 2007 09:00:12 -0800, John DeRosa <[EMAIL PROTECTED]>
wrote:
>On Wed, 07 Nov 2007 16:23:56 +0900, Byung-Hee HWANG <[EMAIL PROTECTED]>
>wrote:
>
>>On Wed, 2007-11-07 at 00:10 +, [EMAIL PROTECTED] wrote:
>>> On Nov 6, 12:30 pm, Nicola Talbot <[EMAIL PROTECTED]> wrote:
>>> > Hi,
>>>
rver has still
available and got no hits on "linear programming", but didn't try just
"LP" or similar.
Good luck!
Wayne
>Thanks,
>
>Jorge Velasquez
>PhD Student, Department of Ecology and Evolution at Stony Brook
--
http://mail.python.org/mailman/listinfo/python-list
ion), I can get expected answer, otherwise the result is not
unexpected.
Could anybody give me a possible explanation to this? Does python use kind
of pre-complie techinque to treat the lambda function? (like the macro in C
or inline function in C++)
Thanks in advance
Wayne
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, 04 Oct 2007 04:52:13 +0200, Bruno Desthuilliers
<[EMAIL PROTECTED]> wrote:
>Wayne Brehaut a écrit :
>> On Thu, 04 Oct 2007 04:12:04 +0200, Bruno Desthuilliers
>> <[EMAIL PROTECTED]> wrote:
>>
>>
>>>J. Clifford Dyer a écrit :
>(snip)
On Thu, 04 Oct 2007 04:12:04 +0200, Bruno Desthuilliers
<[EMAIL PROTECTED]> wrote:
>J. Clifford Dyer a écrit :
>> On Fri, Oct 05, 2007 at 04:11:07PM -, Grant Edwards wrote
>> regarding Re: Python Magazine: Issue 1 Free!:
>>
>>> On 2007-10-05, Steve Holden <[EMAIL PROTECTED]> wrote:
>>>
>
On Tue, 02 Oct 2007 12:13:21 -, [EMAIL PROTECTED] wrote:
>On 2 Pa , 13:39, Ben Finney <[EMAIL PROTECTED]>
>wrote:
>> [EMAIL PROTECTED] writes:
>> > import string
>>
>> Why import 'string' if you're not using it?
>>
>> > f=open('/test/test.asc','r')
>> > o=open('/test/out.asc','w')
>> > for lin
On Tue, 21 Aug 2007 21:56:18 +0200, Hrvoje Niksic <[EMAIL PROTECTED]>
wrote:
>Christof Winter <[EMAIL PROTECTED]> writes:
>
>> To get rid of the if statements, replace __init__ function with:
>>
>> def __init__(self, tc):
>> functionToCall = eval("self.testCase%s" % tc)
>
>Or functio
On Mon, 16 Jul 2007 08:51:31 +0200, "Hendrik van Rooyen"
<[EMAIL PROTECTED]> wrote:
> "Wayne Brehaut" <[EMAIL PROTECTED]> wrote:
>
>> On Sun, 15 Jul 2007 17:37:13 -0400, Steve Holden <[EMAIL PROTECTED]>
>> wrote:
>>
>> >
On Mon, 16 Jul 2007 09:55:35 +0200, Bruno Desthuilliers
<[EMAIL PROTECTED]> wrote:
>Wayne Brehaut a écrit :
>> On Sat, 14 Jul 2007 06:01:56 +0200, Bruno Desthuilliers
>> <[EMAIL PROTECTED]> wrote:
>>
>>> Chris Carlen a écrit :
>>>> Hi:
>
On Mon, 16 Jul 2007 10:10:05 +0200, Bruno Desthuilliers
<[EMAIL PROTECTED]> wrote:
>Wayne Brehaut a écrit :
>(snip)
> > after Bruno made the
>> claim: "OO is about machines - at least as conceveid by Alan Key, who
>> invented the term and most of the concept.&q
On Sun, 15 Jul 2007 17:37:13 -0400, Steve Holden <[EMAIL PROTECTED]>
wrote:
>Wayne Brehaut wrote:
>> On Fri, 13 Jul 2007 14:32:03 -0700, "[EMAIL PROTECTED]"
>[...]
>> But I digress (but only because provoked!)...
>>
>>>> [for purposes of t
On Fri, 13 Jul 2007 14:32:03 -0700, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
>On Jul 13, 2:52 pm, Wayne Brehaut <[EMAIL PROTECTED]> wrote:
>> On Fri, 13 Jul 2007 11:30:16 -0700, Paul McGuire <[EMAIL PROTECTED]>
>> wrote:
>>
>>
>>
On Fri, 13 Jul 2007 14:27:13 -0700, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
>On Jul 13, 1:20 pm, Wayne Brehaut <[EMAIL PROTECTED]> wrote:
>> On Mon, 09 Jul 2007 23:51:25 -0700, "[EMAIL PROTECTED]"
>>
>>
>>
>>
>>
>
On Sun, 15 Jul 2007 07:47:20 -, [EMAIL PROTECTED] wrote:
>On Jul 13, 3:20 pm, Wayne Brehaut <[EMAIL PROTECTED]> wrote:
>> On Sat, 14 Jul 2007 06:01:56 +0200, Bruno Desthuilliers
>>
>> <[EMAIL PROTECTED]> wrote:
>> >Chris Carlen a écrit :
>> >
On Sat, 14 Jul 2007 11:49:48 -0600, darren kirby
<[EMAIL PROTECTED]> wrote:
>quoth the Wayne Brehaut:
>
>> (I started with Royal McBee LGP 30 machine language (hex input) in
>> 1958, and their ACT IV assembler later! Then FORTRAN IV in 1965. By
>> 1967 I too was usin
On Sat, 14 Jul 2007 19:18:05 +0530, "Rustom Mody"
<[EMAIL PROTECTED]> wrote:
>On 7/14/07, Alex Martelli <[EMAIL PROTECTED]> wrote:
>>
>> OOP can be abused (particularly with deep or intricate inheritance
>> structures). But the base concept is simple and clear: you can bundle
>> state and behavio
On Fri, 13 Jul 2007 20:37:04 -0400, Steve Holden <[EMAIL PROTECTED]>
wrote:
>Aahz wrote:
>> In article <[EMAIL PROTECTED]>,
>> Chris Carlen <[EMAIL PROTECTED]> wrote:
>>>From what I've read of OOP, I don't get it.
>>
>> For that matter, even using OOP a bit with C++ and Perl, I didn't get it
>
On Sat, 14 Jul 2007 03:18:43 +0200, Wildemar Wildenburger
<[EMAIL PROTECTED]> wrote:
>Wayne Brehaut wrote:
>>> (had to be a semicolon there)
>>>
>>
>> Not "had to be" since a discerning reader will note that the two
>> values in
On Fri, 13 Jul 2007 14:51:52 -0400, "Jeff McNeil" <[EMAIL PROTECTED]>
wrote:
>The raw_input built-in returns a string. The '[0]' subscript returns
>the first character in the user supplied response as strings support
>indexing.
>
>[GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin
>Type "hel
1 - 100 of 113 matches
Mail list logo