a.append('new appended')
... return a
...
>>> new_func()
['new appended']
>>> new_func()
['new appended']
I'd like to hear your thoughts on my solution and code. You can find and give
your feedback in this project
https://github.com/guruyay
I'm reading a lot of python code lately, django code to be exact, and
I keep bumping into expressions that look like this
@register.filter
I see nothing importing @register, so I assume it's not just a
function name. Yet I cannot figure where this @ sign came from.
I hope I'm not just forgetting s
Great! I've found this link
http://bonsai.ims.u-tokyo.ac.jp/~mdehoon/software/python/cygwin.html
it has libpython23.def and libpython23.a all set and ready to go.
Thanks anyway! Hope I could help someone.
--
http://mail.python.org/mailman/listinfo/python-list
Arrr after a small change in my google search, I have found this
tutorial:
http://www.mingw.org/MinGWiki/index.php/Python%20extensions
and it went ok (or at least seemed ok) until the last stage:
when I got this error:
C:\Documents and Settings\Yair Eshel\Desktop>dlltool --dllname
python23.dll -
Hi. Strange. I have wrote this message before but somehow it just
vanished. I'll try again.
I want to install pyqt, on my windows XP using python 2.3. To do that
I need to install qt, and to do that, I need to install sip 4.7. Now
python configure give out (among lots of other errors), this line:
s
Hi guys. I'm using python 2.3 on XP. At the moment, I might add, I
cannot change any of these: I cannot move back to linux, and I cannot
use a higher version of python.
Trying to install sip 4.7, using gcc version 3.4.2 (mingw-special),
created this error:
siplib.o:siplib.c:(.text+0x17): undefined