t least
something here.
Judging from the questions and the code quality you post here, it is only a
matter of time before accidents happen.
Maarten
--
https://mail.python.org/mailman/listinfo/python-list
error messages. The solution by Nobody is fairly foolproof, and the
logic is clear. What's not to like?
Maarten
--
https://mail.python.org/mailman/listinfo/python-list
andard scripts starting with "#!/usr/bin/env python" will find your python.
Next your users will probably start requesting additional packages (regex,
lxml, numpy, scipy, matplotlib, ... depending on what they actually do).
Maarten
--
http://mail.python.org/mailman/listinfo/python-list
del i
3616.691 MB 0.000 MB gc.collect() # nothing change if I
comment this
If I make the two functions identical, the behave the same.
Maarten
--
http://mail.python.org/mailman/listinfo/python-list
t; not rely on NumPy and/or SciPy and is written pure Python (no C code)?
>
>
> If Google can't find it, it probably doesn't exist. Very few people would do
> this without numpy.
A trivial 'pure python spline' google search yields this:
http://urchin.earth.li/~twic/splin
y
import numpy as np
np.random.uniform(0, 5, 100)
# note that the values are from the interval [0, 5)
Maarten
--
http://mail.python.org/mailman/listinfo/python-list
as I know the GPSBabel sources are the only
public description of the gdb file format. It is not trivial, but restricting
yourself to the parts needed for the application may provide some shortcuts.
Maarten - pay more, get less: way to go.
--
http://mail.python.org/mailman/listinfo/python-list
#x27;m guessing the
> level of effort will be huge?
I assume that you've looked into GPSBabel? http://www.gpsbabel.org/
Maarten
--
http://mail.python.org/mailman/listinfo/python-list
gt; which is the proper thing to do (assuming both variables are measured in
> the same units).
In that case use an appropriate algorithm to perform the fit. ODR comes to
mind. http://docs.scipy.org/doc/scipy/reference/odr.html
Maarten
--
http://mail.python.org/mailman/listinfo/python-list
d month, and, um,
> what?
>
> Or do you Australians have the third day of the fourteenth month?
You just missed it:
22/7
Maarten
--
http://mail.python.org/mailman/listinfo/python-list
gt; But, if I "run" the pwd.py script by selecting the "Run" option from the IDE
> menu, the directory is printed *twice* in the output window. Why is that?
I'd say this is a bug or feature of the IDE. If I use ipython I get:
In [1]: %run mypwd
/nobackup/users/maarte
uot;In B" on two lines)
c = C() (prints "In A", "In C" on two lines)
Hope this helps.
Maarten
--
http://mail.python.org/mailman/listinfo/python-list
arguments, not keyword-
parameters. That alone makes a world of difference.
Maarten
--
http://mail.python.org/mailman/listinfo/python-list
base64.decodestring(base64.b64encode('aaa'))
'aaa'
>>> 'aaa'.encode('base64').decode('base64')
'aaa'
(so far so good, and as expected)
>>> base64.decodestring('aaa'.encode('base64'))
'aaa'
>>> base64.b64encode('aaa').decode('base64')
'aaa'
(As far as I can see, both methods are completely consistent)
Maarten
--
http://mail.python.org/mailman/listinfo/python-list
file and field within that
file. Keep in mind though that I mostly work with externally created
HDF-5 files, not with files created in pytables. PyTables Pro has an
indexing feature which may be helpful for datamining (if you write the
hdf-5 files from python).
Maarten
--
http://mail.python.org/mailman/listinfo/python-list
are
>> spreading their racist ideology -- The Apartheid "Christianity" :
>
>
> The Dutch went back to Denmark?
Sure, Copenhagen is the capital of the Netherlands, any American
school child knows that.
--
Maarten Bergvelt
--
http://mail.python.org/mailman/listinfo/python-list
all MY batteries
included :-).
BTW, I have the impression that MATLAB and SciPy have about the same
performance.
Cheers, Maarten
--
===
Maarten van Reeuwijkdept. of Multiscale Physics
Phd s
t.doSomething()
Or change just one student:
listWithStudent[23].doSomething() # this is the 24th student though!!!
Hope this is what you're looking for.
Maarten
--
http://mail.python.org/mailman/listinfo/python-list
In article <[EMAIL PROTECTED]>,
Thomas Guettler <[EMAIL PROTECTED]> wrote:
> Am Wed, 07 Jun 2006 14:54:41 +0200 schrieb Maarten van Veen:
>
> > A long story made short, I've build a python/cgi website consisting of
> > two pages. Page1 has a html form
when embedded in page1.cgi, page 1 waits till the search is
finished, resulting in a browser timeout when big queries are done. It
was this problem in the first place why I split up the page in two and
added Popen.
Does anybody know how to get the page not waiting on Popen to finish?
thnx
Ma
non utilities of my camera refused to work for me, as did
Audacity. I didn't encounter any other problems, but that was enough
for me.
As to UFS: it is apparently way slower than HFS+, and only recommended
in special cases, most of which are now advised to use Case-sensitive
HFS+, I believ
(file);
py_compile.compile(file);
--
===
Maarten van Reeuwijkdept. of Multiscale Physics
Phd student Faculty of Applied Sciences
maarten.ws.tn.tudelft.nl Delft University of Technology
--
http://mail.python.org/mailman/listinfo/python-list
e tcl/tk is installed (there is a
nice binary installer in the mac os x downloads section at apple.com
Maarten
--
http://mail.python.org/mailman/listinfo/python-list
setup.py build_ext --inplace' had been called from the command line,
since that seems to pick up the correct options.
- Where do I start: distutils is pretty large, and it seems to have
the right options, but they just aren't used in PyBison.
Thanks in advance for any insights that get me going,
Maarten
Links:
[1] http://www.freenet.org.nz/python/pybison/
[2] http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/
--
http://mail.python.org/mailman/listinfo/python-list
In article <[EMAIL PROTECTED]>,
"Lucas Machado" <[EMAIL PROTECTED]> wrote:
> I'm writing a python script that modifies the smb.conf file, and i need
> to write the characters '%U' in the file.
print "%s = %%U" % "a" yields a =
lt.
> So Any body know regarding this Kindly mail me
> with example.
RTFM: http://www.python.org/doc/2.3.4/lib/re-syntax.html
(What you want is described under the (?iLmsux) heading)
or http://www.python.org/doc/2.3.4/lib/node106.html
Maarten
--
http://mail.python.org/mailman/listinfo/python-list
worse than adopt the Apple .plist format. There
is already a pure python module for these:
http://sarwat.net/opensource/
The advantage of the plist module is that the type of the variables is
stored as well, and that you can store complex variables (lists,
dictionaries) without mangling.
Maar
27 matches
Mail list logo