n I have no idea if it's even
possible.
(For plain C I would start with ctypes, but that doesn't cover this
case. There are many other options including boost and Pyrex, but I've
not used those.)
-- Russell
--
http://mail.python.org/mailman/listinfo/python-list
stem python. So if your application needs any 3rd party packages then
including python with the app will allow it work with more versions of
MacOS X.
-- Russell
--
http://mail.python.org/mailman/listinfo/python-list
7;s an interesting application, but... I tried it to bundle a script
that puts up a standard Tkinter file save dialog box and I found that
the dialog box was not in front -- I had to switch applications to get
to it. Still, it looks useful for fully faceless applications; unlike
py2applet the text to stdout shows up in a log window.
-- Russell
--
http://mail.python.org/mailman/listinfo/python-list
of getting an object back in less-than-ancient
versions of tcl/tk.
-- Russell
--
http://mail.python.org/mailman/listinfo/python-list
h path in
the text I added to Setup.local) Is there some way to convince configure
to use my tcl/tk (that would potentially be simpler than editing
Modules/Setup.local).
-- Russell
--
http://mail.python.org/mailman/listinfo/python-list
ctiveState puts out a very nice Tcl/Tk installer that
includes many useful extra packages. But I've never seen the point to
ActiveState's Python installer. When I last tried it, their Python was
missing readline and did not add any useful packages to the standard
python.org versi
e(s) for s in f.args])
self.setState(self.Failed, errStr)
Is there a simpler solution that works in Python 2.3-2.5?
-- Russell
--
http://mail.python.org/mailman/listinfo/python-list
self.Failed, errStr)
(where e is an Exception of some kind)
Notice that I'm iterating over the args. But again, this is far messier
than:
self.setState(self.Failed, str(e)
So...to repeat the original question, is there any simpler unicode-safe
replacement for str(exception)?
-- Russell
--
http://mail.python.org/mailman/listinfo/python-list
:
> return str(a)
> except:
> return repr(a)
Yes. That is a more flexible alternative to what I've adopted:
def exStr(ex):
return ",".join([unicode(s) for s in f.args])
the latter gives better output for the case I'm interest
In article <[EMAIL PROTECTED]>,
Torsten Bronger <[EMAIL PROTECTED]> wrote:
> Hallöchen!
>
> Russell E. Owen writes:
>
> > [...]
> >
> > So...to repeat the original question, is there any simpler
> > unicode-safe replacement for str(exception)?
&
ent loop. Those two actions should be
done once by the main script that launches your application.
As to where to go from here...it would help to know more about what you
are trying to do.
-- Russell
--
http://mail.python.org/mailman/listinfo/python-list
In article
<[EMAIL PROTECTED]>,
gordon <[EMAIL PROTECTED]> wrote:
> On Aug 29, 4:45 am, "Russell E. Owen" <[EMAIL PROTECTED]> wrote:
> >your Controller object should not create root nor should
> > it call mainloop to start the event loop.
>
>
ay still have to join the
mailing list to post -- I'm not sure -- but if so, you can disable mail
delivery).
-- Russell
In article <[EMAIL PROTECTED]>,
"w chun" <[EMAIL PROTECTED]> wrote:
> i've built a Python 2.5a0 interpreter on my iBook using gcc 3.3-1666
> us
ous if there are multiple scripts each trying to run their own
mainloop. But if only one runs at a time, and cleans up after itself,
you're probably OK. If that's not the case, you may want to start a Tk
main loop yourself and ask users to use that loop. Again, though--it'll
take time, and it'll only help those users who use Tkinter in their
scripts.
-- Russell
--
http://mail.python.org/mailman/listinfo/python-list
ment. However, the odds of this happening are less likely
in a single thread. The odds of this happening are even less likely for
three people in the thread. The odds of this happening are even less
likely for three *new* people in the same thread at the same time....
-- Benjamin L. Russell
--
dekudekup...@yahoo.com (Benjamin L. Russell) writes:
> When I was a student at my college, one of the students once told me a
> secret about how a computer program ran by a professor for a course in
> introduction to systems programming checked to ensure that the students
> who wer
t; games <-
> pornography
> adulteries
> sex
Yeah, riiight. So it's a crime to have any fun in life, right? Go get
a life.
-- Benjamin L. Russell
--
http://mail.python.org/mailman/listinfo/python-list
I believe this is it:
https://www.amazon.com/dp/B091CL3DTK/ref=cm_sw_su_dp
But for some reason the ASIN is different.
William Ray Wing wrote:
> I???ve ordered the book (physical volume). It will fulfill a need I???ve had
> for some time. Unfortunately, it is only available in the UK store, so
I would recommend reading a book that introduces and explains Python
rather than just diving in. I'm been enjoying "Introducing Python:
Modern Computing in Simple Packages" which can be found at
https://amzn.com/1492051365. It started from the beginning and would
answer the questions/difficulties y
Jach Feng wrote:
> Is there any reason a student/beginner learn Python now start from Python2?
>
> --Jach
Only if you want a job porting python2 to python3. Python 2.x is
officially End Of Life.
--
rust
0x68caecc97f6a90122e51c0692c88d9cb6b58a3dc
--
https://mail.python.org/mailman/listinfo/p
Gazoo wrote:
>
>
> I'd like to start learning Python programming. What sites/tutorials
> could you recommend for beginner, please.
>
I liked the book found at https://automatetheboringstuff.com/
You can read the whole book online. I think you used to be able to
download a copy too. It has lot
i installed it incorrectly or what.
What am I doing wrong??
Thank you
Russell McCune
--
https://mail.python.org/mailman/listinfo/python-list
201 - 222 of 222 matches
Mail list logo