I'm a little curious, why does most scripting
languges(i.e. python and ruby) use Tcl/Tk rather than
wx or Fox as its standard GUI? Although I did notice
that the Vpython IDE that uses Tkinker starts up a lot
faster than the DrPython IDE that uses wxpython. But
that makes no sense, Tk is based on Tc
Hi,
Is it possible to create a function that you can use
without parenthesizing the arguments? for example, for
def examine(str):
.
.
Is there some way to define it so that I can call it
like
examine "string"
instead of examine("string")?
thanks in advance
-Jerry
Hi,
I just installed SWIG on Windows(Cygwin) and tried
to use it to compile some of the example python
programs.
For the first two commands it produced no error
swig -python example.i
gcc -c example.c example_wrap.c -I \
/usr/include/python2.4
For the third one however
ld -shared
>From Jerry He:
>For the third one however
>ld -shared example.o example_wrap.o -o
_example.so
>It gave me a long list of errors listed at the end of
>this email.
Ok, I managed to get rid of the weird Tcl_Append, and
strlen error messages, but right now I'm left with
und
Robert Kern
>Write a distutils setup.py script to do all of the
>compiling and linking.
Ok, I wrote the following distutils setup.py script
from distutils.core import setup, Extension
setup (name = 'example',
version = '2.4',
ext_modules = [Extension('example', \ ['example.c',
> Robert Kern
>Please don't make a new thread every time you post.
sorry, I chose the digest mode when I signed up, and I
have no idea how to reply, nor any idea how to change
to the normal mode where I get individual emails so I
can actually just hit the reply button instead of
copying your name
> Can you tell me how to completely remove that
> module?
>
> For cygwin, it should be in whatever corresponds to
> /usr/lib/python2.4/site-packages .
>
> --
> Robert Kern
> [EMAIL PROTECTED]
>
Hi,
Do you mean to say that all I have to do is delete
"example.py" and the "build" folder?
(not
Hi,
suppose I have the following string
cmdstr = "b = lambda s: s*s"
Is there a way to execute this string other than
copying it onto a file and then importing it?
thanks in advance,
Jerry
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has
Hi,
I was trying to build a C++ extension on Win32 with
distutils. The extension worked on Cygwin but when I
tried it with the Win32-build python, it complained
that I don't have .NET Framework SDK installed. But
after I installed .NET Framework SDK 2.0, it still
complains
"error: The .NET Frame