Abe Leite added the comment:
Thank you for the explanation. I looked up the documentation for descriptors
and I understand better now. I appreciate it!
-Abe
--
___
Python tracker
<https://bugs.python.org/issue36
Abe Leite added the comment:
Hi Inada-san,
Could you explain (or send me a link to) what happens when an instance method
is accessed and why this should be different from what happens when an unbound
method is accessed?
The `is` keyword has been very useful for me in introspection cases
New submission from Abe Leite :
The following code produces unexpected behavior in all versions of Python I
have tested.
>>> class a:
... def method(self): pass
>>> inst = a()
>>> inst.method is inst.method
False
It appears that id(inst.method) changes each t
I couldn't see anyone else give this, but I like
if None not in (a, b):
I did.
I am now considering:
if None not in (a,b):
or
if (a is not None) and (b is not None):
However, I decided to just turn the two parameters into one (sequence), since
they were logically grouped anyhow.
--
Honest Abe added the comment:
I have been researching this due to the recurring recommendations, on
stackoverflow.com, to use the queue.Queue + after() technique when using
multiple threads.
———
From comments in _tkinter.c:
The Tcl interpreter is only valid in the thread that created
page?
thanks!
- Abe
PS - If the answer involves threading, can you please point me to some
resources on threading in wx? I know the basics of GUI programming in
wx and threading in python, but I have no idea how to put them
together.
--
http://mail.python.org/mailman/listinfo/python-list
and in a university computer lab,
but I don't have the administrative rights to install libraries on the
lab computers. It would be really nice if there were a way I could
put, say, all of numpy into a file my_numpy.pyc and treat it as a
single (large) module.
thanks
-Abe
PS - If the answer somehow involves
Wake up, people ! You are not the victims, you are the problem.
Shut up,
/please/.
Cannot agree more!
Wake up, people ! You are not the victims, you are the problem. Shut up,
/please/.
Wholeheartedly agree!
Wake up, people ! You are not the victims, you are
On 15 Dec 2004 12:18:15 -0800, fuzzylollipop [EMAIL PROTECTED] wrote:
TruStudio for Eclipse is nice for those everything must be free
socialists.
-OR-
- Those who are new to python, more comfortable in an IDE, and want a
Python-enabled IDE that they can use without having to pay now
- Those
occur.
Abe Mathews
On Mon, 06 Dec 2004 11:28:56 -0500, Brian Beck [EMAIL PROTECTED] wrote:
Brian Beck wrote:
I have the exact same problem. The IDLE window just never opens, and
checking the process list shows that is was never even launched. So I
can't make much use of Python 2.4 since
searching.
Abe Mathews
--
http://mail.python.org/mailman/listinfo/python-list
I guess I don't understand what freq is doing. However, you could
do something like:
num_list = []
while len(num_list) count:
number = input(Enter a number:)
num_list.append(number)
print num_list
That may give you what you're looking for to print the list of input numbers.
Abe
12 matches
Mail list logo