On Jan 26, 9:11 pm, alex23 wrote:
> rantingrick wrote:
> > Not if we used the underlying MS library! Windows has such a rich
> > library why not use it? Why must we constantly re-invent the wheel?
>
> Isn't restricting a GUI toolkit to just one of the major OSes the
> absolute opposite of 'access
On Jan 26, 8:59 pm, alex23 wrote:
> This is, what, the 3rd? 4th? year of his endless tirade
> against TKinter.
Alex, i have not been against Tkinter for 4 years. I just recently
realized (about a year ago) the limitations of Tkinter and started
thinking of alternatives.
Tip of the day: Before m
On 1/25/11 3:02 PM, rantingrick wrote:
> This is a major flaw in the design and i would be
> happy to fix the flaw. However our "friend" Fredrick decided to
> copyright the module to himself! What a jerk! Which is quite
> disgusting considering that Tkinter, and TclTk are completely open
> source!
On Jan 27, 3:35 am, rantingrick wrote:
> On Jan 26, 3:48 pm, Grant Edwards wrote:
>
> > People will not separate your personality from the cause you espouse.
> > You may not like it, but that's a fact. If you are in favor of XYZ,
> > and act rude and insulting while espousing XYZ, people will re
"Octavian Rasnita" wrote:
> I am sorry if I offended someone, but the main idea I just wanted to express
> was that Python should promote the accessibility and deprecate those tools
> which are not accessible. That's all.
Thank you, I was having a hard time understanding your position from
the 3,
On Jan 25, 5:02 pm, rantingrick wrote:
> On Jan 25, 3:54 pm, Bryan wrote:
> ... And you people wonder why i hate Tkinter!
Honestly, I don't think anyone wonders why _you_ hate Tkinter, you've
made that abundantly clear.
--
http://mail.python.org/mailman/listinfo/python-list
Infinity77 wrote:
> It is very unfortunate that this topic "wxPython vs. Tkinter" has
> drifted to another flame war, as there is really no point in this kind
> of discussion.
I don't think it's wxPython that's causing the flames in this
thread :)
--
http://mail.python.org/mailman/listinfo/pytho
rantingrick wrote:
> Not if we used the underlying MS library! Windows has such a rich
> library why not use it? Why must we constantly re-invent the wheel?
Isn't restricting a GUI toolkit to just one of the major OSes the
absolute opposite of 'accessible'?
--
http://mail.python.org/mailman/list
On Jan 26, 5:25 am, rantingrick wrote:
> A vision that
> is representative of ALL the people -- and not a few fat cats at the
> top.
[...]
> This is the only way we can truly
> understand what our community members are thinking about Tkinter.
> Anything else is purely speculation.
[...]
> Many
At 08:17 PM 1/26/2011, Chris wrote:
I have a class (A, for instance) that possesses a boolean (A.b, for
instance) that is liable to change over an instance's lifetime.
Many of the methods of this class (A.foo, for instance) should not
execute as long as this boolean is false, but should instead
On 27/01/2011 02:17, Chris wrote:
I have a class (A, for instance) that possesses a boolean (A.b, for
instance) that is liable to change over an instance's lifetime.
Many of the methods of this class (A.foo, for instance) should not
execute as long as this boolean is false, but should instead ra
On Jan 26, 6:17 pm, Chris wrote:
> I have a class (A, for instance) that possesses a boolean (A.b, for
> instance) that is liable to change over an instance's lifetime.
>
> Many of the methods of this class (A.foo, for instance) should not
> execute as long as this boolean is false, but should ins
I have a class (A, for instance) that possesses a boolean (A.b, for
instance) that is liable to change over an instance's lifetime.
Many of the methods of this class (A.foo, for instance) should not
execute as long as this boolean is false, but should instead raise an
exception.
Can I use a decor
One of my python scripts that takes a bunch of inputs from a tKinter
gui, generates a set of command line stings, and then threads them off
to subprocess for calls to other programs like Nuke and our render
farm has recently started randomly crashing pythonw.exe.
I'm taking a look at my threading
On 27/01/2011 00:57, bansi wrote:
On Jan 26, 6:25 pm, Ethan Furman wrote:
bansi wrote:
> First namelookupWrapper.py running under Python 2.6 accept arguments
> from stdin and uses csv reader object to read it i.e.
> r=csv.reader(sys.stdin)
>
> And then it has to pass csv reader o
The print line it doesn't print anything that's why i say is not
receiving anything.
2011/1/26, hid...@gmail.com :
> Hello i am trying to make a subprocess that will have to send data as an
> arguments and is executing the script but don't receiving anything.
>
> Here is the code of the subprocess
On Wed, Jan 26, 2011 at 3:27 PM, wrote:
> Hello i am trying to make a subprocess that will have to send data as an
> arguments and is executing the script but don't receiving anything.
Command-line arguments, or stream/file input via stdin? I think you
mean the latter. The term "argument(s)" is
On Jan 26, 6:25 pm, Ethan Furman wrote:
> bansi wrote:
>
> > First namelookupWrapper.py running under Python 2.6 accept arguments
> > from stdin and uses csv reader object to read it i.e.
> > r=csv.reader(sys.stdin)
> >
> > And then it has to pass csv reader object to another python script
>
On 1/26/2011 3:07 PM, Stephen Hansen wrote:
And, more then a few actually
are pushing for the stdlib to be forked off of CPython, and instead end
up shared by all the major Python implementations (CPython, Jython,
PyPy, IronPython, what else?) as a common resource?
This would be a 'split', not
On 1/26/11 4:57 PM, Terry Reedy wrote:
From what I remember when I looked at the WxWidgets feature list some years
ago, WxWidgets does not come with a scripting language, but also has more that
strictly gui stuff. So I think it would also need to be subsetted.
For what it's worth, wxPython tr
On Jan 26, 4:57 pm, Terry Reedy wrote:
> PyGui seems to be purely a gui package, but it appear to be aimed only
> at 2.x with no interest in 3.x.
I really like pyGUI. We would have to do a ton of work to get it even
to the scale of Tkinter. In hindsight the project seems like something
Python sh
On 26/01/2011 21:50, mpnordland wrote:
Attached are a config file parser that i'm working on, and a example
config file. Basically, what my problem is is in write_config, it should
search through the file, and replace the lines with whatever the
modified version is, it is also designed to ignore
Hello i am trying to make a subprocess that will have to send data as an
arguments and is executing the script but don't receiving anything.
Here is the code of the subprocess:
car = Popen(shlex.split(self.block.getAttribute('cmd')),
stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subpr
On 1/26/11 12:37 PM, rantingrick wrote:
> On Jan 26, 2:07 pm, Stephen Hansen 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! :-)
>
bansi wrote:
> First namelookupWrapper.py running under Python 2.6 accept arguments
> from stdin and uses csv reader object to read it i.e.
> r=csv.reader(sys.stdin)
>
> And then it has to pass csv reader object to another python script
> namelookup.py running under Python 2.7 because it uses pyod
On Jan 26, 4:36 pm, Ben Finney wrote:
> bansi 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 con
On 1/26/11 1:35 PM, Brendan Simon (eTRIX) wrote:
> 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
On 1/26/2011 11:00 AM, Bryan wrote:
On Jan 26, 9:47 am, "Octavian Rasnita" wrote:
I couldn't find the word soapbox in the dictionary
Then get a better dictionary, or use on of the free, online ones.
http://www.merriam-webster.com/dictionary/soapbox
Definition of SOAPBOX
: an improvised pla
>I don't want to convince anyone, but I just want to inform the others
and let >them know if they are doing something not recommended.
not recommended by -you-, which is different than by a community or the
subset of people you are attempting to represent. furthermore, your
attidude is that of "
>Stephen "Strawman" Hansen: If he only had a brain!
And you want -us- to take -you- seriously? Tell me, what did you
accomplish with that insult? Beyond elevating your own ego and trolling
some more, anyway.
On 1/26/2011 1:37 PM, rantingrick wrote:
On Jan 26, 2:07 pm, Stephen Hansen wrote:
On 1/26/2011 11:35 AM, Robert Kern wrote:
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"
Why is WxPython ineligible?
I think Terry's point was compatibility with python3 -- which wx
apparently isn't yet.
Emile
Well,
On Jan 26, 3:48 pm, Grant Edwards wrote:
> People will not separate your personality from the cause you espouse.
> You may not like it, but that's a fact. If you are in favor of XYZ,
> and act rude and insulting while espousing XYZ, people will react
> against not only you but _also_ XYZ.
A cer
On Wed, Jan 26, 2011 at 12:46 PM, Octavian Rasnita wrote:
> I am not trying to convince anyone. I mean, we are not in the previous
> century and I hope that I don't need to convince anyone that offering
> accessibility for everyone is very important. Do you think that on this list
> there stil
On 1/26/2011 12:52 PM, Benjamin Kaplan wrote:
If you're trying to learn a language, I would suggest reading
tutorials, not the grammar.
I second that.
As you can see from the error thrown, the
operation is syntactically valid (you don't get a syntax error). It's
just that lists don't accept
Segfaults in wxPython are caused by the debug assertions not being
turned on. see Robin Dunn's (the creator of wxPython) response
--
http://mail.python.org/mailman/listinfo/python-list
On 1/26/2011 11:53 AM, rantingrick wrote:
To answer your other post, one of the main people to touch tkinter in
the last 3 years was Guilherme Polo, who worked on it during and after a
Google Summer of Code project. He does not seen to be active currently.
There are currently 63 open issues o
On 01/26/2011 03:26 PM, sl33k_ wrote:
How does "return True" and "return False" affect the execution of the
calling function?
Basically it will affect it in whatever way you design it to for example:
def lie_test(statement):
if statement is True:
return False
els
sl33k_ writes:
> How does "return True" and "return False" affect the execution of the
> calling function?
The object ‘True’, or the object ‘False’, is returned to the calling
statement, and the function call evaluates to that return value.
That may sound facetious, but it's as specific as I ca
Attached are a config file parser that i'm working on, and a example
config file. Basically, what my problem is is in write_config, it should
search through the file, and replace the lines with whatever the
modified version is, it is also designed to ignore comments. To see my
problem (which is
On 2011-01-26, Octavian Rasnita wrote:
> From: "geremy condra"
>> 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
On Jan 26, 4:37 pm, Alan 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
--
http://mail.python.org/mailman/listinfo/p
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 Fal
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 isACu
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``` t
bansi 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 doing the work in a s
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
www.etrix
On 01/26/2011 01:18 AM, Octavian Rasnita wrote:
> From: "rantingrick"
> On Jan 25, 3:41 pm, Corey Richardson 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, as the subject suggests,
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 wa
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 su
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 su
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 su
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 you
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 au
On Jan 26, 2:11 am, Terry Reedy 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 sure if the b
On Jan 26, 2:37 pm, rantingrick wrote:
> On Jan 26, 2:07 pm, Stephen Hansen 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! :-)
>
>
From: "geremy condra"
> 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 exactly what th
On Jan 26, 11:55 am, Benjamin Kaplan 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 can view this module
On Jan 26, 11:55 am, Benjamin Kaplan wrote:
> The code is hosted onhttp://svn.python.org
Thanks!
--
http://mail.python.org/mailman/listinfo/python-list
On Jan 26, 2:26 pm, sl33k_ 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, 2:07 pm, Stephen Hansen 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 straw-man to date in this t
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, 1:31 pm, Chris Rebert wrote:
> On Wed, Jan 26, 2011 at 7:51 AM, bansi 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
On 1/26/11 9:19 AM, Octavian Rasnita wrote:
> From: "Emile van Sebille"
> ...
>>> 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
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 Jan 26, 1:02 pm, Nicholas Devenish 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 library.
Yes i want
On Jan 27, 12:02 am, Nicholas Devenish 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 hold an optimis
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 JAW
On 26.01.2011 18:04, Octavian Rasnita wrote:
From: "Littlefield, Tyler"
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 in
On 1/26/11 11:19 AM, Octavian Rasnita wrote:
From: "Emile van Sebille"
...
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
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. Some
On 1/26/11 11:46 AM, Octavian Rasnita wrote:
From: "Robert Kern"
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 t
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 fro
> 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 disg
On Wed, Jan 26, 2011 at 7:51 AM, bansi 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 =
On Tue, Jan 25, 2011 at 11:10 PM, Octavian Rasnita wrote:
> From: "geremy condra"
>>
>> 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 kno
> 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__ t
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 ac
On Wed, Jan 26, 2011 at 11:53 AM, rantingrick 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 3.2rc1,
then I believe
On Jan 26, 10:35 am, Robert Kern 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 developers, as
On Wed, Jan 26, 2011 at 9: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 "]"
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 ::
From: "Littlefield, Tyler"
> >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 users compared wit
From: "Tommy Grav"
>> 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 mode a
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()
class
On Wed, Jan 26, 2011 at 11:53 AM, rantingrick wrote:
> On Jan 26, 10:43 am, Emile van Sebille 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/
From: "Emile van Sebille"
...
>> 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
> r
On Wed, Jan 26, 2011 at 12:20 PM, 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 "]
From: "Robert Kern"
> 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 into
> the
>
On Jan 26, 10:07 am, Akand Islam 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 am optimist th
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 c
thanks
--
http://mail.python.org/mailman/listinfo/python-list
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_i
On Jan 26, 11:30 am, Emile van Sebille 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
>
> >
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
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, 10:43 am, Emile van Sebille 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
>
> Seehttp://docs.python.org/bugs.htmlht
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 e
On Jan 22, 6:07 pm, rantingrick 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 Tkinter has no s
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 contin
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"
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 reas
1 - 100 of 138 matches
Mail list logo