wxPython graphics query (newbie)

2008-03-17 Thread Thomas G
I am exploring wxPython and would be grateful for some help. It is important to me to be able to slide words and shapes around by dragging them from place to place. I don't mean dragging them into a different window, which is what 'Drag and Drop' has come to mean, just moving them around within

Problem cmpiling M2Crypto

2005-11-29 Thread Thomas G. Apostolou
Hello all. i am trying to make some win32 binaries of M2Crypto 0.15 What I use is: Python 2.3.3 openssl-0.9.7i swigwin 1.3.27 I have build the openssl binaries and have installed the Swig binary python dir is C:\Program Files\Plone 2\Python openssl dir is c:\openssl Swig dir is c:\swig so I ha

Re: Problem cmpiling M2Crypto

2005-12-01 Thread Thomas G. Apostolou
or macros. building '__m2crypto' extension C:\SWIG\swig.exe -python -ISWIG -I"c:\openssl\include" -o SWIG/_m2crypto.c SWIG/_m2crypto.i SWIG\_lib.i(527): Error: Syntax error in input(1). error: command 'swig.exe' failed with exit status 1 any help would be n

Re: Problem cmpiling M2Crypto

2005-12-01 Thread Thomas G. Apostolou
"Fredrik Lundh" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Thomas G. Apostolou wrote: > > >> C:\Program Files\Plone 2\Python\lib\distutils\extension.py:128: > > UserWarning: > >> Unknown Extension options: 'swig_opts' &g

Re: Problem cmpiling M2Crypto

2005-12-02 Thread Thomas G. Apostolou
"Fredrik Lundh" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Thomas G. Apostolou wrote: > > > I still get the error: > > "SWIG/_m2crypto.c(80) : fatal error C1083: Cannot open include file: > > 'Python.h': No such file or di

Re: Problem cmpiling M2Crypto under Plone

2005-12-02 Thread Thomas G. Apostolou
"Fredrik Lundh" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Thomas G. Apostolou wrote: > > > So what you say is that the Python installed with Plone doesn't have > > Python.h in ./include but Python installers from Python.org do have

Problem patching SimpleXMLRPCServer.py

2005-12-06 Thread Thomas G. Apostolou
access private attribute "%s"' % i ) else: obj = getattr(obj,i) return obj def list_public_methods(obj): """Returns a list of attribute strings, found in the specified object, which represent callable attributes"""

Re: Problem patching SimpleXMLRPCServer.py

2005-12-06 Thread Thomas G. Apostolou
Its ok now, it seems the problem was that i had saved the file in UTF-8 format ??? I got it again and saved it in Greek(ISO) format and it now goes fine "Thomas G. Apostolou" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello all, > I use Python

Question about start using ZServerSSL on win box...

2005-12-07 Thread Thomas G. Apostolou
2\Zope\bin" Do i HAVE to reinstall Plone and set it not to run as service? Thank you in advance... Thomas G. Apostolou -- http://mail.python.org/mailman/listinfo/python-list

Re: PHP = Perl Improved

2005-12-09 Thread Thomas G. Marshall
Roedy Green said something like: > On 9 Dec 2005 11:15:16 -0800, "Xah Lee" <[EMAIL PROTECTED]> wrote, quoted > or indirectly quoted someone who said : > >> recently i got a project that involves the use of php. In 2 days, i >> read almost the entirety of the php doc. Finding it a breeze because it

Re: Question about start using ZServerSSL on win box...

2005-12-13 Thread Thomas G. Apostolou
After reading and searching for a while i found that all about running ZService as service start from C:\Program Files\Plone 2\Data\bin\zopeservice.py But still i cannot fully understand where the server is called so that i replace it with z2s.py or what ever needed... Any ideas? "Tho

Re: Xah's Edu Corner: Examples of Quality Technical Writing

2005-12-18 Thread Thomas G. Marshall
Lars Rune Nøstdal said something like: > hi, > everyone thinks youreoay faggot and that youreh stupid .. now go > fugkght yourselfes > > peasse out .. yo! Idiot. -- http://mail.python.org/mailman/listinfo/python-list

Re: do design patterns still apply with Python?

2006-03-02 Thread Thomas G. Willis
get the message that patterns apply a lot differently in python as compared to the {...;} languages. Details here.http://mindview.net/Books/Python/ThinkingInPython.html-- Thomas G. Willis--- http://i-see-sound.comhttp://tomwillis.sonicdiscord.comAmerica, still more rights than North Korea -- http://mail.python.org/mailman/listinfo/python-list

Re: What are OOP's Jargons and Complexities?

2005-05-23 Thread Thomas G. Marshall
Paul McGuire coughed up: > Is this supposed to be some sort of wake-up call or call-to-arms to > all the CS lemmings who have been hoodwinked by Sun into the realm of > jargon over substance? ...[rip]... > You certainly seem to have a lot of energy and enthusiasm for these > topics. It would be

Re: What are OOP's Jargons and Complexities?

2005-05-24 Thread Thomas G. Marshall
John W. Kennedy coughed up: > alex goldman wrote: >> John W. Kennedy wrote: >> >> >>> Strong >>> typing has been a feature of mainstream programming languages since >>> the late 1950's. >> >> >> Is Fortran a strongly typed language? I don't think so. Strong >> typing has been invented in the 70's,

Re: What are OOP's Jargons and Complexities?

2005-05-25 Thread Thomas G. Marshall
[EMAIL PROTECTED] coughed up: > Thomas G. Marshall wrote: > *Missattributed* --Thomas G. Marshall (I) did /not/ write the following: >>> I am not familiar with modern Fortran. Surely it at least has >>> argument prototyping by now? > > Since the 1990 standa

Re: What are OOP's Jargons and Complexities?

2005-05-25 Thread Thomas G. Marshall
Xah Lee coughed up: > The Rise of "Static" versus "Instance" variables You are clearly unable to form a proper argument, *AND* you have irritated nearly everyone frequently. Ahthe blessed silence -- http://mail.python.org/mailman/listinfo/python-list

Re: dict is really slow for big truck

2009-05-01 Thread Thomas G. Willis
On Apr 28, 8:54 am, forrest yang wrote: > i try to load a big file into a dict, which is about 9,000,000 lines, > something like > 1 2 3 4 > 2 2 3 4 > 3 4 5 6 > > code > for line in open(file) >    arr=line.strip().split('\t') >    dict[arr[0]]=arr > > but, the dict is really slow as i load more d

Re: Not fully OO ?

2008-09-20 Thread Thomas G. Willis
On Sep 20, 5:23 am, candide <[EMAIL PROTECTED]> wrote: > Excerpt quoted fromhttp://www.astro.ufl.edu/~warner/prog/python.html: > > "About Python: Python is a high level scripting language with object > oriented features. > (...) > Python supports OOP and classes to an extent, but is not a full OOP

Re: Linq to Python

2008-09-23 Thread Thomas G. Willis
> But surely the idea behind it will eventually spread.  It's really > just comprehensions generalized over XML and relational datasets, a > noble goal.  Besides, it's main purpose for .NET was to bring > functional programming to it.  Python already has that, somewhat... it's really any object o

Re: Linq to Python

2008-09-24 Thread Thomas G. Willis
an it is the appropriate answer. Maybe it's only that way on OHIO. :) -- Thomas G. Willis -- http://mail.python.org/mailman/listinfo/python-list

Re: Linq to Python

2008-09-24 Thread Thomas G. Willis
On Sep 24, 4:59 pm, Duncan Booth <[EMAIL PROTECTED]> wrote: ... > I haven't yet had occasion to use LINQ in anger yet, so I have no idea > whether its an idea to love or to hate. I do think it is good that C# has > effectively sprouted list comprehensions (not to mention anonymous types > and type

Re: New python.org website

2006-03-08 Thread Thomas G. Willis
eeling the new logo though. But it's better than what I can produce in an svg editor/ -- Thomas G. Willis--- http://i-see-sound.comhttp://tomwillis.sonicdiscord.comAmerica, still more rights than North Korea -- http://mail.python.org/mailman/listinfo/python-list

Re: New python.org website

2006-03-08 Thread Thomas G. Willis
e yin/yang idea might be interesting, and maybe would work but the overall shape needs to be more circular to convey that idea better.But I'm no graphic designer -- Thomas G. Willis---http://i-see-sound.comhttp://tomwillis.sonicdiscord.com America, still more rights than North Korea -- http://mail.python.org/mailman/listinfo/python-list

Re: python debugging question

2006-03-08 Thread Thomas G. Willis
ciated. Thanks--http://mail.python.org/mailman/listinfo/python-listThis might help. http://www.onlamp.com/pub/a/python/2005/09/01/debugger.html-- Thomas G. Willis---http://i-see-sound.com http://tomwillis.sonicdiscord.comAmerica, still more rights than North

Re: Python Evangelism

2006-03-09 Thread Thomas G. Willis
it's done right, the true value will be apparent and your users will do the evangelizing for you. OK, I will now return to my happy place. :) -- Thomas G. Willis---http://i-see-sound.comhttp://tomwillis.sonicdiscord.com America, still more rights than North Korea -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Evangelism

2006-03-10 Thread Thomas G. Willis
would be considered impossible to play by todays standards. When I saw Django as a python based web framework, I got a positive vibe from the name of it. But then I'm also a guitarist.  -- Thomas G. Willis---http://i-see-sound.comhttp://tomwillis.son

Re: Pycrypto - active ??

2006-03-20 Thread Thomas G. Willis
On 19 Mar 2006 13:39:58 -0800, dirvine <[EMAIL PROTECTED]> wrote: Does anyone know if pycrypto is active at allThis was one of the packages that was updated today on my gentoo box. so, I would say yes.-- Thomas G. Willis--- http://i-see-sound.c