First  |  Prev |  Next  |  Last
Pages: 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
Sharing: member type deduction for member pointers (Alf's device?)
[Cross-posted comp.lang.c++ and comp.lang.python] Consider the following code, from an example usage of some C++ support for Python I'm working on, "cppy": <code> struct Noddy { PyPtr first; PyPtr last; int number; Noddy( PyWeakPtr pySe... 19 Jul 2010 03:46
Where is a module usually installed?
My Python is installed in the following location. ~/utility/linux/opt/Python-2.6.5/ I then installed SCons (http://www.scons.org/) using the command "python setup.py install", which install it at ~/utility/linux/opt/Python-2.6.5/lib/scons-2.0.0.final.0 sys.path doesn't have the above directory. I have to add i... 17 Jul 2010 04:27
timing
On Fri, Jul 16, 2010 at 5:52 PM, Jia Hu <hujia06(a)gmail.com> wrote: Hello: If I want to calculate the runtime of a section of a program. How can I do it? Taking you extremely literally: from time import time start = time() run_section_here() end = time() runtime = end-start Assuming you're doing t... 16 Jul 2010 22:02
Subsets of Python implemented in Python
I don't understand why some parts of the Python language (or the Python standard library too) are implemented in C while some other parts are implemented in the Python language itself. For instance, lists and dictionnaries are implemented in C but sets are not. Wouldn't be better to implement all in C (for eff... 16 Jul 2010 22:02
How to list all the python help topics that are capitalized?
Hi, I see that there are help topics that are capitalized, which I think in general are related with languages syntax. I want to see the complete list of such help topics. Would you please let me know if there is a command to do so? help('SUBSCRIPTS') Related help topics: SEQUENCEMETHODS1 help('[... 16 Jul 2010 16:34
( . ) ( . ) ( . ) ( . ) ( . ) Nude desi videos and pictures ( . ) ( . ) ( . ) ( . ) ( . ) ( . )
Click here for nude desi videos http://ukpinkgirls.co.cc/ http://uk-worldwebhosting.co.cc/ ... 16 Jul 2010 15:27
py2app with weave fails
Hi, I'm trying to create a standalone app using py2app, but it seems no matter what I do I get this error: Traceback (most recent call last): File "/Users/soren/Documents/workspace/bioxtasraw/dist/RAW.app/ Contents/Resources/__boot__.py", line 158, in <module> _run('RAW.py') File "/Users/soren/Docume... 30 Jul 2010 16:20
Python Imaging Library available for Python 3.1 ? Fractals
On Jun 6, 12:40 am, pdlemper<no spam>@earthlink.net wrote: On the site    http://code.activestate.com/recipes/langs/python/ there are several scripts for fractals.  See page five. These begin                         from PIL import Image This fails in my python 3.1.2 Google reveals PIL is Pyt... 16 Jul 2010 13:13
Is '[' a function or an operator or an language feature?
I mean to get the man page for '[' like in the following code. x=[1,2,3] But help('[') doesn't seem to give the above usage. ########### Mutable Sequence Types ********************** List objects support additional operations that allow in-place modification of the object. Other mutable sequence types ... 18 Jul 2010 13:46
rstrip()
$ python Python 2.6.4 (r264:75706, Dec 7 2009, 18:43:55) [GCC 4.4.1] on linux2 Type "help", "copyright", "credits" or "license" for more information. "x.vsd-dir".rstrip("-dir") 'x.vs' I expected 'x.vsd' as a return value. ... 19 Jul 2010 03:46
First  |  Prev |  Next  |  Last
Pages: 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49