This looks more or less like what I am looking for to learn Zope3! As
is mentioned elsewhere in this thread Zope3 is *nothing* like Zope2 and
after starting to learn the one, I knew nothing about the other.
*Everything* is different - from the interface to the design
methodologies.
One thing Zope
*binarystar* wrote:
> Hello there,
>
> what method would you use to return the name of the class and/or
> instance introspectively eg.
>
> class Bollocks:
>
> def __init__( self ):
>
> print self.__method_that_returns_class_name__()
> print self.__method_that_ret
ok , got it . Thanks
--
http://mail.python.org/mailman/listinfo/python-list
Hello there,
what method would you use to return the name of the class and/or
instance introspectively eg.
class Bollocks:
def __init__( self ):
print self.__method_that_returns_class_name__()
print self.__method_that_returns_inst
[EMAIL PROTECTED] wrote:
> can anybody explain, in the first case why i need to do two attempts.
I would guess it's because redhat requires your browser to submit a session
cookie with the login form. In the urllib2 example, the first request you
make tries to submit login form data directly. Si
"Bell, Kevin" wrote:
> I would like some feedback about my actual intention though, which is to
> scrape local newspaper websites for the names of people that I work
> with. Twice this month, colleagues have unknowingly been in the
> newspaper, and only became aware of it because someone stumbled
"Bell, Kevin" wrote:
> Well I certainly am learning a lot. I never said I intended to download
> anyone's entire website, as was assumed, but it's been fun to see how
> folks feel about it anyway!
never?
"If I want to search through the entire python website give[n] the
homepage, how wo
Hello, I'm writing a physics simulator back-end with a built-in,
threaded server that for the moment is quite simple. I've faced a few
problems in writing this code, however, as it's the first time I've
played with threading. For the moment, everything works decently, but I
need (or rather, want) a
On 25 Apr 2006 12:21:43 -0700, "Xah Lee" <[EMAIL PROTECTED]> wrote,
quoted or indirectly quoted someone who said :
>Criticism versus Constructive Criticism
I think you would do better to put this sort of thing on a website
rather than post it in a newsgroup. It is too pretentious for a
newsgroup
Alex Martelli wrote:
> I believe the single figure is a useful summary. Even the most
> sophisticated benchmarks are eventually boiled down to single figures,
> as in "so many SPECmarks" etc, because in everyday discourse a scalar is
> what you can reasonably discuss. Sure, philosophically speaki
Hi ,
I am using python2.4 "urllib2" and "cookelib".
In line "5" below i provide my credentials to
login into a web site.During the first attempt i "fail",
judging from the output of line "6".
I try again and the second time i succeed,judging
from the output of line "8".
Now using the "twill" modu
Alex Martelli wrote:
> I assume you mean "compare pybench on Python 2.4.3 compiled under" etc.
Yep
> Unfortunately, I suspect the ex-officio gcc defenders will only react by
> finding yet another quibble (anything to avoid admitting that gcc may
> not be as good at optimizing as a _Microsoft_ pro
this has been a problem for me for some time.
I want to save the interpretters command history to a file, there is a
history file in my user directory .pyhistory but it saves only like 500
or so
how can I make it save all the commands and not delete it, any other
suggestions that people use is w
Duncan Booth <[EMAIL PROTECTED]> wrote:
...
> Actually, this is quite an interesting example becaue it wouldn't work in
> C++: if you tried the same trick the call to dothis from the base
> constructor (even assuming it is virtual) would actually call Base.dothis.
Yep.
> I think you have demo
Hi ,
I am using python2.4 "urllib2" and "cookelib".
In line "5" below i provide my credentials to
login into a web site.During the first attempt i "fail",
judging from the output of line "6".
I try again and the second time i succeed,judging
from the output of line "8".
Now using the "twill" modu
Edward Elliott <[EMAIL PROTECTED]> wrote:
> Alex Martelli wrote:
> > At the same time, if the 14% slowdown is representative, then it's not
> > true that the compiler responsible for it "optimizes as well" as the
> > other; indeed, "does not optimize particularly well", under such a
> > hypothesis
Edward Elliott <[EMAIL PROTECTED]> wrote:
> Alex Martelli wrote:
> > about MacOSX, which also uses gcc: 14% faster pybench using Python 2.4.3
>
> this is the second time I've seen that 14% figure. OOC, where does it come
> from? the data sets you posted show an average 12.6% speedup. 14 is an
# http://ttcom.blogspot.com/2006/04/345-free-online-programming-books.html
It seems this has been making the rounds today. The Practical
PostgreSQL link is also broken; OpenDocs Publishing ceased to exist
starting several months ago.
--
Jonathan Daugherty
http://www.parsed.org
--
http://ma
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Check it out, ^_^
>
> http://ttcom.blogspot.com/2006/04/345-free-online-programming-books.html
Some of the urls on the listing page
http://ttshare.googlepages.com/probooks.htm
are not properly marked up as and diplayed as links. I b
Jakub Piotr Nowak wrote:
> Hello,
>
> In the following cgi program, I cannot get subprocess output.
> I print the header, flush stdout to prepare it to new content,
> but variable 'o' is always empty.
>
> Could somebody help me with that?
>
> def main():
> print "Content-type: text/html\n\n"
NOTE: Special date of WEDNESDAY April 26 at Google, usual time of 7:30pm
Please show up by 7:15 so we can start the meeting on time!
This does not change the usual May meeting on May 11 at Google; stay
tuned for an announcement of that.
Special meeting! One of the lead developers of Django is
Hello,
I'm looking at a number of chart-drawing libraries and modules for
Python and I'd like to know which one people tend to consider the
best.
I've tried gdchart2 but its interface seems somewhat limited, and
pychart looks nice. I'd like to find something that will let me draw
graphs similar
Check it out, ^_^
http://ttcom.blogspot.com/2006/04/345-free-online-programming-books.html
--
http://mail.python.org/mailman/listinfo/python-list
I wrote a small wxPython based app to test code snippets.
(google for "python lightning compiler" if you want to see the full
code).
In the basic mode, I redirect the standard input and output and
execute the code taken from the editor window so that the result
appears in the output window.
Here
Thanks for your advice. In fact subsquent to posting I started using
...
conn.autocommit = False
... as a synonm for ...
conn.begin()
... and as you say that does the job. (Sorry i should have said it's
not practicable to turn off autocommit always [or rather it may be but
I'm not about to shak
"What do i expect the begin method to do" ?
Explicitly start a transaction (and therefore suppress autocommits) in
an environment where autocommit is on.
No i haven't read the pep, thanks for that.
--
http://mail.python.org/mailman/listinfo/python-list
On 2006-04-25, Schüle Daniel <[EMAIL PROTECTED]> wrote:
>> I'm not familiar with Tkinter, but it seems as thought with 2,
>> the "image" variable is garbage collected after the
>> constructor of Main is called. With 1, you save a reference to
>> the image, so it does not get garbage collected.
Co
I've been trying to make python a dynamic library. I downloaded Python
2.4.3 Final from the Python web site and I cannot get it to create the
library.
I've tried using the directive:
--enable-shared
and
--enable-shared=yes
and both of them had the same effect of creating a bunch of parts of
Anthony Greene wrote:
> Hello, I know this isn't really a python centric question, but I'm seeking
> help from my fellow python programmers. I've been learning python for the
> past year and a half, and I still haven't written anything substantial nor
> have I found an existing project which blows
On 2006-04-25, Farshid Lashkari <[EMAIL PROTECTED]> wrote:
> Schüle Daniel wrote:
>> I don't understand what is the difference between commented lines
>> 1 and 2
>>
>> with 1 uncommented and 2 commented it works as expected
>> with 1 commented and 2 uncommented the picture doesn't appear
>
>
> I'm
[EMAIL PROTECTED] wrote:
> the file is on that side. But apparently you have to register to
> download it.. =( But i can send it to anone who is willing to look
> trough it. just send me an email [EMAIL PROTECTED]
Ok, e-mail it to me.
But I cannot guarantee anything. I'll peruse it at my leisur
suggest add do while loop in later version
--
http://mail.python.org/mailman/listinfo/python-list
> "Xah Lee" <[EMAIL PROTECTED]> writes:
>
> A large amount of free, constructive criticism follows.
Just the usual repetitive content free stream-of-consciousness
material that Xah Lee is notorious for.
--
http://mail.python.org/mailman/listinfo/python-list
Gary Wessle wrote:
> Hi
>
> I am going through some tutorials, how do I find out about running a
> script from the python prompt?
Normally you don't do that.
What OS and Python versions are you using?
Do think about following the advice in "smart questions".
> is there a online ref and how to acc
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Would these contestants please GET OFF THE LIST with their
> non-Python-related contentiousness?
[snip long repost of the very stuff complained about]
--
http://mail.python.org/mailman/listinfo/python-list
[..]
> These are the only lines of code that reference "imageLabel":
>
> imageLabel = Label(master = frame1, image = image)
> imageLabel.pack()
>
>
> Unless the constructor of Label adds a reference of itself to frame1,
> imageLabel will also become garbage collected at the end of the
> const
"Bell, Kevin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I would like some feedback about my actual intention though, which is to
> scrape local newspaper websites for the names of people that I work
> with. Twice this month, colleagues have unknowingly been in the
> newspaper
Schüle Daniel wrote:
> thx for quick reply :)
>
> image is local variable of imageLabel
> I would expect that in case imageLabel lives, it should
> hold alife objects bound to its local variables
>
> I am just curious *why* reference to image is not hold by imageLabel
> which on his part is hold
Dennis Lee Bieber wrote:
> On 23 Apr 2006 23:49:51 -0700, "placid" <[EMAIL PROTECTED]> declaimed the
> following in comp.lang.python:
>
> > Just wondering if the cmd module in python uses "busy waiting" for
> > "polling" user command input as this is inefficient.
> >
> Use the Source...
>
>
Farshid Lashkari schrieb:
> Schüle Daniel wrote:
>> I don't understand what is the difference between commented lines
>> 1 and 2
>>
>> with 1 uncommented and 2 commented it works as expected
>> with 1 commented and 2 uncommented the picture doesn't appear
>
>
> I'm not familiar with Tkinter, but
Hi
I am going through some tutorials, how do I find out about running a
script from the python prompt?
is there a online ref and how to access it?
thank you
--
http://mail.python.org/mailman/listinfo/python-list
Schüle Daniel wrote:
> I don't understand what is the difference between commented lines
> 1 and 2
>
> with 1 uncommented and 2 commented it works as expected
> with 1 commented and 2 uncommented the picture doesn't appear
I'm not familiar with Tkinter, but it seems as thought with 2, the
"imag
I don't understand what is the difference between commented lines
1 and 2
with 1 uncommented and 2 commented it works as expected
with 1 commented and 2 uncommented the picture doesn't appear
here is my code
#!/usr/bin/env python
from Tkinter import *
from Tkconstants import *
root = None
cla
Ari Johnson <[EMAIL PROTECTED]> wrote:
24. Learn when not to reply to a troll (and bother several groups while
doing so).
--
John Bokma Freelance software developer
&
Experienced Perl programmer: http://castleamber.com/
--
http:/
Martin v. Löwis wrote:
> Right. MingW (GNU ld) was (apparently) changed to support that shortly
> after I started including libpython24.a files with the Windows
> distributions.
A bug in binutils support for short import library records was fixed
about year ago. You need to use MinGW binutils 2.1
Look what I just found:
http://jove.prohosting.com/iwave/ipython/pyMinGW.html
A build process for python 2.4.2 (i.e. not the latest) for MinGW.
--
http://mail.python.org/mailman/listinfo/python-list
In article <[EMAIL PROTECTED]>,
"Andrew Koenig" <[EMAIL PROTECTED]> wrote:
> This may be a foolish question, but what's the most straightforward way to
> plot a bunch of data in Python?
>
> That is, I want to write a program that does some number crunching, and then
> I want to change some par
Martin v. Löwis wrote:
> Please believe me: there is currently no build process that
> gives the same results as the build process used. It might
> be fairly easy to create one, but none exists as of today.
I tried to build with MinGW this eveing and it failed. I believe you We
need to make a bu
sturlamolden:
> Uh .. I actually think it could be an EULA violation to publish mingw
> vs. msvc benchmarks without permission from Microsoft. I don't want to
> part of anything illegal or have M$ lawyers breathing down my back. If
> we are going to do this, then we must do it properly and get the
Edward Elliott wrote:
> Ross Ridge wrote:
>
>>MSVCRT.DLL ... It's not
>>exactly "endorsed", Microsoft would rather you use it's current
>>compiler and runtime, but it is the standard "official" Windows system
>>C library.
>
> Does it comply with the ANSI C89 standard? I'm still not seeing why mi
Edward Elliott wrote:
> Sorry, I didn't mean you personally, I meant "you" in the general sense.
OK :-)
I've just tried to build Python 2.4.3 with MinGW (MSYS 1.0.10, GCC
3.4.2):
$ ./configure --prefix=/c/Python243-mingw
$ make
The build then failed on posixmodule.c.
Sturla Molden
./Modul
Fredrik wrote:
to grab entire sites ?
try doing that on a commercial data provider's site, and chances are
that you'll end up being banned (or sued) within hours ...
-
Me:
Nope, I never said that to start with...
Well I certainly am learning a lot. I never said I intended to downlo
The simplest and most widely known Monty Python image I can think of is
a dead parrot.
So maybe an upside-down parrot?
Could be nice and colorful too, not to mention memorable.
It is true that many won't make the connection between some kind of
Monty Python image and the Python language, as they w
bruno at modulix a écrit :
> Lawrence D'Oliveiro wrote:
>
>>In article <[EMAIL PROTECTED]>,
>> bruno at modulix <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>>>Lawrence D'Oliveiro wrote:
>>>
>
> (snip)
>
I suppose this is an instance of the more general rule: "using OO when
you don't have to".
>
Ross Ridge wrote:
> MSVCRT.DLL ... It's not
> exactly "endorsed", Microsoft would rather you use it's current
> compiler and runtime, but it is the standard "official" Windows system
> C library.
Does it comply with the ANSI C89 standard? I'm still not seeing why mingw
can't just link python to i
"Martin v. Löwis" wrote:
> Well, you are not compiling with neither mingw, nor cygwin; you are
> compiling with gcc in either case.
touche, mr. pedant. :)
> Well, there is no native C library on Microsoft Windows: the system
> simply doesn't include an official C library (I know there is crtdll.d
Hi Martin
Pretty much exactly what I wanted :)
How up-to-date does Debian keep its package list for python addons, or
are you running Unstable? My big problem, being in South Africa, is
that I have to get any distros on cover CDs or order from
distro-resellers, and they never have Testing or Un
sturlamolden wrote:
> Edward Elliott wrote:
>> Couldn't you compile the msvc-python code under gcc/mingw?
>
> Yes I could, but I cannot compile the code under msvc for comparison. I
> only have MinGW. If build the mingw binary then someone else has to
> build the msvc binary for comparison. Then w
Jeffrey Barish wrote:
> Several methods in Queue.Queue have warnings in their doc strings that they
> are not reliable (e.g., qsize). I note that the code in all these methods
> is bracketed with lock acquire/release. These locks are intended to
> protect the enclosed code from collisions with ot
Hello,
In the following cgi program, I cannot get subprocess output.
I print the header, flush stdout to prepare it to new content,
but variable 'o' is always empty.
Could somebody help me with that?
def main():
print "Content-type: text/html\n\n"
sys.stdout.flush()
if form.has_key('sent
sturlamolden wrote:
> But as long as the cygwin dll is there, it creates an overhead for any
> system call. The worst overhead is associated with the Unix fork()
> system call, which Cygwin must emulate as there are no Win32
> equivalent. In particular, a fork() on Unix will be optimized with
> cop
Martin v. Löwis wrote:
> Well, there is no native C library on Microsoft Windows: the system
> simply doesn't include an official C library (I know there is crtdll.dll
> and msvcrt.dll, but these aren't "endorsed" system C libraries).
MSVCRT.DLL has been a standard system compent of Windows since
Would these contestants please GET OFF THE LIST with their
non-Python-related contentiousness?
Mark F. Morss
Principal Analyst, Market Risk
American Electric Power
Ari Johnson
Remote Python Call 2.50 release-candidate
http://rpyc.wikispaces.com
-tomer
--
http://mail.python.org/mailman/listinfo/python-list
Steve Juranich a écrit :
> bruno at modulix wrote:
>
>
>>Actually, the OP was asking about Zope3, which is a *very* different
>>beast.
>
>
> Okay, so my ignorance is showing (/me pauses to stuff it back where it
> belongs). So is there some big master diff, along the lines of "What's new
> in
Bell, Kevin wrote:
>>use a search engine (try the search box in the upper right corner).
>
>
>>using a spider to download the entire site just so you can "search
>
> through >it" is bloody impolite.
>
> Really? I'd argue that's impolite only if you're an impolite person
> with a rude agenda, w
Duncan Booth a écrit :
> bruno at modulix wrote:
>
>
>>class Base(object):
>> def __init__(self, arg1):
>>self.attr1 = arg1
>>self.dothis()
>>
>> def dothis(self):
>>return self.attr1
>>
>>class Derived(Base):
>> def __init__(self, arg1, arg2=0):
>>self.attr2 = arg2
>>Base.
Edward Elliott wrote:
> Couldn't you compile the msvc-python code under gcc/mingw?
Yes I could, but I cannot compile the code under msvc for comparison. I
only have MinGW. If build the mingw binary then someone else has to
build the msvc binary for comparison. Then we could do pybenches on the
s
> "Andrew" == Andrew Koenig <[EMAIL PROTECTED]> writes:
Andrew> This may be a foolish question, but what's the most
Andrew> straightforward way to plot a bunch of data in Python?
in matplotlib/pylab
from pylab import figure, show
x = range(10)
y = [val**2 for val in x]
fig =
sturlamolden wrote:
> MinGW can compile MFC. Download Windows Platform SDK and you get the
> MFC source.
Do not do this. The Platform SDK's EULA does not permit you to
redistribute anything you build from the MFC sources included in the
SDK. The only way to get a copy of MFC that you can legiti
Andrew Koenig wrote:
> This may be a foolish question, but what's the most straightforward way to
> plot a bunch of data in Python?
>
> That is, I want to write a program that does some number crunching, and
> then I want to change some parameters and watch how the changes affect the
> results.
sturlamolden wrote:
> MinGW and Cygwin GCC is actually the same compiler.
Not exactly. They're both GCC, but the MinGW compiler that you can
download from MinGW WWW site is a native Win32 appliction, while the
"MinGW" compiler included with Cygwin and invoked by "-mno-cygwin" is a
Cygwin applica
Try matplotlib, it's pretty nice and easy to use.
--
http://mail.python.org/mailman/listinfo/python-list
"PAolo" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> for i in range(1,10):
>if i%2:
>odd.append(i)
>else:
>even.append(i)
In 2.5 you'll be able to say
for i in range(1,10):
(odd if i%2 else even).append(i)
Whether you
This may be a foolish question, but what's the most straightforward way to
plot a bunch of data in Python?
That is, I want to write a program that does some number crunching, and then
I want to change some parameters and watch how the changes affect the
results. I could produce a file to hand
sturlamolden wrote:
>> - there is no build process available to do that
>
> In MSYS:
>
> $ ./configure --prefix=/c/mingw
> $ make
> $ make install
>
> This should be obvious to any with Unix experience.
>
> MinGW actually distribute precompiled Python binaries as well (in
> MSYS-DTK).
So how d
Edward Elliott wrote:
> Thanks for that very informative post! To clarify, mingw (aka gcc
> -mno-cygwin) has no POSIX layer like cygwin. Because your post could also
> be (incorrectly) interpreted to mean mingw removes the cygwin dll
> dependency by just linking it in statically. But I googled a
"Bell, Kevin" wrote:
> >use a search engine (try the search box in the upper right corner).
>
> >using a spider to download the entire site just so you can "search
> through >it" is bloody impolite.
>
> Really? I'd argue that's impolite only if you're an impolite person
> with a rude agenda, whic
Brian Elmegaard wrote:
>> That is simply not true.
>
> Actually, you answered me then too. I misunderstood after reading
> http://sebsauvage.net/python/mingw.html.
>
> Is the information on that page not correct? Has it never been?
It's not correct, to the best of my knowledge. However, since
I am trying to install pCFITSIO on my Mac (Mac OS X.4. Numarray is already installed and imports fine in python (ActivePhyton v2.4.2), but when I try to build pCFITSIO itfails in finding a number of .h files for numarray. [tgravi] Desktop/pCFITSIO-0.99.3 ->python setup.py buildrunning buildrunning
"Xah Lee" <[EMAIL PROTECTED]> writes:
A large amount of free, constructive criticism follows.
1. Learn where to post things.
> Criticism versus Constructive Criticism
2. Learn when to capitalize words in a title.
> Xah Lee, 2003-01
3. Learn when to post things.
> A lot intelligent people are
[Jeffrey Barish]
> Several methods in Queue.Queue have warnings in their doc strings that they
> are not reliable (e.g., qsize). I note that the code in all these methods
> is bracketed with lock acquire/release. These locks are intended to
> protect the enclosed code from collisions with other t
Several methods in Queue.Queue have warnings in their doc strings that they
are not reliable (e.g., qsize). I note that the code in all these methods
is bracketed with lock acquire/release. These locks are intended to
protect the enclosed code from collisions with other threads. I am
wondering w
Fredrik Lundh wrote:
> however, note that the FAQ entry says that you can use an existing
> LIB file as well, so Python's standard import library should work.
Right. MingW (GNU ld) was (apparently) changed to support that shortly
after I started including libpython24.a files with the Windows
distr
Criticism versus Constructive Criticism
Xah Lee, 2003-01
A lot intelligent people are rather confused about criticism,
especially in our “free-speech” free-for-all internet age. When
they say “constructive criticisms are welcome” they mostly mean
“bitching and complaints not welcome”. Rarely do p
Anthony Greene wrote:
> So true man, I guess I need to truly sit down and determine these things.
> I love to do a lot of things, read, hang out, skate, which are a few
> amongst other things
From the skating:
OK, say you have a 3-d surface, what is the path a ball bearing with a
particular m
Does anyone know if PyThreadState_SetAsyncExc stops a thread while its
inside a native extension ?
I'm trying to stop a testing script that boils down to this:
while True:
print "aaa"
native_extension_call()
print "bbb"
Using PyThreadState_SetAsyncExc the module doesn't stop but if I
Thats the best way to go about it. Python I find is fun because you
can just play with the interpreter throwing commands at it and really
just working with syntax and usually POC ideas. The most useful ideas
usually just come to you. I recieved a pretty barebones MP3 player
from my sister for my
Hi All,
While working on a project, I discovered lots of
little opportunities for real parallelism. For
instance, the following class initialization:
from pg import DB
class example:
def __init__(self):
# find somehow HOST1, HOST2
self.member1=DB('database1',host=HOST1).query("SELECT..
Thomas Bartkus wrote:
> Tis the conundrum of programming in general. If all you know how to do is
> write code - then you truly have nothing to do. What *other* interests do
> you have? Hobbies? Job Skills?
> What *does* "blow your hair back" ;-)
>
> That's where your programming ideas need to
Steve Juranich:
>is there some big master diff, along the lines of "What's new
>in Python X.X" that I could look at to get an idea of what z3 has that 2.9
>(which I'm currently still cutting my teeth on) doesn't?
It's a redesign.
Z2: mixin base classes
Z3: component architecture with interfaces
the file is on that side. But apparently you have to register to
download it.. =( But i can send it to anone who is willing to look
trough it. just send me an email [EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
the file is on that side. But apparently you have to register to
download it.. =( But i can send it to anone who is willing to look
trough it. just send me an email [EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
sturlamolden wrote:
> MinGW and Cygwin GCC is actually the same compiler. On Cygwin you can
> remove the dependency on the cygwin dll by compiling with -mno-cygwin.
> But as long as the cygwin dll is there, it creates an overhead for any
> system call.
Thanks for that very informative post! To c
I have been using ZOPE (mostly with CMF/Plone) for a couple years now.
MY recolleciton of the initial leraning curve, was hours reading
through source code, newsgroups, web site, outdated garbage, days long
marathons of coffee, beer and very little sleep.
After about 2 weeks of this horrible mindn
[Elliot Temple]
> I think I got it. I noticed my code is essentially the same as Tim
> Peter's (plus the part of the problem he skipped). I read his code 20
> minutes before recreating mine from Alex's hints. Thanks!
>
> def main():
> ways = ways_to_roll()
> total_ways = float(101**10)
>
[EMAIL PROTECTED] wrote:
> It's less explicit than self. but it's shorter, this improves typing,
> and allows to produce more compact code:
>
> return "".join(["Graph(", repr($o), ", ", repr($nodeData), ")"])
>
> Instead of:
>
> return "".join(["Graph(", repr(self.o), ", ", repr(self.nodeData),
>use a search engine (try the search box in the upper right corner).
>using a spider to download the entire site just so you can "search
through >it" is bloody impolite.
Really? I'd argue that's impolite only if you're an impolite person
with a rude agenda, which is not what I had in mind, but t
"Arne" wrote:
> I want to create entry widgets dynamically.
> var = ["one", "two", "three"]
> i=0
> for x in var:
> textbox = "t_", x
> textbox = entry(frame)
> textbox.grid(row=4+i, column=0)
> i = i + 1
> This works ok. On the window are the entries like I want.
>
> When I want t
connyledin wrote:
> Im trying to create a version of the game Wumpus. Mine is called
> Belzebub. But im STUCK! And its due tuesday 2 maj. Im panicing! Can
> some one help me??
> here is the file:
> http://esnips.com/webfolder/b71bfe95-d363-4dd3-bfad-3a9e36d0
>
> What i have the biggest problem
1 - 100 of 211 matches
Mail list logo