"Chris Mellon" <[EMAIL PROTECTED]> writes:
> It is a little annoying that there's no way to pre-allocate an
> array. It doesn't over-allocate, either, so building on a few bytes
> at a time is pretty much worst case behavior.
The fine source says:
array_resize(arrayobject *self, Py_ssize_t news
To automate/ease configuration in my app I am trying to find out to
which serial port a certain bluetooth device is connected. With pybluez
I can find out which bluetooth devices I have, but it will not tell me
the serial port they are mapped to.
Is there a way to figure this out from python? (I a
On Wed, 2007-11-07 at 00:10 +, [EMAIL PROTECTED] wrote:
> On Nov 6, 12:30 pm, Nicola Talbot <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I've updated my "Using LaTeX to write a PhD thesis" tutorial. Both PDF
> > and HTML versions can be reached via
> > http://theoval.cmp.uea.ac.uk/~nlct/latex/
>
>
> Executing the CPUID instruction may be helpful if you can figure out how
> these guys are using it:
> http://www.cpuid.com/cpuz.php
>
Numpy has an interface for this function.
Matthieu
--
French PhD student
Website : http://miles.developpez.com/
Blogs : http://matt.eifelle.com and http:/
On 11/6/07, Joseph king <[EMAIL PROTECTED]> wrote:
> I have a kinda hard question i am trying to build a jigsaw game with
> python, i would like to give the option for people to create there own
> puzzle piece does anyone know how to accomplish this it is becoming
> increasingly difficult f
This Message was undeliverable due to the following reason:
Your message was not delivered because the destination computer was
not reachable within the allowed queue period. The amount of time
a message is queued before it is returned depends on local configura-
tion parameters.
Most likely ther
On Sep 12, 10:35 am, Peter Otten <[EMAIL PROTECTED]> wrote:
> Am Wed, 12 Sep 2007 15:09:02 + schrieb [EMAIL PROTECTED]:
>
> > On Sep 12, 5:17 am, Peter Otten <[EMAIL PROTECTED]> wrote:
>
> >> Your assessment is wrong. You only get the extra lines in the traceback if
> >> you don't immediately w
On Oct 30, 1:25 pm, chewie54 <[EMAIL PROTECTED]> wrote:
> Hello,
>
> As an electronics engineer I use some very expensive EDA CAD tool
> programs that are scriptable using Tcl. I was wondering why these
> companies have choose to use Tcl instead of Python. Some of these
> are:
>
>Mentor Grap
On Nov 6, 7:37 pm, "Chris Mellon" <[EMAIL PROTECTED]> wrote:
> On Nov 6, 2007 6:23 PM, Jean-Paul Calderone <[EMAIL PROTECTED]> wrote:
> > Lots of people ask about this. The behavior you observed is the expected
> > (by the implementors, anyway) behavior.
>
> Are there languages where closures *don
Zionist wrote:
>> Zionazi obviously tries to shift blame and confuse the picture.
William Hughes wrote:
> One way to recognize a dupe of the Bavarian Illuminati is
> their tendency to characterize everyone as Zionists.
Another way is their tendency to proclaim quite loudly
and emphatically that t
i naively created execution context:
PyObject *execcontext = PyDict_New();
stuffed a handle in it:
PyObject *ih = PyCObject_FromVoidPtr(handle, NULL);
int st= PyDict_SetItemString(res, "interp", ih);
and later on in a function for a module that i defined
expected to extract that handle
hi gabriel...
i have my reasons, for some testing that i'm doing on a project.
that said, i'm still trying to figure out how to make this occur...
thanks
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf
Of Gabriel Genellina
Sent: Tuesday, November 06, 2007 2
7000+ beautiful Russian women
http://groups.google.com/group/all-good-things/web/beautiful-girls-and-ladies
--
http://mail.python.org/mailman/listinfo/python-list
Just wrote a mini "review" of three Python code editors on my blog...
http://pyminer.blogspot.com/2007/11/python-code-editors.html
I use PSPad or Notepad++ for quick editing, and Komodo Edit 4.2 for
longer sessions. Komodo Edit is the only one with code completion - a
very nice feature. You can p
>
> Jens,
>
> You might be interested in this
> bookhttp://www.oreilly.com/catalog/9780596529321/index.html
> which is new, I just ordered my copy. From the contents shown online,
> it has lot of applicability to data mining, using Python, although it
> its primary topic is data mining the web, it
is there a rename utility for zipfile that can rename a directory
inside a zipfile? also what's the best way to change the a file
content inside a zip?
So if i have the following file in the zip file:
A/a1.txt
A/a2.txt
B/b1.txt
I want to rename A to be A1, and B to be B1, as well as changing the
Is it possible to pass command-line arguments when running a program
in IDLE? The "Run" menu does not seem to provide that option. Thanks.
--
http://mail.python.org/mailman/listinfo/python-list
On Nov 6, 6:56 pm, [EMAIL PROTECTED] wrote:
> Zionazi obviously tries to shift blame and confuse the picture.
One way to recognize a dupe of the Bavarian Illuminati is
their tendency to characterize everyone as Zionists.
- William Hughes
--
http://mail.python.org/mailman/lis
Diez B. Roggisch wrote:
> It's a FAQ. The reason is that the created closures don't capture the
> _value_, but the _name_. Plus of course the locals()-dictionary outside
> the function a to perform the lookup of that name. Which has the value
> bound to it in the last iteration.
>
> Common cure
On Nov 6, 2007 6:23 PM, Jean-Paul Calderone <[EMAIL PROTECTED]> wrote:
> On Tue, 06 Nov 2007 17:07:47 -0700, Fernando Perez <[EMAIL PROTECTED]> wrote:
> > [snip]
> >
> >This struck me as counterintuitive, but I couldn't find anything in the
> >official docs indicating what the expected behavior sho
"Michael Bacarella" <[EMAIL PROTECTED]> writes:
> > The way I do it is run a separate process that mmaps the file and
> > reads one byte from each page every half hour or so. You are right
> > that it makes a huge difference.
>
> Why not just disable swap?
The system is demand paged. If swap is
Fernando Perez schrieb:
> Hi all,
>
> consider the following small example:
>
> """
> Small test to try to understand a strange subtlety with closures
> """
>
> def outer(nmax):
>
> aa = []
> for n in range(nmax):
>
> def a(y):
> return (y,n)
> print 'Closur
On Tue, 06 Nov 2007 17:07:47 -0700, Fernando Perez <[EMAIL PROTECTED]> wrote:
> [snip]
>
>This struck me as counterintuitive, but I couldn't find anything in the
>official docs indicating what the expected behavior should be. Any
>feedback/enlightenment would be welcome. This problem appeared deep
On Nov 6, 12:30 pm, Nicola Talbot <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've updated my "Using LaTeX to write a PhD thesis" tutorial. Both PDF
> and HTML versions can be reached viahttp://theoval.cmp.uea.ac.uk/~nlct/latex/
>
> I have added/deleted sections, so if you have any links to document
> nod
Please use monster.com! or linkedin
On Nov 6, 2007 10:49 PM, Peter Hsu <[EMAIL PROTECTED]> wrote:
> I hope job posting is appropriate on this mailing list. I couldn't find
> anything indicating otherwise.
>
>
>
> I'm looking for software engineers of all levels to help create a
> next-generatio
Hi all,
consider the following small example:
"""
Small test to try to understand a strange subtlety with closures
"""
def outer(nmax):
aa = []
for n in range(nmax):
def a(y):
return (y,n)
print 'Closure and cell id:',id(a.func_closure),\
id(a.
Benjamin Freedman speech with Slide Show (40 Minute Excerpt)
http://video.google.com/videoplay?docid=3552214685532803163
Free pdf book: THE MANUFACTURE AND SALE of Saint Einstein
@
http://jewishracism.com/SaintEinstein.htm
Author interviews @
http://jewishracism.com/interviews.htm
Rothschilds co
Pida is a nice looking IDE for Python, written in Python with GTK.
Emacs is decent, Eclipse has support, too. SciTE is a nice editor if
you are looking for something minimal (such as no debugger).
--
http://mail.python.org/mailman/listinfo/python-list
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello,
if you happen to be in Hamburg, Germany at November, 14th, and you'd like
to meet fellow Pythonistas, you should come to Jarrestraße 46 at DDD
design, who are generously hosting us again.
We will start at 19:30 and this time we will have a pre
Hey, I'm looking for a good Python environment. That is, at least an
editor and a debugger, and it should run on Windows. Does anyone have
any idea?
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] schrieb:
> I get this from valgrind (no suppression file but thgis probably is
> not covered by the suppressor anyway):
> ==6108== Invalid read of size 4
> ==6108==at 0x48D19F4: lookdict_string (dictobject.c:359)
> ==6108==by 0x48D1B59: PyDict_GetItem (dictobject.c:554)
>
On Nov 6, 2007 3:42 PM, Michael Bacarella <[EMAIL PROTECTED]> wrote:
>
> > Note that you're not doing the same thing at all. You're
> > pre-allocating the array in the C code, but not in Python (and I don't
> > think you can). Is there some reason you're growing a 8 gig array 8
> > bytes at a time?
> > Very sure. If we hit the disk at all performance drops
> > unacceptably. The application has low locality of reference so
> > on-demand caching isn't an option. We get the behavior we want when
> > we pre-cache; the issue is simply that it takes so long to build
> > this cache.
>
> The way I
Looks like you forgot to import EMR_globals, EMR_main, etc.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> ] On Behalf Of barronmo
> Sent: Tuesday, November 06, 2007 2:57 PM
> To: python-list@python.org
> Subject: global name is not defined
>
> I'm getting
En Tue, 06 Nov 2007 18:57:12 -0300, barronmo <[EMAIL PROTECTED]> escribió:
> I'm getting an error msg I don't understand, "global name EMR_globals
> is not defined", and could use some help.
>
> I've separated the application I'm building into several modules. One
> of the modules holds variables
On Nov 6, 3:56 pm, "Michael Bacarella" <[EMAIL PROTECTED]> wrote:
> > > This information is hardware dependent and probably unreliable.
>
> > > Why not run a benchmark and report the results instead?
> > > Like bogomips? http://en.wikipedia.org/wiki/Bogomips>
>
> > That's an interesting idea, but
I get this from valgrind (no suppression file but thgis probably is
not covered by the suppressor anyway):
==6108== Invalid read of size 4
==6108==at 0x48D19F4: lookdict_string (dictobject.c:359)
==6108==by 0x48D1B59: PyDict_GetItem (dictobject.c:554)
==6108==by 0x48B1657: instance_geta
"Michael Bacarella" <[EMAIL PROTECTED]> writes:
> Very sure. If we hit the disk at all performance drops
> unacceptably. The application has low locality of reference so
> on-demand caching isn't an option. We get the behavior we want when
> we pre-cache; the issue is simply that it takes so lon
I hope job posting is appropriate on this mailing list. I couldn't find
anything indicating otherwise.
I'm looking for software engineers of all levels to help create a
next-generation spam filtering solution for Abaca Technology. Abaca is located
in San Jose, CA.
The job posting for the sen
En Tue, 06 Nov 2007 18:43:10 -0300, bruce <[EMAIL PROTECTED]>
escribió:
> if i have python 2.4.3 installed, it gets placed in the python2.4 dir..
> if i
> don't do anything different, and install python 2.4.2, it too will get
> placed in the python2.4 tree... which is not what i want.
Any rea
I'm getting an error msg I don't understand, "global name EMR_globals
is not defined", and could use some help.
I've separated the application I'm building into several modules. One
of the modules holds variables I need to pass from one module to
another and is called 'EMR_globals'. Several othe
> > This information is hardware dependent and probably unreliable.
> >
> > Why not run a benchmark and report the results instead?
> > Like bogomips? http://en.wikipedia.org/wiki/Bogomips>
>
> That's an interesting idea, but this is in a login script, so I can't
> exactly run benchmarks while lo
"Michael Bacarella" <[EMAIL PROTECTED]> writes:
> cPickle with protocol 2 has some promise but is more complicated because
> arrays can't be pickled.
This is not true:
>>> import array
>>> a = array.array('L')
>>> a.extend(xrange(10))
>>> a
array('L', [0L, 1L, 2L, 3L, 4L, 5L, 6L, 7L, 8L, 9L])
>>
> Note that you're not doing the same thing at all. You're
> pre-allocating the array in the C code, but not in Python (and I don't
> think you can). Is there some reason you're growing a 8 gig array 8
> bytes at a time?
>
> They spend about the same amount of time in system, but Python spends 4.7
On 2007-11-06, Michael Bacarella <[EMAIL PROTECTED]> wrote:
> And there's no solace in lists either:
>
> $ time python eat800.py
>
> real4m2.796s
> user3m57.865s
> sys 0m3.638s
>
> $ cat eat800.py
> #!/usr/bin/python
>
> import struct
>
> d = []
> f = open('/dev/zero')
> for i in xr
Just Another Victim of the Ambient Morality a écrit :
> How do you change certain elements in a list? I'm looking to do the
> Python equivalent of this Ruby code:
>
>
> -> first = [1, 2]
> => [1, 2]
> -> second = first
> => [1, 2]
> -> first.map! {|i| i + 1}
> => [2, 3]
> -> first
>
thorsten...
if i have python 2.4.3 installed, it gets placed in the python2.4 dir.. if i
don't do anything different, and install python 2.4.2, it too will get
placed in the python2.4 tree... which is not what i want.
i'm running rhel4/5...
so.. i still need to know what to do/change in order to
On Nov 6, 2007 3:09 PM, <[EMAIL PROTECTED]> wrote:
> On Nov 6, 2:51 pm, "Michael Bacarella" <[EMAIL PROTECTED]> wrote:
> > > On the problem PCs, both of these methods give me the same information
> > > (i.e. only the processor name). However, if I go to "System
> > > Properties" and look at the "G
i'm running rhel...
so there isn't a python-config script as far as i know..
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf
Of [EMAIL PROTECTED]
Sent: Tuesday, November 06, 2007 8:26 AM
To: python-list@python.org
Subject: Re: Parallel Python environments..
On Nov 6, 4:11 pm, "Just Another Victim of the Ambient Morality"
<[EMAIL PROTECTED]> wrote:
> How do you change certain elements in a list? I'm looking to do the
> Python equivalent of this Ruby code:
>
> -> first = [1, 2]
> => [1, 2]
> -> second = first
> => [1, 2]
> -> first.map! {|i| i
On Nov 6, 3:11 pm, "Just Another Victim of the Ambient Morality"
<[EMAIL PROTECTED]> wrote:
> How do you change certain elements in a list? I'm looking to do the
> Python equivalent of this Ruby code:
>
> -> first = [1, 2]
> => [1, 2]
> -> second = first
> => [1, 2]
> -> first.map! {|i| i
> Is this a WMI function or a PyWin32 function? I guess I'm not seeing
> how to actually implement this in Python. Sounds intriguing though.
Neither, nor. It's a Win32 function, period (not Py). You would have to
use ctypes or some such to call it. See
http://msdn2.microsoft.com/en-us/library/ms
On Nov 6, 3:02 pm, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote:
> > On the problem PCs, both of these methods give me the same information
> > (i.e. only the processor name). However, if I go to "System
> > Properties" and look at the "General" tab, it lists the CPU name and
> > processor speed. Do
How do you change certain elements in a list? I'm looking to do the
Python equivalent of this Ruby code:
-> first = [1, 2]
=> [1, 2]
-> second = first
=> [1, 2]
-> first.map! {|i| i + 1}
=> [2, 3]
-> first
=> [2, 3]
-> second
=> [2, 3]
I need to change a list, in place, so o
On Nov 6, 2:51 pm, "Michael Bacarella" <[EMAIL PROTECTED]> wrote:
> > On the problem PCs, both of these methods give me the same information
> > (i.e. only the processor name). However, if I go to "System
> > Properties" and look at the "General" tab, it lists the CPU name and
> > processor speed.
> On the problem PCs, both of these methods give me the same information
> (i.e. only the processor name). However, if I go to "System
> Properties" and look at the "General" tab, it lists the CPU name and
> processor speed. Does anyone else know of another way to get at this
> information?
I'm no
On Nov 5, 11:57 am, [EMAIL PROTECTED] wrote:
> On Nov 3, 7:57 am, André <[EMAIL PROTECTED]> wrote:
>
> > I just installed Leopard on my Mac. I already was using Python 2.5.
> > I can run a Python script from a terminal window by typing "python
> > script.py" as one would expect ... but not using
On Nov 6, 2007 2:40 PM, Michael Bacarella <[EMAIL PROTECTED]> wrote:
>
> > > For various reasons I need to cache about 8GB of data from disk into
> core on
> > > application startup.
> >
> > Are you sure? On PC hardware, at least, doing this doesn't make any
> > guarantee that accessing it actually
> On the problem PCs, both of these methods give me the same information
> (i.e. only the processor name). However, if I go to "System
> Properties" and look at the "General" tab, it lists the CPU name and
> processor speed. Does anyone else know of another way to get at this
> information?
This i
En Tue, 06 Nov 2007 17:32:33 -0300, BartlebyScrivener
<[EMAIL PROTECTED]> escribió:
> Using bash on Debian Etch.
>
> If word_doc = sys.argv[1] and it's a file name like My\ Word.doc this
> function reads My and Word as two separate files unless the second
> '%s' is quoted. Took me a lot of tria
* BartlebyScrivener (Tue, 06 Nov 2007 20:32:33 -)
> Using bash on Debian Etch.
>
> If word_doc = sys.argv[1] and it's a file name like My\ Word.doc this
> function reads My and Word as two separate files unless the second
> '%s' is quoted. Took me a lot of trial and error to discover. Is this
> > For various reasons I need to cache about 8GB of data from disk into
core on
> > application startup.
>
> Are you sure? On PC hardware, at least, doing this doesn't make any
> guarantee that accessing it actually going to be any faster. Is just
> mmap()ing the file a problem for some reason?
>
On Nov 6, 2:27 pm, "Chris Mellon" <[EMAIL PROTECTED]> wrote:
> On Nov 6, 2007 2:12 PM, <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Nov 6, 1:35 pm, "Chris Mellon" <[EMAIL PROTECTED]> wrote:
>
> > > On Nov 6, 2007 1:18 PM, <[EMAIL PROTECTED]> wrote:
>
> > > > Hi,
>
> > > > We use a script here at work
Using bash on Debian Etch.
If word_doc = sys.argv[1] and it's a file name like My\ Word.doc this
function reads My and Word as two separate files unless the second
'%s' is quoted. Took me a lot of trial and error to discover. Is this
the most elegant way to do it? I was using popen originally, th
http://www.linuxhardware.org/features/01/10/09/1514233.shtml
AMD has historically used model numbers that are slightly higher than
the actual clock speed. I have a 2300 that runs at 1.9.
-Jeff
On Nov 6, 2007, at 3:27 PM, Chris Mellon wrote:
> On Nov 6, 2007 2:12 PM, <[EMAIL PROTECTED]> wro
On Nov 6, 2007 2:12 PM, <[EMAIL PROTECTED]> wrote:
> On Nov 6, 1:35 pm, "Chris Mellon" <[EMAIL PROTECTED]> wrote:
>
> > On Nov 6, 2007 1:18 PM, <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > > Hi,
> >
> > > We use a script here at work that runs whenever someone logs into
> > > their machine that log
On Nov 6, 1:35 pm, "Chris Mellon" <[EMAIL PROTECTED]> wrote:
> On Nov 6, 2007 1:18 PM, <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi,
>
> > We use a script here at work that runs whenever someone logs into
> > their machine that logs various bits of information to a database. One
> > of those bits is th
On Nov 6, 2007 1:18 PM, <[EMAIL PROTECTED]> wrote:
> Hi,
>
> We use a script here at work that runs whenever someone logs into
> their machine that logs various bits of information to a database. One
> of those bits is the CPU's model and speed. While this works in 95% of
> the time, we have some
Hi,
We use a script here at work that runs whenever someone logs into
their machine that logs various bits of information to a database. One
of those bits is the CPU's model and speed. While this works in 95% of
the time, we have some fringe cases where the only thing returned is
the processor nam
On Nov 6, 12:53 pm, [EMAIL PROTECTED] wrote:
> The world have been after Bill Gates for no reason. The richest group
> was and remains the Zionist jew Rothschilds family who own HALF the
> worlds total wealth through numerous frontmen zionists.
Everyone should know that the Zionists (among others
On Nov 6, 2007 12:18 PM, Michael Bacarella <[EMAIL PROTECTED]> wrote:
>
>
>
>
> For various reasons I need to cache about 8GB of data from disk into core on
> application startup.
>
Are you sure? On PC hardware, at least, doing this doesn't make any
guarantee that accessing it actually going to be
jane janet wrote:
> I'm a student. I wanna know how to do about my project.
> I implemented aplication using Ironpython because I have to use .NET library
> and c# code but I also have to use this application with another Python
> implemented application. My teacher want me to create DLL file of
Rothschilds control half the world's wealth directly and indirectly
using zionist proxies, and loyalty based on the zionist racist cult
History of the Rothschilds part 1
http://www.youtube.com/watch?v=o_u2MaNg-EQ
History of the Rothschilds part 2
http://www.youtube.com/watch?v=o2cw-0N_Unk
FBI, W
For various reasons I need to cache about 8GB of data from disk into core on
application startup.
Building this cache takes nearly 2 hours on modern hardware. I am surprised
to discover that the bottleneck here is CPU.
The reason this is surprising is because I expect something like this to
Zionist wrote:
> The world have been after Bill Gates for no reason. The richest group
> was and remains the Zionist jew Rothschilds family who own HALF the
> worlds total wealth through numerous frontmen zionists.
>
> google video and youtube have many videos on the family. You can set
> aside par
On 2007-11-06, Damjan <[EMAIL PROTECTED]> wrote:
>>> PyQt and PySDL are AFAIK not much "less weight".
>>
>> They don't use X11. That's a _lot_ "less weight".
>
> Do you mean the X11 server or the libraries?
Both.
--
Grant Edwards grante Yow! Bo Derek ruined
On Nov 6, 11:07 am, "J. Clifford Dyer" <[EMAIL PROTECTED]> wrote:
> On Tue, Nov 06, 2007 at 08:49:33AM -0800, [EMAIL PROTECTED] wrote regarding
> regular expressions:
>
>
>
> > hi i am looking for pattern in regular expreesion that replaces
> > anything starting with and betweeen http:// until /
>
Thanks for the replies -- Python, is there anything it can't do? :D
\d
--
http://mail.python.org/mailman/listinfo/python-list
The world have been after Bill Gates for no reason. The richest group
was and remains the Zionist jew Rothschilds family who own HALF the
worlds total wealth through numerous frontmen zionists.
Mikhail Khodorkovsky, whom Russian President Vladimir I Putin put in
jail rose from the Rothschilds mone
On Tue, 06 Nov 2007 19:42:08 +0200, Donn wrote:
> Tried that, but get this error. I did a dir(inspect) in the command env. and
> getsource it definitely there...
>
> Traceback (most recent call last):
> File "inspect.py", line 1, in ?
> import inspect
>
> File
> "/home/donn/Projects/py
2007/11/6, Donn <[EMAIL PROTECTED]>:
> > import inspect
> >
> > class Box:
> > def draw(self):
> > print "hi"
> > return 3
> >
> > x = Box()
> > print inspect.getsource(x.draw)
>
> Tried that, but get this error. I did a dir(inspect) in the command env. and
> getsource it definitely there...
>
> Tr
On Tue, 06 Nov 2007 19:09:21 +0200, Donn Ingle <[EMAIL PROTECTED]> wrote:
>Hi,
>I'm doing something odd with pycairo and friends and I want to see what
>commands are coming out of my objects.
>
>Here's some code:
>
>class Box:
> def draw()
> self.context.set_source_rgb(1, 0, 0)
> self.context.rec
> import inspect
>
> class Box:
> def draw(self):
> print "hi"
> return 3
>
> x = Box()
> print inspect.getsource(x.draw)
Tried that, but get this error. I did a dir(inspect) in the command env. and
getsource it definitely there...
Traceback (most recent call last):
File "i
2007/11/6, Donn Ingle <[EMAIL PROTECTED]>:
> Hi,
> I'm doing something odd with pycairo and friends and I want to see what
> commands are coming out of my objects.
>
> Here's some code:
>
> class Box:
> def draw()
> self.context.set_source_rgb(1, 0, 0)
> self.context.rectangle(0, 00, 50, 50)
>
Hi,
I'm doing something odd with pycairo and friends and I want to see what
commands are coming out of my objects.
Here's some code:
class Box:
def draw()
self.context.set_source_rgb(1, 0, 0)
self.context.rectangle(0, 00, 50, 50)
self.context.fill()
Box.draw() draws a red box, all fine. B
>> PyQt and PySDL are AFAIK not much "less weight".
>
> They don't use X11. That's a _lot_ "less weight".
Do you mean the X11 server or the libraries? The kdrive server should be
fairly small (depending on features). I think it builds from the main xorg
source today?? Isn't that what maemo uses.
On Tue, Nov 06, 2007 at 08:49:33AM -0800, [EMAIL PROTECTED] wrote regarding
regular expressions:
>
> hi i am looking for pattern in regular expreesion that replaces
> anything starting with and betweeen http:// until /
> like http://www.start.com/startservice/yellow/ fdhttp://helo/abcd will
> be
Maybe here: http://www.broffice.org/odfpy1
On 11/6/07, luca72 <[EMAIL PROTECTED]> wrote:
>
> Hello
> Can you tell me where i can find some example that's show how to open
> an existing oocalc document and get some data from it?
>
> Thanks Luca
>
> --
> http://mail.python.org/mailman/listinfo/pytho
On Nov 6, 4:49 pm, [EMAIL PROTECTED] wrote:
> hi i am looking for pattern in regular expreesion that replaces
> anything starting with and betweeen http:// until /
> likehttp://www.start.com/startservice/yellow/fdhttp://helo/abcdwill
> be replaced as
> p/startservice/yellow/ fdp/abcd
What have you
On 11/6/07, rustom <[EMAIL PROTECTED]> wrote:
> heckle in ruby is inspired by jester for java. I quote:
>
> Heckle is a mutation tester. It modifies your code and runs your tests
> to make sure they fail. The idea is that if code can be changed and
> your tests don't notice, either that code isn't
Thanks for the useful info ... appreciate your efforts.
On Oct 26, 10:37 am, [EMAIL PROTECTED] wrote:
> http://www.ft.com/cms/s/0/56cb5b92-10a7-11dc-96d3-000b5df10621.html?n...
>
> Harvard legal expert vows to sue lecturers boycotting Israel
>
> By Jon Boone
>
> Published: June 2 2007 03:00
>
> A
bruce wrote:
> Hi..
>
> If I wanted to be able to build/test/use parallel python versions, what
> would I need to do/set (paths/libs/etc...) and where would I need to place
> the 2nd python version, so as not to screw up my initial python dev env.
>
> I'd like to be able to switch back/forth bet
On Nov 2, 6:47 am, Paul McGuire <[EMAIL PROTECTED]> wrote:
> Well I'll be darned! All this time, I thought "recursive descent"
> described the recursive behavior of the parser, which pyparsing
> definitely has. I never knew that backing up in the face of parse
> mismatches was a required part of
In Gentoo Linux you can select between installed python version using
python-config script.
--
http://mail.python.org/mailman/listinfo/python-list
heckle in ruby is inspired by jester for java. I quote:
Heckle is a mutation tester. It modifies your code and runs your tests
to make sure they fail. The idea is that if code can be changed and
your tests don't notice, either that code isn't being covered or it
doesn't do anything.
from http://gl
* bruce (Tue, 6 Nov 2007 07:13:43 -0800)
> If I wanted to be able to build/test/use parallel python versions, what
> would I need to do/set (paths/libs/etc...)
nothing
> and where would I need to place the 2nd python version, so as not to
> screw up my initial python dev env.
Anywhere you like (
On Tue Nov 6 15:46:07 CET 2007, Michel Albert wrote:
[PyQwt and matplotlib]
> PyQwt looks much more interesting, but I have trouble installing it.
> On my machine it complains that sipconfig "has no attribute
> '_pkg_config'".
Is the configuration script finding the sipconfig file for SIP 3 or S
Hello
Can you tell me where i can find some example that's show how to open
an existing oocalc document and get some data from it?
Thanks Luca
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, 06 Nov 2007 11:25:29 +, Duncan Booth wrote:
> Steven D'Aprano <[EMAIL PROTECTED]> wrote:
>
>
>
>> Not quite, because that will also convert strings to tuples, which may
>> not be what you want for a general solution.
>
> I take it you didn't actually try the original code then.
N
On 2007-11-05, Just Another Victim of the Ambient Morality
<[EMAIL PROTECTED]> wrote:
> "Kay Schluehr" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>> I'm not sure one needs to start again with a naive approach
>> just to avoid any parser theory. For a user of a parser it is
>> qu
1 - 100 of 151 matches
Mail list logo