Oh, oops! Of course... :) A great and sensible feature if you're
expecting it.
Thanks very much, everyone, for the links and discussion!
Chris
--
http://mail.python.org/mailman/listinfo/python-list
om ttfquery import describe, glyphquery, glyph
>> f = describe.openFont("/usr/share/fonts/truetype/freefont/
>> FreeSans.ttf")
>> n = glyphquery.glyphName(f, 'D')
>> g = glyph.Glyph(n)
>> c = g.calculateContours(f)
>> o = glyph.decompo
Brilliant!
On 4/1/07, Georg Brandl <[EMAIL PROTECTED]> wrote:
> def foo${LATIN SMALL LETTER LAMBDA WITH STROKE}$(x${DOUBLE-STRUCK
> CAPITAL C}$):
> return None${ZERO WIDTH NO-BREAK SPACE}$
>
> This is still easy to read and makes the full power of type-annotat
Jorgen Bodde wrote:
> Hi all,
>
> Hopefully someone can help me. I am fairly new to Python, and I am
> looking into PyDispatcher. I am familiar with the C++ sigslot variant,
> and I wonder how similar PyDispatches is. I run in to the following
> 'problem' (pseudo code
thon-list, and new compiler writers are just as important educational
targets as new Python programmers.
Have fun,
Mike
--
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.
"Lew" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Markus E Leypold
>>> Trying to correct Xah's behaviour is probably impossible.
>
> Ingo Menger wrote:
>> Perhaps somebody could ask the chinese government to put him in jail
>> for "hurting international society" :)
>
> Y'know, e
: arguments and dicts, which are lot more versatile. Another major use,
: talking to hardware, is not something oft done in Python either.
Are you sure? I've been doing lots of exactly that for 4 years, and
I'm not the only one round here... Python makes an excellent language for
talking to
In article <[EMAIL PROTECTED]>,
Frank Goenninger <[EMAIL PROTECTED]> wrote:
>
>Well, I didn't start the discussion. So you should ask the OP about the
>why. I jumped in when I came across the so often mentioned "hey, it's
>all well defined" statement was brought in. I simply said that if that
>
In article <[EMAIL PROTECTED]>, David Kastrup <[EMAIL PROTECTED]> wrote:
>[EMAIL PROTECTED] (Bent C Dalager) writes:
>
>> In article <[EMAIL PROTECTED]>,
>> Frank Goenninger <[EMAIL PROTECTED]> wrote:
>>>
>>>Well, I didn't st
In article <[EMAIL PROTECTED]>,
George Neuner wrote:
>On Wed, 3 Oct 2007 09:36:40 + (UTC), [EMAIL PROTECTED] (Bent C
>Dalager) wrote:
>
>>
>>Only if you're being exceedingly pedantic and probably not even
>>then. Webster 1913 lists, among other meanin
In article <[EMAIL PROTECTED]>, David Kastrup <[EMAIL PROTECTED]> wrote:
>[EMAIL PROTECTED] (Bent C Dalager) writes:
>
>Not as much "been" liberated, but "turned" liberated.
I expect that either way you split this hair, using "free" in the
sense
In article <[EMAIL PROTECTED]>, David Kastrup <[EMAIL PROTECTED]> wrote:
>[EMAIL PROTECTED] (Bent C Dalager) writes:
>
>> I have never claimed equivalence. What I have made claims about are
>> the properties of one of the meanings of a word. Specifically, m
In article <[EMAIL PROTECTED]>,
rjack <[EMAIL PROTECTED]> wrote:
>Webster? WEBSTER. . . ?
>
>Whatever happened to the Oxford English Dictionary ?
It suffers from not being in my "dict" installation I suppose.
>Seems to me the English have always spoken the definitive
>English. . . that's why the
lto:[EMAIL PROTECTED]>> wrote:
--
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
Hi Jeffrey,
I've been reading the Python mailing list and I've found a post of you about
Unix socket with Python, you've found the answer to you're problem by your
self, but I wonder if you still has the working code and if you would share
it?
Thanks!...
Raul
On *Wed Mar 8 18:11:11 CET 2006, *
gt; len(TX): print "TX incomplete"
while True:
print "Waiting..."
datagram = client.recv(1024)
# the client sits here forever, I see the "waiting appear" but
it doesn't advance beyond
# the recv statement.
if not datagram:
Nop, it doesn't work, at least for me (python 2.5)...
On 10/18/07, Gabriel Genellina <[EMAIL PROTECTED]> wrote:
>
>
> As I understand the OP's own response, changing SOCK_DGRAM to SOCK_STREAM
> here solved the issue.
>
> --
> Gabriel Genellina
>
> --
> http://mail.python.org/mailman/listinfo/pytho
This is the code I'm running (just the server):
#!/usr/bin/python
import socket
import os, os.path
import time
if os.path.exists("hpcd_sock"):
os.remove("hpcd_sock")
server = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
server.bind("hpcd_sock")
while True:
datagram = server.recv(10
Hi list,
I've been looking around and I found a very interesting solution to this
problem, but instead of using a file for communication the author (Eduardo
Fleury) uses a reference to the abstract namespace, chek it out...
http://blog.eduardofleury.com/archives/2007/09/13/
Raul
--
http://mail.
here a working
CoreGraphics.py around somewhere? I found a
file somewhere on the net that was the same
as mine except it ended with
from CG import *
Adding that doesn't change anything.)
(Yes, the XCode installation seems to be working
fine.)
???
David C. Ullrich
On Thu, 01 Nov 2007 19:39:20 -0500, Robert Kern
<[EMAIL PROTECTED]> wrote:
>David C. Ullrich wrote:
>> [why doesn't CoreGraphics work?]
>
>That's different than the one that is referenced. The one those articles
>reference is only available in the Python tha
Hi everyone,
I'm trying to make my apps more informative to the user, so I want to know
if its possible to get the output of the execution of a console command
while it's been generated, I mean, I want to get the output from
commands.getstatusoutput('CMD') while CMD it's been executed and not wai
I can't use the subprocess module because my app needs to be compatible with
Python 2.3 so, is there another approach to this problem???
Thanks!
On 1/26/07, Gabriel Genellina <[EMAIL PROTECTED]> wrote:
"Raúl Gómez C." <[EMAIL PROTECTED]> escribió en el mensaje
ne
The following is my first attempt at adding a taint feature to Python
to prevent os.system() from being called with untrusted input. What do
you think of it?
# taint.py - Emulate Perl's taint feature in Python
# Copyright (C) 2007 Johann C. Rocholl <[EMAIL PROTECTED]>
#
# Permissio
On Feb 6, 3:01 am, Ben Finney <[EMAIL PROTECTED]>
wrote:
> "Gabriel Genellina" <[EMAIL PROTECTED]> writes:
> > And tainted() returns False by default?
> > Sorry but in general, this won't work :(
>
> I'm inclined to agree that the default should be to flag an object as
> tainted unless known ot
[EMAIL PROTECTED] wrote:
> Ben> Python extensions written in C require recompilation for each new
> Ben> version of Python, due to Python limitations.
>
> Can you propose a means to eliminate this limitation?
>
Sure, write your wrapper-style extensions in cty
ing an off-screen buffer (pbuffer or MESA) for the rendering,
which may (depending on implementation) allow for higher resolutions.
If you want a true vector graphic (PS, EPS) you'll need to use something
like GL2PS.
http://www.geuz.org/gl2ps/
HTH,
Mike
--
_____
ers to use those "raw" functions, but they
should work perfectly well. That is, you have to pass the right
data-type, but then you'd have to do that in assembler too.
Have fun,
Mike
--
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
On Fri, 02 Nov 2007 14:09:25 -0500, Robert Kern
<[EMAIL PROTECTED]> wrote:
>David C. Ullrich wrote:
>> [...]
>>
>> So CoreGraphics is a builtin in Apple-Python,
>> explaining why I didn't find the relevant
>> CoreGraphics.py anywhere on the hard driv
On Fri, 2 Nov 2007 13:14:16 +0100, Tommy Nordgren
<[EMAIL PROTECTED]> wrote:
>
>On 2 nov 2007, at 02.10, David C. Ullrich wrote:
>
>> [Why doesn't CoreGraphics work?]
>> --
>> http://mail.python.org/mailman/listinfo/python-list
> There are Python
On Fri, 02 Nov 2007 14:09:25 -0500, Robert Kern
<[EMAIL PROTECTED]> wrote:
>David C. Ullrich wrote:
>> [???]
>
>Okay, which version of OS X do you have? In 10.3 and 10.4 it used to be here:
>/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/plat-
On Sun, 04 Nov 2007 15:56:21 -0600, Robert Kern
<[EMAIL PROTECTED]> wrote:
>David C. Ullrich wrote:
>> On Fri, 02 Nov 2007 14:09:25 -0500, Robert Kern
>> <[EMAIL PROTECTED]> wrote:
>>
>>> David C. Ullrich wrote:
>>>> [???]
>>> Okay,
ut that's pretty trivial to change.
Have fun,
Mike
--
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
>
> Any help would be greatly appreciated
If you are using Pygame (you don't say which GUI library you are using),
you can draw the mini-map into a surface and then re-blit the surface to
the screen each time you want to display it.
HTH,
Mike
--
___
machines that have problems with the 3.x
alphas so far.
Tempus fugit,
Mike
--
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
Last I heard he had someone who was
helping him every once in a while to review the new submissions, but
that was quite a while ago. I don't *think* there's any discarding, but
rather a delay so long in publishing that it would feel like a discard...
Take care,
Mike
--
___
#! /usr/bin/env python
"""
When I run the following program I get the error message:
UnboundLocalError: local variable 'x' referenced before assignment
Can "inner" change the value of a variable defined in "outer"? Where
is this explained in the docs?
"""
def outer():
def inner():
x
imations,
> etc?
>
While it might be possible to do this fast enough with Python, you will
almost certainly want to use a retained-mode engine for the graphics
display. There are quite a few retained-mode engines for Python, most
are built on OpenGL. Some of those engines are written in Py
ore I knew the name IIRC)).
> P.S. we have revived a thread started in 1999!
>
For some of us 1999 is well into our Pythonic life-cycle :)
Have fun,
Mike
--
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http:
:
File "", line 1, in
windll.AVIFile
File "C:\Python25\lib\ctypes\__init__.py", line 415, in __getattr__
dll = self._dlltype(name)
File "C:\Python25\lib\ctypes\__init__.py", line 340, in __init__
self._handle = _dlopen(self._name, mode)
WindowsError: [Error 193] %1 is
Thomas Heller ([EMAIL PROTECTED]) wrote:
: c d saunter schrieb:
: > Hi All,
: >
: The dll is not corrupt. It is the 16-bit dll, possibly present for legacy
: 16-bit support.
Thomas,
Thanks, that explains a lot.
Regards,
Chris Saunter
--
http://mail.python.org/mailman/li
ur import until after you
have the context setup and see if that lets glGetString return a valid
pointer.
HTH,
Mike
--
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
ecoming reasonable as an embedded
language, or a systems language. Only 2x slower than C would make
Python pretty close to a perfect language...
(far more attractive than a slightly tweaked syntax IMO). That's
probably 5-10 developer years out, though, not counting any distractions
from
Hi,
Can anyone help me in executing python scripts on remote computer? Both are
windows machines.
Thanks,
Praveena.
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
Can anyone tell me how to find current working user in windows?
Thanks,
Praveena.
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
Can anyone please tell me how to add registry on remote windows machine
programmatically
Thanks,
Praveena.
--
http://mail.python.org/mailman/listinfo/python-list
Soren,
I don't know about the USB parallel port converters but there are
variousways you can add USB connectivity yourself.
A simple way are the USB devices from FTDI
(http://www.ftdichip.com/FTProducts.htm)
Either the FT232R or the FT245R. These are both single chip solutions
that
you'd
want the 245.
regards
cds
c d saunter ([EMAIL PROTECTED]) wrote:
: Soren,
: I don't know about the USB parallel port converters but there are
: variousways you can add USB connectivity yourself.
: A simple way are the USB devices from FTDI
: (http://www.ftdichip.com
,expr" is matched. It will continue
recursing down into "expr" until it runs out of ram or otherwise
encounters a system-level fault.
You need to disambiguate your grammar to have it work with SimpleParse.
How you do that will depend on what you really meant by expr,binop,expr:
Laszlo Nagy wrote:
...
> Is there any way I can specify precedence tables? Or do I have to use
> a different parser generator then?
You normally specify them as
top_precedence/second_precedence/last_precedence sets. SimpleParse'
limitation is with ambiguity, not with precedence. SimpleParse wi
Linux presumably it only works if there
happens to be a speech engine available...)
David C. Ullrich
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, 19 Mar 2008 07:41:29 -0500, David C. Ullrich
<[EMAIL PROTECTED]> wrote:
>Mac OS X has text-to-speech built into the interface.
>So there must be a way to access that from the command
>line as well - in fact the first thing I tried worked:
>
>os.system('say hell
then you get exactly one z**w.
But that's not always the z**w that you need for your problem...
>Ask
>Google for some examples
Thanks.
>Christian
David C. Ullrich
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
Can anyone help me out?
Thanks,
Praveena.
--
http://mail.python.org/mailman/listinfo/python-list
rites are inevitable :)
Simple CAD systems without shading/texturing shouldn't have any real
performance issues under Python. We had 3D CAD back in 1993 sufficient
to build reasonably complex environments when I was in architecture.
Python's only about 10x slower than C, and if y
I did a double take when debugging an error the other day. My
problem was missing out a comma when building a list of strings.
Much to my surprise the offending code still executed to cause
problems later on:
>>> txt = 'this', 'works'
>>> print txt
('this', 'works')
# As expected
>>> txt = 'this
Bruno Desthuilliers (bruno.42.desthuilli...@websiteburo.invalid) wrote:
: c d saunter a écrit :
: > I did a double take when debugging an error the other day. My
: > problem was missing out a comma when building a list of strings.
: >
: > Much to my surprise the offending code still
headache of maintenance has vastly outweighed my
interest.
HTH,
Mike
--
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
On Dec 1, 2:23 am, Xah Lee <[EMAIL PROTECTED]> wrote:
> On Nov 30, 7:30 pm, Xah Lee <[EMAIL PROTECTED]> wrote:
>
>>some stuff
Are you a bot?
I think you failed the Turing test after the 8th time you posted the
exact same thing...
I'm completely serious.
--
http://mail.python.org/mailman/listinfo
On Nov 30, 10:30 pm, Xah Lee <[EMAIL PROTECTED]> wrote:
> some stuff
You are a bot?
I think you failed the Turing test when you posted the same thing 20
times.
A rational human would realize that not too many people peruse this
newsgroup,
and that most of them have already seen the wall of text
On Dec 1, 8:29 pm, Lew <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > A rational human would realize that not too many people peruse this
> > newsgroup,
> > and that most of them have already seen the wall of text post that you
> > generate every time.
>
> Just out of curiosity, what do
mainmain = double(main) I left off the
final parentheses because I didn't want to call mainmain
just then, I just wanted to set mainmain to the right thing.
> Thanks !
--
David C. Ullrich
--
http://mail.python.org/mailman/listinfo/python-list
27;s a _bold face_ statement
"Default parameter values are evaluated when the function definition is
executed.", followed by an explanation of how that can lead to
the sort of problem above.
So I guess it _is_ awfully dangerous. They should really explain
this aspect of the language's behavior to people who don't read
the formal definition and also don't work through the tutorial.
> Paolo
--
David C. Ullrich
--
http://mail.python.org/mailman/listinfo/python-list
In article <[EMAIL PROTECTED]>,
Bruno Desthuilliers <[EMAIL PROTECTED]>
wrote:
> David C. Ullrich a écrit :
> > In article
> > <[EMAIL PROTECTED]>,
> > kenneth <[EMAIL PROTECTED]> wrote:
> >
> >> On Oct 9, 10:14 am, Christian Heime
In article <[EMAIL PROTECTED]>,
"Aditi Meher" <[EMAIL PROTECTED]> wrote:
> Hello
>
> How to write code to store data into buffer using python?
buffer = data
> Please reply.
--
David C. Ullrich
--
http://mail.python.org/mailman/listinfo/python-list
In article <[EMAIL PROTECTED]>,
Bruno Desthuilliers <[EMAIL PROTECTED]> wrote:
> David C. Ullrich a écrit :
> > In article <[EMAIL PROTECTED]>,
> > Bruno Desthuilliers <[EMAIL PROTECTED]>
> > wrote:
> >
> >> David C. Ullrich a é
In article
<[EMAIL PROTECTED]>,
Paul McGuire <[EMAIL PROTECTED]> wrote:
> On Oct 14, 1:36 pm, "David C. Ullrich" <[EMAIL PROTECTED]> wrote:
> > >[...]
>
> > In particular default parameters should work the way the user
> > expects! The fac
ion.
>
> Frege's original system of logic (late 19th century), now called
> "naive set theory" had "unrestricted comprehension" which meant
> you could say anything at all where the logical expression went.
> This made the system inconsistent, because of Russell&
if there's
anything else you feel should be said about the program, let me know.
http://www.vrplumber.com/py3d.py#supy
Have fun,
Mike
--
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumb
grammation-python.org
-> Blog EN | http://tarekziade.wordpress.com/
-> --
-> http://mail.python.org/mailman/listinfo/python-announce-list
->
-> Support the Python Software Foundation:
-> http://www.python.org/psf/donations.html
->
--
C. Titus Brown, c...@msu.edu
--
http://mail.python.org/mailman/listinfo/python-list
On Mar 7, 6:52 pm, Xah Lee wrote:
> Of interest:
>
> • Why Can't You Be Normal?
Though I doubt this will do any good, I'll offer some advice that
hasn't been mentioned here and solved a lot of the problems I've had
early in life with resistance to overly-emotional negative reactions
to my opinion
ence will be experienced (4+ years) programmers, almost
> all of them are PHP developers (2 others, plus myself, work in C, know
> C#, perl, java, etc.).
> Because of this, I was thinking of making sure I included exceptions
> and handling, the richness of the python library and a point
Find the .wingide folder in your home and tar it, at least in linux...
On Sat, Mar 28, 2009 at 12:26 PM, John Doe wrote:
>
> Anyone know how to back up the configuration settings like font sizes
> and colors in the Wing IDE? Thanks.
> --
> http://mail.python.org/mailman/listinfo/python-list
>
In article
<039360fb-a29c-4f43-b6e0-ba97fb598...@z23g2000prd.googlegroups.com>,
Mensanator wrote:
> On Mar 26, 11:42 am, "andrew cooke" wrote:
> > David C. Ullrich wrote:
> > > In article ,
> > > "Paddy O'Loughlin" wrote:
> &
lf, other):
> return type(self)(x - y for x, y in zip(self, other))
> def __repr__(self):
> return '%s(%s)' % (
> type(self).__name__, list.__repr__(self))
>
> x = Vector([1,2])
> x + x + x
>
> --Scott David Daniels
> scott.dani...@acm.org
--
David C. Ullrich
--
http://mail.python.org/mailman/listinfo/python-list
In article ,
"andrew cooke" wrote:
> David C. Ullrich wrote:
> > In article ,
> > Scott David Daniels wrote:
[...]
> >>
> >> class Vector(list):
> >> def __add__(self, other):
> >> return type(self)(x + y
- that would mean nobody even _glanced_
at what was coming out of the press. So I'm curious whether
anyone else has a copy.
(I know it's all online. Some people like _books_...)
DU.
--
David C. Ullrich
--
http://mail.python.org/mailman/listinfo/python-list
mewhere where Google can see it...
DU.
In article ,
"David C. Ullrich" wrote:
> Just curious - has anyone else bought the printed
> Python 3 Reference Manual published by SoHo Books?
>
> Talking about what they call "Part 2" of their Python
> Documentation. I
ng with the analogy, but I think a lot
of what you describe as 'over-thinking' of the problem in lisp comes
from people having an honest desire to answer the /right/ question.
Lisp gives you a bit of granularity with regard to certain things
(like comparison), that in many languages amount
tion of endless must be broken ;) :) ,
Mike
--
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
In article
<[EMAIL PROTECTED]>,
Iain King <[EMAIL PROTECTED]> wrote:
> Hi. I have a modal dialog whcih has a "Browse..." button which pops
> up a file selector. This all works fine, but the first thing the user
> has to do when they open the dialog is select a file, so I would like
> the dialo
self.buffer = ''
def write(self, text):
self.buffer = self.buffer + text
def Show(self):
wx.MessageDialog(None, str(self.buffer),
'Error:',wx.OK).ShowModal()
self.buffer = ''
printer = ErrorDisplay()
sys.stderr = prin
ain__":
class AClass(object):
def __init__(self):
self.cells = [[0,0], [0,0]]
def SetCell(self, (row, col), value):
self.cells[row][col] = value
def GetCell(self, (row, col)):
return self.cells[row][col]
cell = indexedproperty(GetCell, SetCell)
C =
In article <[EMAIL PROTECTED]>,
Jean-Paul Calderone <[EMAIL PROTECTED]> wrote:
> On Wed, 14 May 2008 15:47:18 -0500, "David C. Ullrich" <[EMAIL PROTECTED]>
> wrote:
> > [snip]
> >
> >Came up with a ridiculous hack involving both sys.stderr
On Thu, 15 May 2008 10:59:41 -0300, "Gabriel Genellina"
<[EMAIL PROTECTED]> wrote:
>En Wed, 14 May 2008 18:15:41 -0300, David C. Ullrich <[EMAIL PROTECTED]>
>escribió:
>
>> Having a hard time phrasing this in the form
>> of a question...
>>
&g
On Sat, 17 May 2008 00:27:31 -0300, "Gabriel Genellina"
<[EMAIL PROTECTED]> wrote:
>(warning: it's a rather long message)
>
>En Fri, 16 May 2008 12:58:46 -0300, David C. Ullrich
><[EMAIL PROTECTED]> escribió:
>> On Thu, 15 May 2008 10:59:41 -0
zip(self, other)])
>>
>> worked as hoped if self is a Row and other is a
>> Row _or_ a list.)
>>
>> Anyway, my m.rows[j] can't be a list, because
>> I want to be able to say things like
>> m.rows[0] += c*m.rows[2]. Allowing
>> m.rows[j] = [1,
ted programming language I mean, it is not like C, in that
>sense.
>
>I am working on my PhD Thesis, which is about Operations Research,
>heuristic algorithms, etc., and I am considering the possibility of
>programming all my algorithms in Python.
Other people have said things abou
m.)
Really. In one of the intended applications the matrix
entries are going to be home-made Rationals. Just
adding two of those guys takes a long time. It's
still more than fast enough for the intended application,
but [oh, never mind.
Sorry about the argumentative tone - I _would_ like
to know which "untenable position" you're referring to...
>P.
David C. Ullrich
--
http://mail.python.org/mailman/listinfo/python-list
y(mailItem):
>
>name="\\"+mailItem.Subject+"__"+str(mailItem.ReceivedTime)
>print name
>#global outlook_app
>try:
>mailItem.SaveAs(path+name+".txt",OlSaveAsType['olTXT'])
>except BaseException:
>prin
arious
programs available that would solve his problem
for him - writing a little Python to give the
solution took less time than downloading one
of those programs would have.
>Thanks.
David C. Ullrich
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, 19 May 2008 14:48:03 +0200, pataphor <[EMAIL PROTECTED]>
wrote:
>On Mon, 19 May 2008 06:29:18 -0500
>David C. Ullrich <[EMAIL PROTECTED]> wrote:
>
>> Maybe you could be more specific? Various "positions" I've
>> taken in all this may wel
In article <[EMAIL PROTECTED]>,
pataphor <[EMAIL PROTECTED]> wrote:
> On Tue, 20 May 2008 06:12:01 -0500
> David C. Ullrich <[EMAIL PROTECTED]> wrote:
>
> > Well, ok. Like I said, I never _took_ the position that it _should_
> > be a list of lists, I
On Wed, 21 May 2008 12:47:44 +0200, pataphor <[EMAIL PROTECTED]>
wrote:
>On Tue, 20 May 2008 10:40:17 -0500
>"David C. Ullrich" <[EMAIL PROTECTED]> wrote:
>
>> > > Today's little joke: Long ago I would have solved
>> > > this by st
ainly an issue of terminology, so probably I should just read up on MVC.
>
>> The user interface doesn't need to be graphical. There were games and
>> emails clients and text editors before GUIs existed, you know ?
>
>Of course, but I'm specifically asking about creating a program that has a
>GUI, and even more specifically it would be wxPython.
>
David C. Ullrich
--
http://mail.python.org/mailman/listinfo/python-list
t;>
>> > Brad a écrit :
>> >> cm_gui wrote:
>> >>> Python is slow.
>>
>> >> It ain't C++, but it ain't a punch card either... somewhere in between. I
>> >> find it suitable for lots of stuff. I use C++ when perf
final configuration betore saying anything to the
model. The model should only deal with legal positions.
(Could be that it's not until we start actually playing the game
through the GUI that we find the model can't deal with two
black queens. But that's not an example either, that would just
mean the model is wrong, not allowing every legal position.)
>-M-
David C. Ullrich
--
http://mail.python.org/mailman/listinfo/python-list
;
>> Have fun! And remember, there's a great wxPython mailing list too:
>>
>> http://www.wxpython.org/maillist.php
>>
>> Mike
>
>Thanks!
You should also note
docs.wxwidgets.org
(I tend to find that by googling "wxTreeCtrl" or whatever.)
The descriptions of various components there are more
complete than in the (excellent!) wxPython book - it's
C++ but usually not hard to figure out what the corresponding
wxPython should be.
David C. Ullrich
--
http://mail.python.org/mailman/listinfo/python-list
;""utest.py"""
import __main__
def doit():
print 2*__main__.a
>Cheers,
>
>Ulrich
>
>
David C. Ullrich
--
http://mail.python.org/mailman/listinfo/python-list
7;s actually a problem you're trying to solve
here, try ord instead of int.
> Or probably you yourself should - quote :
> "You probably should go through the tutorial ASAP that is located here:
>
> http://docs.python.org/tut/ "
>
> -
> [Image]
--
David C. Ullrich
--
http://mail.python.org/mailman/listinfo/python-list
801 - 900 of 1183 matches
Mail list logo