==
Announcing Numexpr 1.4.2
==
Numexpr is a fast numerical expression evaluator for NumPy. With it,
expressions that operate on arrays (like 3*a+4*b) are accelerated
and use less memory than doing the same calculation in Python.
What's new
For english speaking people: We organize a PythonCamp on 16/17th of
April in Cologne (Germany)
Hallo liebe Pythonfreunde,
die Python User Group Köln (http://pycologne.de), die monatlich am
RRZK
tagt, veranstaltet am Samstag, den 16.04.2011 und Sonntag den
17.04.2011
das PythonCamp 2011 in Köln.
From: Emile van Sebille em...@fenx.com
On 1/25/2011 3:33 PM rantingrick said...
Tkinter is old and in many ways insufficient for 21st century GUIs. We
need to decide what should come next. I believe wxPython is our best
hope. Wx may not be the best it can be, but it is the best we have at
this
From: Emile van Sebille em...@fenx.com
Are third party installations nonsense? Or should python come with all
libraries for all potential applications? And then always keep up with
best of breed?
Python should not include all the libraries for all the potential
applications, but it should
From: geremy condra debat...@gmail.com
There's a difference between what you say and how you say it. If a
friend came up to you and said give me $100 right now!, you probably
wouldn't do it. If the same friend came up to you and said I know
this is a big thing to ask, but I really need $100 and
From: Nicholas Devenish misno...@gmail.com
Octavian, we get it - you are on the warpath about accessibility. And this
is, in a way, a good thing, because, yes, programmers should in general
think more about accessibility when designing their programs. But nobody
was ever persuaded to consider
From: Steven D'Aprano steve+comp.lang.pyt...@pearwood.info
Quality code is a good thing, but there are people who write good code
but are so obnoxious that you wouldn't listen to a word they have to say,
and people who are only mediocre or average coders, but are otherwise
helpful and friendly.
On 1/25/11 8:21 PM, Steven D'Aprano wrote:
TL;DR. The shorter version: stop being a dick, and people will treat you
seriously.
I actually read the original list, and agreed with every point.
But this concise summary spells it out perfectly.
Stop being a dick, rick.
--
Stephen Hansen
On 1/26/2011 2:11 AM, rantingrick wrote:
On Jan 26, 12:53 am, Terry Reedytjre...@udel.edu wrote:
I only see self.wait_window(self) in the Dialog base class and not in
SimpleDialog, which is what I though you were talking about. It is the
last line of Dialog.__init__.
Yes. In the module
Terry Reedy tjre...@udel.edu writes:
On 1/23/2011 4:05 PM, CM wrote:
In Python, is there a recommended way to write conditionals of the
form:
if A and B but not C or D in my list, do something. ?
I may also have variations on this, like if A but not B, C, or D.
Do I have to just write
How to read syntax like this given in the documentation of python?
(Newbie)
defparameter ::= parameter [= expression]
http://docs.python.org/reference/compound_stmts.html#function-definitions
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, Jan 25, 2011 at 3:24 PM, Brian Curtin brian.cur...@gmail.com wrote:
On Tue, Jan 25, 2011 at 04:25, Geoff Bache geoff.ba...@gmail.com wrote:
Hi all,
I have a Python process on Windows and would like to start a Python
subprocess using the same interpreter. I wonder how to go about
On 1/25/2011 3:51 PM, Matthew Roth wrote:
On Jan 25, 6:20 pm, David Robinowdrobi...@gmail.com wrote:
On Tue, Jan 25, 2011 at 5:59 PM, Matthew Rothmgrot...@gmail.com wrote:
On Jan 25, 9:34 pm, John Naglena...@animats.com wrote:
...
You can install a MySQL server under Windows, and
On Jan 26, 11:18 am, Octavian Rasnita orasn...@gmail.com wrote:
From: rantingrick rantingr...@gmail.com
On Jan 25, 3:41 pm, Corey Richardson kb1...@aim.com wrote:
Do you honestly think he was talking about the accessibility problem?
IMO that should move to another thread, because this one
On Wed, 26 Jan 2011 00:08:41 -0800, sl33k_ wrote:
How to read syntax like this given in the documentation of python?
(Newbie)
defparameter ::= parameter [= expression]
http://docs.python.org/reference/compound_stmts.html#function-
definitions
See here for an explanation:
On 26.01.2011 09:08, sl33k_ wrote:
How to read syntax like this given in the documentation of python?
(Newbie)
defparameter ::= parameter [= expression]
http://en.wikipedia.org/wiki/Backus-Naur_Form
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, Jan 25, 2011 at 6:48 PM, Terry Reedy tjre...@udel.edu wrote:
This is correct!
print(len(mo))
TypeError: object of type 'MyObj' has no len()
That's interesting. I must admit I was not thinking about special
methods in my original post, I used that example just because of Chris
I an not a Python newbie but working with xml is new to me.
I get data through a soap connection, using suds, and want to convert that
to objects which I can use to populate a rather complex database.
I have been able to parse the xml using
tree = etree.iterparse(infile,events=(start,end)) but
From: rusi rustompm...@gmail.com
On Jan 26, 11:18 am, Octavian Rasnita orasn...@gmail.com wrote:
From: rantingrick rantingr...@gmail.com
On Jan 25, 3:41 pm, Corey Richardson kb1...@aim.com wrote:
Do you honestly think he was talking about the accessibility problem?
IMO that should move to
Johann Spies, 26.01.2011 10:07:
I an not a Python newbie but working with xml is new to me.
I get data through a soap connection, using suds, and want to convert that
to objects which I can use to populate a rather complex database.
Your problem description is pretty comprehensive in general.
James Ravenscroft wrote:
I can't run your code because you didn't make it standalone,
Thanks for the heads up, I've made a simple version of the clusterer
which you can view on pastebin: http://pastebin.com/7HmAkmfj If you have
time to look through my code I would be very grateful!
sl33k_ wrote:
How to read syntax like this given in the documentation of python?
(Newbie)
defparameter ::= parameter [= expression]
http://docs.python.org/reference/compound_stmts.html#function-definitions
Just in case you're about to learn python using these defintions:
Nobody's
Stefan Behnel, 26.01.2011 10:29:
Johann Spies, 26.01.2011 10:07:
I an not a Python newbie but working with xml is new to me.
I get data through a soap connection, using suds, and want to convert that
to objects which I can use to populate a rather complex database.
Your problem description
On 01/-10/-28163 02:59 PM, nair rajiv wrote:
Hi,
I was exploring python. I wanted to know more about the python
interpreter i.e the technical details of how it has been written. If I am
directed
to the code that also will be fine. The implementation of python data
structures lists, tuples and
On 26 January 2011 12:51, Stefan Behnel stefan...@behnel.de wrote:
The example you sent me is almost perfect for lxml.objectify. Basically,
you'd do something like this:
Thank you very much. You have helped me a lot.
Regards
Johann
--
May grace and peace be yours in abundance through the
Johann Spies, 26.01.2011 13:22:
On 26 January 2011 12:51, Stefan Behnel wrote:
The example you sent me is almost perfect for lxml.objectify. Basically,
you'd do something like this:
Thank you very much. You have helped me a lot.
You're welcome. If you have any suggestions how to improve
On 01/26/2011 04:05 AM, Jean-Michel Pichavant wrote:
How to read syntax like this given in the documentation of python?
(Newbie)
defparameter ::= parameter [= expression]
Just in case you're about to learn python using these defintions:
Nobody's learning a syntax that way.
They are not
I don't know why you didn't say this before.
Comprehention, Octavian. I've made that point multiple times, but your
to stuck on talking about how selfish people are.
The other part of the discussion is related to the accessibility and
care for accessibility and that discussion is not nice at
From: Littlefield, Tyler ty...@tysdomain.com
I don't know why you didn't say this before.
Comprehention, Octavian. I've made that point multiple times, but your
to stuck on talking about how selfish people are.
You didn't say that WxPython can't be used with Python 3. Have you said that?
From: Littlefield, Tyler ty...@tysdomain.com
I don't know why you didn't say this before.
Comprehention, Octavian. I've made that point multiple times, but your
to stuck on talking about how selfish people are.
You didn't say that WxPython doesn't work on Python 3, so I don't know what you
On 1/25/2011 5:07 PM rantingrick said...
On Jan 25, 6:55 pm, Emile van Sebilleem...@fenx.com wrote:
Oh, that everyone should blindly accept you as is and without regard for
established protocols
What protocols? Where is this standard posted? Can you give me a link?
I would like to know what
I have following two python scripts
-namelookupWrapper.py
-namelookup.py
The namelookupWrapper.py takes input of memberId, memberName from
CLI and has following code snippet
idf = sys.argv[1]
namef = sys.argv[2]
real_script = C:\\Splunk\\etc\\apps\\search\\bin\\namelookup.py
r =
with JAWS because it is the most used screen reader.
Get off your me soapbox. Jaws is not the most used. NVDA is taking over,
quite fast, and lots of people have totally switched to mac or Vinux
because of the problems with Jaws. It's most used in corporate sektors
still maybe, but lots of
On 1/25/2011 10:08 PM Octavian Rasnita said...
From: Emile van Sebille em...@fenx.com
Why is WxPython ineligible?
I think Terry's point was compatibility with python3 -- which wx
apparently isn't yet.
Emile
Well, I didn't know this, and it is a valid reason.
This means that it is true
On Jan 26, 9:47 am, Octavian Rasnita orasn...@gmail.com wrote:
I couldn't find the word soapbox in the dictionary so I don't know what it
means. I guess that not the soap + box.
Please be more clear and not talk like the high school kids.
http://en.wikipedia.org/wiki/Soapbox
--
I just installed Python 3,0 on my machine. I cannot use 3.0
exclusively yet however i was interested in just poking around and
acquiring a taste if you will. I was happy to find that the new
Tkinter module names now follow convention and are placed correctly...
example: tkinter.simpledialog
On Jan 26, 12:54 am, rantingrick rantingr...@gmail.com wrote:
On Jan 26, 12:19 am, rantingrick rantingr...@gmail.com wrote:
Actually i found more cruft. Here is something that would be
acceptable although i had to wrap lines shorter than i normally would
for the sake of Usenet. Who ever wrote
I have following two python scripts
-namelookupWrapper.py
-namelookup.py
The namelookupWrapper.py takes input of memberId, memberName from
CLI and has following code snippet
idf = sys.argv[1]
namef = sys.argv[2]
real_script = C:\\Splunk\\etc\\apps\\search\\bin\\namelookup.py
r =
On 1/26/2011 7:51 AM bansi said...
I have following two python scripts
-namelookupWrapper.py
-namelookup.py
The namelookupWrapper.py takes input of memberId, memberName from
CLI and has following code snippet
idf = sys.argv[1]
namef = sys.argv[2]
real_script =
What is the correct file mode to pass to open() when I want to both read
and write on the open file?
--
http://mail.python.org/mailman/listinfo/python-list
On 1/26/11 10:00 AM, Emile van Sebille wrote:
On 1/25/2011 10:08 PM Octavian Rasnita said...
From: Emile van Sebille em...@fenx.com
Why is WxPython ineligible?
I think Terry's point was compatibility with python3 -- which wx
apparently isn't yet.
Emile
Well, I didn't know this, and it is
On 1/26/2011 8:00 AM rantingrick said...
I just installed Python 3,0 on my machine.
Try it again on the current release candidate --
http://www.python.org/download/releases/3.2/ -- testing old first
release code and reporting on its problems won't get any traction.
Verify the problem
On Jan 22, 6:07 pm, rantingrick rantingr...@gmail.com wrote:
---
Challenge 1: (Simple Directory Viewer)
---
Create a simple Directory Viewer GUI. You CANNOT use a treectrl! The
point of this challenge is to show that
On Wed, 26 Jan 2011 11:32:03 -0500, mpnordland wrote:
What is the correct file mode to pass to open() when I want to both read
and write on the open file?
open(filename, r+) for text mode, r+b for binary mode. If your
operating system does not distinguish between the two, you can use either.
On Jan 26, 10:43 am, Emile van Sebille em...@fenx.com wrote:
On 1/26/2011 8:00 AM rantingrick said...
I just installed Python 3,0 on my machine.
Try it again on the current release candidate
--http://www.python.org/download/releases/3.2/-- testing old first
Am struggling to understand Python method-to-instance binding
Anyone know why this example throws a TypeError?
#!/usr/bin/env python
import functools
# Take a generator function (i.e. a callable which returns a generator) and
# return a callable which calls .send()
class coroutine:
On Jan 26, 2011, at 10:26 AM, Octavian Rasnita wrote:
You didn't say that WxPython can't be used with Python 3. Have you said that?
Some besides Peter pointed this out a few days ago.
The other part of the discussion is related to the accessibility and
care for accessibility and that
On Jan 26, 11:30 am, Emile van Sebille em...@fenx.com wrote:
On 1/26/2011 7:51 AM bansi said...
I have following two python scripts
-namelookupWrapper.py
-namelookup.py
The namelookupWrapper.py takes input of memberId, memberName from
CLI and has following code snippet
idf =
I'm looking at extended slicing and wondering when and how to use slice lists:
slicing ::= simple_slicing | extended_slicing
simple_slicing ::= primary [ short_slice ]
extended_slicing ::= primary [ slice_list ]
slice_list ::= slice_item (, slice_item)* [,]
slice_item
thanks
--
http://mail.python.org/mailman/listinfo/python-list
On 1/26/2011 9:04 AM Jack Bates said...
Am struggling to understand Python method-to-instance binding
Anyone know why this example throws a TypeError?
#!/usr/bin/env python
import functools
# Take a generator function (i.e. a callable which returns a generator) and
# return a
On Jan 26, 10:07 am, Akand Islam sohel...@gmail.com wrote:
I really appreciate your cooperation. The codes you have written print
in command window, but I want to print (i.e. a popup window will
appear to select printer in order to print). Please assist me
regarding this.
Ok, read on...
I
From: Robert Kern robert.k...@gmail.com
That's not Terry's point. The reasons he's referring to (and stated
previously)
are as follows:
1. The license of wxWidgets and wxPython is not as permissive as Python's.
The
Python developers, as a matter of policy, do not want to include code
On Wed, Jan 26, 2011 at 12:20 PM, Gerald Britton
gerald.brit...@gmail.com wrote:
I'm looking at extended slicing and wondering when and how to use slice lists:
slicing ::= simple_slicing | extended_slicing
simple_slicing ::= primary [ short_slice ]
extended_slicing ::= primary [
From: Emile van Sebille em...@fenx.com
...
Well, I didn't know this, and it is a valid reason.
This means that it is true that there is no enough maintainance force to
keep WxPython updated.
Did I understand correctly?
Not at all -- wxPython is an active funded ongoing project. Review the
On Wed, Jan 26, 2011 at 11:53 AM, rantingrick rantingr...@gmail.com wrote:
On Jan 26, 10:43 am, Emile van Sebille em...@fenx.com wrote:
On 1/26/2011 8:00 AM rantingrick said...
I just installed Python 3,0 on my machine.
Try it again on the current release candidate
Jack Bates wrote:
Am struggling to understand Python method-to-instance binding
Anyone know why this example throws a TypeError?
#!/usr/bin/env python
import functools
# Take a generator function (i.e. a callable which returns a generator) and
# return a callable which calls .send()
From: Tommy Grav tg...@mac.com
You didn't say that WxPython can't be used with Python 3. Have you said that?
Some besides Peter pointed this out a few days ago.
I don't remember to have read that. But who knows, maybe I have missed it. Does
anyone have that message?
Python 2 is in bug-fix
From: Littlefield, Tyler ty...@tysdomain.com
with JAWS because it is the most used screen reader.
Get off your me soapbox. Jaws is not the most used. NVDA is taking over,
quite fast, and lots of people have totally switched to mac or Vinux
Lots of people means an insignifiant percent of
On 1/26/11 11:20 AM, Gerald Britton wrote:
I'm looking at extended slicing and wondering when and how to use slice lists:
slicing ::= simple_slicing | extended_slicing
simple_slicing ::= primary [ short_slice ]
extended_slicing ::= primary [ slice_list ]
slice_list ::=
On Wed, Jan 26, 2011 at 9:20 AM, Gerald Britton
gerald.brit...@gmail.com wrote:
I'm looking at extended slicing and wondering when and how to use slice lists:
slicing ::= simple_slicing | extended_slicing
simple_slicing ::= primary [ short_slice ]
extended_slicing ::= primary [
On Jan 26, 10:35 am, Robert Kern robert.k...@gmail.com wrote:
On 1/26/11 10:00 AM, Emile van Sebille wrote:
That's not Terry's point. The reasons he's referring to (and stated
previously)
are as follows:
1. The license of wxWidgets and wxPython is not as permissive as Python's. The
Python
On Wed, Jan 26, 2011 at 11:53 AM, rantingrick rantingr...@gmail.com wrote:
Why would i want to waste bandwidth downloading an RC? Can i not just
browse the source online?
If I understand what you're asking for, the answer is
http://svn.python.org/view . If you're specifically looking for
On 1/26/2011 9:20 AM Gerald Britton said...
I'm looking at extended slicing and wondering when and how to use slice lists:
I think the use of the term slice_list below is simply as the content
between the encompassing brackets, eg in mylist[1:2:3] slice_list refers
to 1:2:3. So, you don't
That's just what I'd like and I suppose can't be currently done with
current ABC, PyProtocols or zope.interface implementations, right?
It can. With __instancecheck__ you can override isinstance. It is
possible (for example) to write a subclass of abc.ABCMeta, which
extends __instancecheck__ to
On Tue, Jan 25, 2011 at 11:10 PM, Octavian Rasnita orasn...@gmail.com wrote:
From: geremy condra debat...@gmail.com
There's a difference between what you say and how you say it. If a
friend came up to you and said give me $100 right now!, you probably
wouldn't do it. If the same friend came
On Wed, Jan 26, 2011 at 7:51 AM, bansi mail2ba...@gmail.com wrote:
I have following two python scripts
-namelookupWrapper.py
-namelookup.py
The namelookupWrapper.py takes input of memberId, memberName from
CLI and has following code snippet
idf = sys.argv[1]
namef = sys.argv[2]
However some things never change it seems and some improvements are
actually a step backwards. The same problems with the unit test in 2.x
got ported to 3.x. And the new SimpleDialog is just more lackluster
code like we've seen before. I was hoping to be amazed, i am
disappointed and
Dear Room,
I am a python programmer, from India(New Delhi area), and was in
Bangalore for long days. My specialization is Natural Language
Processing, -Machine Learning(worked on Naive Bayes, SVM, HMM, CRF). I
am looking for some open projects in Python-in Machine Learning/NLP
area, preferably
On 1/26/11 11:46 AM, Octavian Rasnita wrote:
From: Robert Kernrobert.k...@gmail.com
That's not Terry's point. The reasons he's referring to (and stated previously)
are as follows:
1. The license of wxWidgets and wxPython is not as permissive as Python's. The
Python developers, as a matter of
On 26/01/2011 18:19, rantingrick wrote:
SUMMARY: We create an abstraction API atop Robin's WxPython. We
include only the API in the stdlib at this time and we keep Tkinter in
maintenance. Then over the next few years we start a fresh wxPython
project that will be acceptable for the stdlib.
On 1/26/11 11:19 AM, Octavian Rasnita wrote:
From: Emile van Sebilleem...@fenx.com
...
Well, I didn't know this, and it is a valid reason.
This means that it is true that there is no enough maintainance force to
keep WxPython updated.
Did I understand correctly?
Not at all -- wxPython is an
On 26.01.2011 18:04, Octavian Rasnita wrote:
From: Littlefield, Tylerty...@tysdomain.com
with JAWS because it is the most used screen reader.
Get off your me soapbox. Jaws is not the most used. NVDA is taking over,
quite fast, and lots of people have totally switched to mac or Vinux
Lots of
It doesn't support a good voice synthesizer like Eloquence or IBM Via
voice, but only eSpeak which sounds horrible, it doesn't have a
scripting language
ready to use as JAWS and Window Eyes do, it doesn't offer the
possibility of reading with the mouse cursor as JAWS does with its so
called
On Jan 27, 12:02 am, Nicholas Devenish misno...@gmail.com wrote:
Heck, I am probably wasting my time with this post; but you come across
as genuine in your held central beliefs, and so either serious or the
most dedicated and adept troll I have ever encountered. In the case of
the former, I
On Jan 26, 1:02 pm, Nicholas Devenish misno...@gmail.com wrote:
I look forward to reading your PEP and initial design documents, though
I suspect you would need the latter and to get some a decent portion of
work done before it would even be considered as an inclusion into the
standard
I have do some log processing which is usually huge. The length of each line
is variable. How can I get the last line?? Don't tell me to use readlines or
something like linecache...
--
http://mail.python.org/mailman/listinfo/python-list
On 1/26/11 9:19 AM, Octavian Rasnita wrote:
From: Emile van Sebille em...@fenx.com
...
Well, I didn't know this, and it is a valid reason.
This means that it is true that there is no enough maintainance force to
keep WxPython updated.
Did I understand correctly?
Not at all -- wxPython is
On Jan 26, 1:31 pm, Chris Rebert c...@rebertia.com wrote:
On Wed, Jan 26, 2011 at 7:51 AM, bansi mail2ba...@gmail.com wrote:
I have following two python scripts
-namelookupWrapper.py
-namelookup.py
The namelookupWrapper.py takes input of memberId, memberName from
CLI and has following
How does return True and return False affect the execution of the
calling function?
--
http://mail.python.org/mailman/listinfo/python-list
On Jan 26, 2:07 pm, Stephen Hansen me+list/pyt...@ixokai.io wrote:
And some people have absolutely no need-- no need at all-- for any sort
of GUI programming at all. This group is actually really, really big.
Stephen Strawman Hansen: If he only had a brain! :-)
That is the most obvious
On Jan 26, 2:26 pm, sl33k_ ahsanbag...@gmail.com wrote:
How does return True and return False affect the execution of the
calling function?
def f1():
pass
print f1()
None
def f2():
return
print f2()
None
def f3():
return True
print f3()
True
def f4():
On Jan 26, 11:55 am, Benjamin Kaplan benjamin.kap...@case.edu wrote:
The code is hosted onhttp://svn.python.org
Thanks!
--
http://mail.python.org/mailman/listinfo/python-list
On Jan 26, 11:55 am, Benjamin Kaplan benjamin.kap...@case.edu wrote:
[...snip...]
Well i should have looked before i leaped :)
This looks like an old 2.x version. I am looking for the newest
version with is renamed to simpledialog and contains a new class
called SimpleDialog. Do you know were i
From: geremy condra debat...@gmail.com
At least 40% of my coworkers do not speak English as their native
language. Your problem is not the language. Your problem is your
attitude.
The atitude considered nice is just duplicity for convincing others, and I
don't like duplicity. I like to know
On Jan 26, 2:37 pm, rantingrick rantingr...@gmail.com wrote:
On Jan 26, 2:07 pm, Stephen Hansen me+list/pyt...@ixokai.io wrote:
And some people have absolutely no need-- no need at all-- for any sort
of GUI programming at all. This group is actually really, really big.
Stephen Strawman
On Jan 26, 2:11 am, Terry Reedy tjre...@udel.edu wrote:
In 3.x, the module is now tk.simpledialog -- all lower case. The purpose
of all lowercase module names is to avoid confusion with upper case
class names.
Yes Terry, i found the new module and documented the bugs in a new
thread. I am not
On 1/26/2011 2:59 AM Xavier Heruacles said...
I have do some log processing which is usually huge. The length of each line
is variable. How can I get the last line?? Don't tell me to use readlines or
something like linecache...
seek
-rw-rw1 autofax mail 1061716366 Jan 26 12:45
On 26/01/2011 10:59, Xavier Heruacles wrote:
I have do some log processing which is usually huge. The length of each
line is variable. How can I get the last line?? Don't tell me to use
readlines or something like linecache...
Seek to somewhere near the end and then read use readlines(). If
Sent from my LG phone
python-list-requ...@python.org wrote:
Send Python-list mailing list submissions to
python-list@python.org
To subscribe or unsubscribe via the World Wide Web, visit
http://mail.python.org/mailman/listinfo/python-list
or, via email, send a message with subject
Sent from my LG phone
python-list-requ...@python.org wrote:
Send Python-list mailing list submissions to
python-list@python.org
To subscribe or unsubscribe via the World Wide Web, visit
http://mail.python.org/mailman/listinfo/python-list
or, via email, send a message with subject
Sent from my LG phone
python-list-requ...@python.org wrote:
Send Python-list mailing list submissions to
python-list@python.org
To subscribe or unsubscribe via the World Wide Web, visit
http://mail.python.org/mailman/listinfo/python-list
or, via email, send a message with subject
On 1/26/11 12:26 PM, sl33k_ wrote:
How does return True and return False affect the execution of the
calling function?
It doesn't -- the value 'True' or 'False' is simply returned, and
assigned to a name if the calling function does so explicitly. But
there's no built in affects. If you want it
On 01/26/2011 01:18 AM, Octavian Rasnita wrote:
From: rantingrick rantingr...@gmail.com
On Jan 25, 3:41 pm, Corey Richardson kb1...@aim.com wrote:
Do you honestly think he was talking about the accessibility problem?
IMO that should move to another thread, because this one is simply
about,
Since it seems the python motto is Batteries included, then it would
seem to me that wxPython is the natural fit as it also has Batteries
included (e.g. accessibility, native look-n-feel, mature and evolving,
can produce simple or complex gui programs, etc, etc).
--
Brendan Simon
bansi mail2ba...@gmail.com writes:
Thanks Chris. Sorry for mis-communicating, the two python scripts are
dependant in a way that namelookupWrapper.py needs to pass csv record
object to another python script
Why have you structured them that way, though? What constraint is
keeping you from
I have a class ``A`` that is intentionally incomplete:
it has methods that refer to class variables that do not exist.
The class ``A`` has several complicated methods, a number
of which reference the missing class variables.
Obviously, I do not directly use ``A``.
I have a class factory ``f```
On 1/26/2011 12:26 PM sl33k_ said...
How does return True and return False affect the execution of the
calling function?
That depends on the calling function. It will control what it does next
generally based on the returned value, but it could also simply store
the result.
def
On 26.01.2011 21:26, sl33k_ wrote:
How does return True and return False affect the execution of the
calling function?
If only affects the calling function if you use the return value:
def foo():
return True
def bar1():
foo() # nothing difference, whether foo() returns True or False
On Jan 26, 4:37 pm, Alan alan.is...@gmail.com wrote:
I have a class factory ``f``` that subclasses ``A`` *only* in
order to define the class variables.
I suppose it would be clearer to say that `f` *returns*
subclasses of `A`. Hopefully that was clear ...
Alan Isaac
--
1 - 100 of 247 matches
Mail list logo