hmmm, just needed better search words, thanks :)
--
http://mail.python.org/mailman/listinfo/python-list
Terry Reedy wrote:
>
> Are the dice identical or distinguishable (marked). In other words, with 2
> dice, is 1,2 the same as 2,1 or different? Note that in most dice games,
> such as craps, the dice are not distinguished, but probability calculations
> must treast them as if they were to get th
i can use the polling method to check for data on the serial port using
pyserial...but i need to use the interrupt driven method .am workin
on a windows platform
--
http://mail.python.org/mailman/listinfo/python-list
i can use the polling method to check for data on the serial port using
pyserial...but i need to use the interrupt driven method .am workin
on a windows platform
--
http://mail.python.org/mailman/listinfo/python-list
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Ok, this is really irritating me. I'm sure there are different ways of
> doing this - I'm interested in the algo, not the practical solution,
> I'm more trying to play with iterators and recursion. I want to create
> a program that g
On 2006-05-27, Travis E. Oliphant <[EMAIL PROTECTED]> wrote:
>> I need to interpolate an irregularly spaced set of sampled
>> points: Given a set of x,y,z points, I need to interpolate z
>> values for a much finer x,y grid.
>
> How many x,y,z points do you have?
I've got about 700 data points. T
I'm currently working on a script that I will run when I leave my
computer on at night. It runs external commands like Ad-Aware, Spybot,
AVG, Avast, and the like. The problem is, I want to know how to make it
so that one command starts only after the last one finishes. When I run
them, they end up
"Mike Schilling" <[EMAIL PROTECTED]> writes:
> "P.L.Hayes" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>>
>> I agree. I have already written to Dreamhost and I hope more people
>> will do so. I have found some of what has been posted here quite
>> astonishing and the actions of
On 2006-05-27, Robert Kern <[EMAIL PROTECTED]> wrote:
> Grant Edwards wrote:
>
>> I found another module that claims to do what I want
>>
>> http://www.cdc.noaa.gov/people/jeffrey.s.whitaker/python/griddata.html
>>
>> But, no matter what data I pass, I get either all zeros or all
>> NaNs back. :/
On 2006-05-27, Grant Edwards <[EMAIL PROTECTED]> wrote:
> I found another module that claims to do what I want
>
> http://www.cdc.noaa.gov/people/jeffrey.s.whitaker/python/griddata.html
>
> But, no matter what data I pass, I get either all zeros or all
> NaNs back. :/
Aaarrrggh. After some more s
[EMAIL PROTECTED] wrote:
> Ok, this is really irritating me. I'm sure there are different ways of
> doing this - I'm interested in the algo, not the practical solution,
> I'm more trying to play with iterators and recursion. I want to create
> a program that generates every possible combination
Ok, this is really irritating me. I'm sure there are different ways of
doing this - I'm interested in the algo, not the practical solution,
I'm more trying to play with iterators and recursion. I want to create
a program that generates every possible combination of a set of a n
dice, with s sides
Ilias Lazaridis wrote:
> Is there a similar tool available, with which I can generate python
> documentation / websites or both based on templates and reST?
rest2web (http://www.voidspace.org.uk/python/rest2web/) seems relevant,
though the latest version is 0.4alpha so I'm not sure if it's stabl
Grant Edwards wrote:
> I found another module that claims to do what I want
>
> http://www.cdc.noaa.gov/people/jeffrey.s.whitaker/python/griddata.html
>
> But, no matter what data I pass, I get either all zeros or all
> NaNs back. :/
>
> I'm 0 for 3 now.
I pointed you to
http://www.scipy.or
Grant Edwards wrote:
> I need to interpolate an irregularly spaced set of sampled
> points: Given a set of x,y,z points, I need to interpolate z
> values for a much finer x,y grid.
How many x,y,z points do you have?
Did you try the fitpack function bisplrep in scipy? It can work well as
long as
Got a dumb question to ask, http://www.justfuckengoogleit.com or
www.justfuckinggoogleit.net
--
http://mail.python.org/mailman/listinfo/python-list
John Bokma wrote:
> Eli Gottlieb <[EMAIL PROTECTED]> wrote:
>
>
>>Who reads blogs? They're well known for housing crackpots far worse
>>than Xah, and I estimate he doesn't want to associate himself with that
>>sort.
>
>
> Yup, he seems to be quite happy as a Usenet Kook
>
An area in which y
On 2006-05-27, Grant Edwards <[EMAIL PROTECTED]> wrote:
> On 2006-05-27, Grant Edwards <[EMAIL PROTECTED]> wrote:
>> On 2006-05-26, Scott David Daniels <[EMAIL PROTECTED]> wrote:
>>
I tried using the scipy sandbox delaunay module, but the
interpolators don't work: the natural neighbor int
Grant> OTOH, it looks like I'm screwed either way. My python
interpolator is so hopelessly slow it's useless in practice. It
can only process 4 points per second and I need to process
arrays of 10,000 to 50,000 elements. :(
Pardon my utter ignorance of scipy, but are neither psyco nor pyrex any
u
On 27/05/2006 9:51 AM, BJörn Lindqvist wrote:
>> how can i split a string that contains white spaces and '_'
>>
>> any clue?
>
> If the white spaces and the '_' should be applied equivalently on the
> input and you can enumerate all white space characters, you could do
> like this:
Yes, you could
Hi guys!
I know this subject has been beaten to death and I am not going to
whine about lacking features for proper restricted execution in the
Python runtime. It's the OS job, I get it.
Anyways, I thought about using a restricted *subset* of the language
for simple configuration scripts and stor
On 2006-05-27, Grant Edwards <[EMAIL PROTECTED]> wrote:
> On 2006-05-26, Scott David Daniels <[EMAIL PROTECTED]> wrote:
>
>>> I tried using the scipy sandbox delaunay module, but the
>>> interpolators don't work: the natural neighbor interpolator
>>> produces a surface with "holes" in it: the inter
Hello Vinay,
On Thu, May 25, 2006 at 10:14:00AM -0700, Vinay Sajip wrote:
> I don't know what your logger hierarchy looks like: you could perhaps
> log to child loggers of l01 ("l01.XXX"), or set all other loggers you
> use to have a CRITICAL level, or filter them using a filter which
> filters ou
"Tim Peters" <[EMAIL PROTECTED]> writes:
> > g = remote_iterate(itertools.count)
>
> You didn't run this code, right? itertools.count() was intended.
Sorry, I made a cut-and-paste error posting the message. My test case
did use itertools.count().
> In any case, as when calling any generato
On 27/05/2006 9:15 AM, M.N.A.Smadi wrote:
> hi guys;
>
> sorry for sending a perl question here, but python guy "HAD TO" look at
> perl code;
>
> how can i split a string that contains white spaces and '_'
>
> any clue?
>
> thanks
> moe smadi
Well the screamingly obvious way to do in Python w
On 2006-05-26, Scott David Daniels <[EMAIL PROTECTED]> wrote:
>> I tried using the scipy sandbox delaunay module, but the
>> interpolators don't work: the natural neighbor interpolator
>> produces a surface with "holes" in it: the interpolator returns
>> NaNs for no reason for certain regions with
> how can i split a string that contains white spaces and '_'
>
> any clue?
If the white spaces and the '_' should be applied equivalently on the
input and you can enumerate all white space characters, you could do
like this:
def split_helper(list, delims):
if not delims:
return list
Grant Edwards wrote:
> I need to interpolate an irregularly spaced set of sampled
> points: Given a set of x,y,z points, I need to interpolate z
> values for a much finer x,y grid.
>
> I tried using the scipy sandbox delaunay module, but the
> interpolators don't work: the natural neighbor interpo
hi guys;
sorry for sending a perl question here, but python guy "HAD TO" look at
perl code;
how can i split a string that contains white spaces and '_'
any clue?
thanks
moe smadi
--
http://mail.python.org/mailman/listinfo/python-list
"P.L.Hayes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> I agree. I have already written to Dreamhost and I hope more people
> will do so. I have found some of what has been posted here quite
> astonishing and the actions of certain people to be reprehensible: by
> far the most
> Ah, what I was referring to (somewhat in jest) was something to
> automatically *write* the code needed by the application. Simply
> executing it is easy enough and in fact Rapyd-Tk already does this via
> the save-build-run project-menu choice.
sorry I misunderstood you.
--
http://mail.pytho
I need to interpolate an irregularly spaced set of sampled
points: Given a set of x,y,z points, I need to interpolate z
values for a much finer x,y grid.
I tried using the scipy sandbox delaunay module, but the
interpolators don't work: the natural neighbor interpolator
produces a surface with "ho
[Paul Rubin]
> ...
> When I try to do it in a separate thread:
>
> import time, itertools
> def remote_iterate(iterator, cachesize=5):
> # run iterator in a separate thread and yield its values
> q = Queue.Queue(cachesize)
> def f():
> print 'thread start
What is going on with the pudge project?
Mr. Patrik O'Brien (Orbtech LLC) had told me that there is no similar
tool available within the python domain, thus I have invested some
effort to create a Website template, and to enable pudge to generate
colored code:
http://audit.lazaridis.com/schevo
Paul Rubin wrote:
> As I understand it, generators are supposed to run til they hit a
> yield statement:
>
>import time
>def f():
> print 1
> time.sleep(3)
> for i in range(2,5):
> yield i
>
>for k in f():
> print k
>
> prints "1" immediately, sleeps for
As I understand it, generators are supposed to run til they hit a
yield statement:
import time
def f():
print 1
time.sleep(3)
for i in range(2,5):
yield i
for k in f():
print k
prints "1" immediately, sleeps for 3 seconds, then prints 2, 3, and 4
without pau
Marc 'BlackJack' Rintsch wrote:
> In <[EMAIL PROTECTED]>, Roy Smith wrote:
>
>>> Also, how do I do this when dealing with a file ; which file mode
>>> should I use and what function should I use to modify a single
>>> character once in that file mode?
>> This is a much more complicated question, b
In <[EMAIL PROTECTED]>, Roy Smith wrote:
>> Also, how do I do this when dealing with a file ; which file mode
>> should I use and what function should I use to modify a single
>> character once in that file mode?
>
> This is a much more complicated question, because it depends on the details
> o
pyserial?
http://pyserial.sourceforge.net/
-Larry
[EMAIL PROTECTED] wrote:
> hi
> i hav written a code in python to send an SMS from a nokia 3310
> connected to my PC...
> i wanted to receive a msg on my PC. In order to do so, the PC must know
> when it has to read data frm the serial port ...th
It is just the nature of "things that run in the background all
day" to be things that should probably be daemons or services.
They almost always sleep, check, process, sleep, ... and as
windows services do that better than processes in loops that
sleep. They are daunting at first, but services ar
In <[EMAIL PROTECTED]>, Gregory
Petrosyan wrote:
> Thanks for your reply. I understand this fact, but I wonder why
> writelines() works slowly -- I think C code can be optimised to work
> faster than Python one. Is it correct that writelines(...) is just a
> shorthand for
>
> for ch in ...:
>
On 27/05/2006 6:57 AM, [EMAIL PROTECTED] wrote:
> I have tried this comparison, with a version I've modified a bit, I
> have encoutered a problem in sieve_all, for example with n=1, I
> don't know why:
It might have been better use of bandwidth to give details of the
problem instead of all th
Larry Bates wrote:
> Something that runs all day in the background is a perfect candidate
> for being turned into a Service. That and servicemanager has a good
> way of managing the task so that it doesn't take up lots of excess
> CPU cycles that a "normal" application would take while sleeping
>
hi
i hav written a code in python to send an SMS from a nokia 3310
connected to my PC...
i wanted to receive a msg on my PC. In order to do so, the PC must know
when it has to read data frm the serial port ...thus an interrupt must
be generated when the serial port receives data frm the phone .
"Mumia W." <[EMAIL PROTECTED]> writes:
> Mitch wrote:
>> John Bokma wrote:
>> [...]
>>> You're mistaken. All you need to do is report it. After some time
>>> Xah will either walk in line with the rest of the world, or has
>>> found somewhere else to yell. As long as it's not my back garden
>>> and
"John Bokma" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> "Mike Schilling" <[EMAIL PROTECTED]> wrote:
>
>>
>> "John Bokma" <[EMAIL PROTECTED]> wrote in message
>> news:[EMAIL PROTECTED]
>>> "Chris Uppal" <[EMAIL PROTECTED]> wrote:
>>>
[apologies to the whole flaming crowd fo
On 27/05/2006 6:41 AM, Paul Rubin wrote:
> John Machin <[EMAIL PROTECTED]> writes:
>> What is the use case? Why write something like """empty(foo, 42,
>> cmd="xyzzy")""" when you could merely write "pass" or nothing at all?
>
> The function might be a parameter to something.
Please bear with me;
On Sat, 2006-05-27 at 06:22 +1000, John Machin wrote:
> On 27/05/2006 2:54 AM, Jeremy L. Moles wrote:
>
> ["chop" snipped]
>
> >
> > Furthermore, what do people think about the idea of adding a truly
> > empty, no-op global lambda somewhere in Python? I use them a lot
>
> What is the use case?
I have tried this comparison, with a version I've modified a bit, I
have encoutered a problem in sieve_all, for example with n=1, I
don't know why:
def sieve_all(n=100):
# yield all primes up to n
stream = iter(xrange(2, n))
while True:
p = stream.next()
yield p
"Mike Schilling" <[EMAIL PROTECTED]> wrote:
>
> "John Bokma" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>> "Chris Uppal" <[EMAIL PROTECTED]> wrote:
>>
>>> [apologies to the whole flaming crowd for sending this to the whole
>>> flaming crowd...]
>>>
>>> Geoffrey Summerhayes wro
Something that runs all day in the background is a perfect candidate
for being turned into a Service. That and servicemanager has a good
way of managing the task so that it doesn't take up lots of excess
CPU cycles that a "normal" application would take while sleeping
or unnecessarily looping. Pi
"John Bokma" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> "Chris Uppal" <[EMAIL PROTECTED]> wrote:
>
>> [apologies to the whole flaming crowd for sending this to the whole
>> flaming crowd...]
>>
>> Geoffrey Summerhayes wrote:
>>
>>> After you kill Navarth, will it be nothing but
On 26/05/2006 11:25 PM, Frank Millman wrote:
> [EMAIL PROTECTED] wrote:
>> If you are interested in such programs, you can take a look at this one
>> too:
>> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/366178
>>
>> It requires more memory, but it's quite fast.
>>
>> Bye,
>> bearophile
>
John Machin <[EMAIL PROTECTED]> writes:
> What is the use case? Why write something like """empty(foo, 42,
> cmd="xyzzy")""" when you could merely write "pass" or nothing at all?
The function might be a parameter to something.
--
http://mail.python.org/mailman/listinfo/python-list
Ben Stroud wrote:
> George Sakkis wrote:
>
>> After a brief search, I didn't find any python package related to OLAP
>> and pivot tables. Did I miss anything ? To be more precise, I'm not so
>> interested in a full-blown OLAP server with an RDBMS backend, but
>> rather a pythonic API for construct
On 27/05/2006 2:54 AM, Jeremy L. Moles wrote:
["chop" snipped]
>
> Furthermore, what do people think about the idea of adding a truly
> empty, no-op global lambda somewhere in Python? I use them a lot
What is the use case? Why write something like """empty(foo, 42,
cmd="xyzzy")""" when you cou
vbgunz wrote:
> Steve, I have no qualm with Fredrik over this '''if you don't know how
> to do things, you don't need to post.''' but this ''' if you know why
> this is about the dumbest way to do what you're doing, and you're
> posted this on purpose, you really need to grow up.'''.
>
> The prob
spohle a écrit :
> how do i get the result back into the dictionary ?
>
Python dicts (like almost any known hash-table) are *not* ordered. If
you need an ordered dict, roll your own - this is quite easy.
--
http://mail.python.org/mailman/listinfo/python-list
Tim Chase a écrit :
(snip)
>
>> list = [key2, key3, key1]
>
> 1) it's bad practice to shadow the list() command...
s/command/type/
> funky stuff can happen.
indeed, if you shadow it with a non-compatible object !-)
--
http://mail.python.org/mailman/listinfo/python-list
George Sakkis a écrit :
> Bruno Desthuilliers wrote:
>
>
>>George Sakkis a écrit :
>>
>>>The thing is there are four (at least?) ways to get a dict instance:
>>>
(snip)
>>This actually makes 2 (two) ways of creating a dict:
>>- the default call to type (ie : dict(...)
>>- the syntactic sugar dic
oops. lost my train of thought. I was gonna say, I wonder if some of
these image manipulation routines are using multiple threads?
--
http://mail.python.org/mailman/listinfo/python-list
I wonder if there are other threads accessing image? Maybe image isn't
fully initialized by some other thread before this code accesses it?
It's hard to say what's going wrong. I don't believe that an SMP system
would have any bearing on an application unless it uses multiple
threads of execution.
Cameron,
The "7 Minutes To Hello World" IS the ActiveState distribution. It's
just hand-holding, click here, click there, for the person who doesn't
know what "Windows/x86" means on the install page, or perhaps doesn't
know what to do with the interpreter once it's installed.
--
http://mail.pyth
Ah, what I was referring to (somewhat in jest) was something to
automatically *write* the code needed by the application. Simply
executing it is easy enough and in fact Rapyd-Tk already does this via
the save-build-run project-menu choice.
vbgunz wrote:
> > As for the code to actually make the ap
Duncan Booth wrote:
> George Sakkis wrote:
>
> > Duncan Booth wrote:
> >
> >> George Sakkis wrote:
> >>
> >> > 2) restricting in a more serious sense: the future addition of
> >> > optional keyword arguments that affect the dict's behaviour. Google
> >> > for "default dict" or "dictionary accumula
Hello,
I've created a simple form with 2 radio boxes, 2 text boxes and a
button.
When I click the button, I'd like to write each "choice" to a text
file.
I can't figure out how to "link" the onClick event to the other 4
controls.
Any help would be much appreciated!
R.D. Harles
import wx, sys
cla
Duncan Booth <[EMAIL PROTECTED]> writes:
> > d = dict(default=0)
> > d['x'] += 3
> >
> > more elegant than
> >
> > d = {}
> > d.withdefault(0)
> > d['x'] += 3
> >
> Well you could have:
>
> d = dict.withdefault(0)
>
> but then you may have to start with an empty dictionary. What happens if
>
Thanks for your reply. I understand this fact, but I wonder why
writelines() works slowly -- I think C code can be optimised to work
faster than Python one. Is it correct that writelines(...) is just a
shorthand for
for ch in ...:
file.write(ch)
?
--
http://mail.python.org/mailman/listinfo/
"Jeremy L. Moles" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Furthermore, what do people think about the idea of adding a truly
> empty, no-op global lambda somewhere in Python?
In an important sense, there is no such object as a 'lambda' in Python.
There are only function ob
Gregory Petrosyan wrote:
> My question is: why write(''.join(...)) works slowly than
> writelines(...)? Here's the code:
the first copies all the substring to a single string large enough to
hold all the data, before handing it over to the file object, while the
second just writes the substring
i write the dict out to a file, not with file methods but rather with
an inhouse python code. unfortunatly the order plays a big role for
that.
--
http://mail.python.org/mailman/listinfo/python-list
George Sakkis wrote:
> Duncan Booth wrote:
>
>> George Sakkis wrote:
>>
>> > 2) restricting in a more serious sense: the future addition of
>> > optional keyword arguments that affect the dict's behaviour. Google
>> > for "default dict" or "dictionary accumulator".
>>
>> There is nothing to stop
In article <[EMAIL PROTECTED]>,
"Terry Reedy" <[EMAIL PROTECTED]> wrote:
> "Mel Wilson" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Point of information, would this be the interpreter putting
> > the result of its last calculation in _ ?
>
> Yes, [ ... ]
No, actually. It'
My question is: why write(''.join(...)) works slowly than
writelines(...)? Here's the code:
import sys
import random
#try:
#import psyco
#psyco.full()
#except ImportError:
#pass
def encrypt(key, infile, outfile, bufsize=65536):
random.seed(key)
in_buf = infile.read(bufsize)
Gonzalo Monzón wrote:
> Does this happen if you're releasing, i.e. a built exe with py2exe,
> where you supply the right crt? or if you do supply the right crt on the
> application folder? ...
It does not matter which crt you "supply". The dynamic linker will
attempt to load the crt specified by
In article <[EMAIL PROTECTED]>,
vbgunz <[EMAIL PROTECTED]> wrote:
>maybe you can tell your moms what to do and what binaries to download
>or maybe you can download them for her and either send it to her
>through email or put it on a disc for her... I understand the Windows
>XP installation binary i
"Mel Wilson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Point of information, would this be the interpreter putting
> the result of its last calculation in _ ?
Yes, in interactive mode (but not in batch mode) it binds the valid name
'_' to the result of statement expressions.
> how do i get the result back into the dictionary ?
Well, if you must, if you've just got the results in my
previous post, you can take them and shove them back into a
dict with
results = [('key1','value1'),('key2','value2)]
newDict = dict(results)
If you're not doing anything
how do i get the result back into the dictionary ?
--
http://mail.python.org/mailman/listinfo/python-list
OK, this is the code:
"""
image is the object instance of Image class which contains all
informations
"""
pil = Image.open( os.path.join( image.path,image.name ) )
if image.rotation_angle != 2:
try:
pil = pil.rotate( rotation_lev
"Bob Greschke" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>I have a program that sucks in a list of equipment positions (Lats/Longs),
>opens a Toplevel frame with a canvas set to, for example, 700x480 pixels,
>and then does all of the calculations and plots the objects with 10-p
"spohle" <[EMAIL PROTECTED]> writes:
> dic = {'key1':'value1', 'key2':'value2', 'key3':'value3'}
>
> list = [key2, key3, key1]
Is this what you want?
dic = {'key1':'value1', 'key2':'value2', 'key3':'value3'}
keys = ['key2', 'key3', 'key1']
items = [dic[k] for k in keys]
print ite
> hi i have a normal dictionary with key and value pairs. now i wanna
> sort by the keys BUT in a specific order i determine in a list !? any
> ideas
>
> dic = {'key1':'value1', 'key2':'value2', 'key3':'value3'}
>
> list = [key2, key3, key1]
1) it's bad practice to shadow the list() command...f
hi i have a normal dictionary with key and value pairs. now i wanna
sort by the keys BUT in a specific order i determine in a list !? any
ideas
dic = {'key1':'value1', 'key2':'value2', 'key3':'value3'}
list = [key2, key3, key1]
--
http://mail.python.org/mailman/listinfo/python-list
I've been using the following lambda/function for a number of months now
(I got the idea from someone in #python, though I don't remember who):
def chop(s, n):
"""Chops a sequence, s, into n smaller tuples."""
return zip(*[iter(s)] * n)
...or...
chop = lambda s, n: zip(*[iter(s)
chris brat wrote:
> Doesnt this do what the original poster is try accomplish?
>
Not what the OP asked for, no. Clearing a list implies that list1
should still be bound to the same list (which might be important if
there are other names bound to the same list). If it wasn't important
that it be
John Bokma <[EMAIL PROTECTED]> writes:
> [EMAIL PROTECTED] (Bob Felts) wrote:
>
>> Count me among the clueless, then. I just wrote to DreamHost and asked
>> that they reverse their decision to terminate his account.
>
> I am sure that DreamHost has quite a nice /dev/null for clueless idiots
> li
Looks like an error. I didn't see it the errata:
http://www.oreilly.com/catalog/lpython2/errata/
--
http://mail.python.org/mailman/listinfo/python-list
On 5/26/06, Laszlo Nagy <[EMAIL PROTECTED]> wrote:
> For Windows, you can use the 'runas.exe' program. But it requires a
> password too.
>
> From what you wrote, I think that you need to change architecture. You
> should write your own service rather than write tricky programs. This
> way you can
On 5/26/06, Diez B. Roggisch <[EMAIL PROTECTED]> wrote:
> And as you refrain form telling us which OS you are running under
[Bernard] The network file server is Red Hat Enterprise 4.
The user workstation run through MS Windows XP Pro 32bit SP2,
accessing the file server through Samba.
one
> can
> If this application work on a PC mono-processor, I don't have any
>problems.
>If this application work instead on a PC bi-processor, the process
>elaborates an image "corrupted":
Sounds like you've got some thread synch issue. On a mono-processor
system, your threads are running serially, but on
George Sakkis wrote:
> After a brief search, I didn't find any python package related to OLAP
> and pivot tables. Did I miss anything ? To be more precise, I'm not so
> interested in a full-blown OLAP server with an RDBMS backend, but
> rather a pythonic API for constructing datacubes in memory, sl
Bruno Desthuilliers wrote:
> George Sakkis a écrit :
> > The thing is there are four (at least?) ways to get a dict instance:
> >
> > In [1]: d1={'name':'mike', 'age':23}
> >
> > In [2]: d2=dict(d1)
> >
> > In [3]: d3=dict(**d1)
> >
> > In [4]: d4=dict(d1.items())
> >
> > In [5]: d1==d2==d3==d4
>
On 21 May 2006 02:15:31 -0700, "Xah Lee" <[EMAIL PROTECTED]> wrote,
quoted or indirectly quoted someone who said :
>FACT: Java has no first-class functions and no macros. This results in
>warped code that hacks around the problem, and as the code base grows,
>it takes on a definite, ugly shape, on
Erik Johnson a écrit :
(snip)
> I was thinking it would be clean to maintain an interface where you
> could call things like f.set_Spam('ham') and implement that as self.Spam =
> 'ham'
If all you want to do is to assign 'ham' to self.spam, just do it - no
need for a setter. And if you worry
Doesnt this do what the original poster is try accomplish?
Linnorms example -
>>> list1 = [0,1,2,3]
>>> list1
[0, 1, 2, 3]
>>> list1 = []
>>> list1
[]
>>>
--
http://mail.python.org/mailman/listinfo/python-list
Hi guys,
I've a problem, but very big!
So, i have a python/PIL application that manipulate images ( rotate,
crop, save, etc etc ).
If this application work on a PC mono-processor, I don't have any
problems.
If this application work instead on a PC bi-processor, the process
elaborates an image "cor
I have a program that sucks in a list of equipment positions (Lats/Longs),
opens a Toplevel frame with a canvas set to, for example, 700x480 pixels,
and then does all of the calculations and plots the objects with 10-pixel
wide ovals and rectangles. Now I want to zoom in (or out), but I don't w
[EMAIL PROTECTED] wrote:
> The original post only mentions deleting the values in the list, not
> the list itself. Given that you want to keep the list and just ditch
> the values it contains I'd go with:
>
> list1 = []
Depends what you mean by "keep the list". Consider
class C (object):
"Chris Uppal" <[EMAIL PROTECTED]> wrote:
> [apologies to the whole flaming crowd for sending this to the whole
> flaming crowd...]
>
> Geoffrey Summerhayes wrote:
>
>> After you kill Navarth, will it be nothing but gruff and deedle
>> with a little wobbly to fill in the chinks?
>
> Where does t
1 - 100 of 196 matches
Mail list logo