.org/~esr/faqs/smart-questions.html . It will
help us help you.
> The same problem with 'array' type. Is it a
> result of a default setting maybe?
No.
--
Robert Kern
[EMAIL PROTECTED]
"In the fields of hell where the grass grows high
Are the graves of dreams allow
Hi there,
Currently I have a file with germanic names which are, unfortunately in this format:
B\xf6genschutz
As well as being mixed with those who actually have the correct character's in them.
What I am trying to do is convert the characters in the above format to the correct
format in a text f
Hi there
Can any body help, I wanna to hide input characters from user (when he
enters password)?
I found that for Macintosh you implement 4.12 quietconsole --
non-visible stdout output
Can I do it with Windows?
--
*
Robert Hilkene
DMS
--
*
Robert Hilkene
DMS Group
Puskinova 9a
21000 Novi Sad
Serbia & Montenegro
Phone: +381 21 4746008
Mobile: +381 64 277 19 49
[EMAIL PROTECTED]
http://www.dmsgroup.co.yu/
*
--
in python...
I think Chi^2 tests fall distinctly in the "third-party library" category,
myself.
--
Robert Kern
[EMAIL PROTECTED]
"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
-- Richard Harter
--
http://mail.python.org/mailman/listinfo/python-list
tats methods.
Gary Strangman's stats.py has existed for many years. Of course, it's utility
went up quite a bit when it got integrated into scipy so that it could use
efficient arrays instead of lists and had access to our library of special
functions.
--
Robert Kern
[EMAIL PROTECTED]
"
On 1/18/06, Paul McGuire <[EMAIL PROTECTED]> wrote:
> Looks like a plus sign to me, evoking the idea of "incremental improvement".
> A cross (as in Christian symbol) really has an elongated leg to the bottom.
> But it most closely resembles two snakes (see the little eyes
> at the top and bottom?)
0. , 0.5],
[ 0.5, 0. , 0.5],
[ 1. , 0.5, 0. ]])
In [5]: C = repeat(B, [1,2,1], axis=-1)
In [6]: C
Out[6]:
array([[ 0. , 0.5, 0.5, 1. ],
[ 0.5, 0. , 0. , 0.5],
[ 0.5, 0. , 0. , 0.5],
[ 1. , 0.5, 0.5, 0. ]])
--
Robert Kern
[EMAIL PROTECTED]
&quo
e pexpect-current.tgz tarball is a standard Python Distutil distribution.
1. download pexpect-current.tgz
2. tar zxf pexpect-current.tgz
3. cd pexpect-current
4. python setup.py install
"""
--
Robert Kern
[EMAIL PROTECTED]
"In the fields of hell where the grass gr
index of -1 returns the last value?
> If that were true, I supposed the evaluation would be 1, and thus gives
> the same result.
That is correct.
--
Robert Kern
[EMAIL PROTECTED]
"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
--
boxy440 wrote:
> Anyone? Can setup.py uninstall a package or module
> that it installed?
No.
--
Robert Kern
[EMAIL PROTECTED]
"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
-- Richard Harter
--
http://mail.python.org/mailman
Presumably I need to do
> something with external_attr in ZipInfo, any pointers?
C.f.: http://mail.python.org/pipermail/pythonmac-sig/2005-March/013491.html
--
Robert Kern
[EMAIL PROTECTED]
"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die.&
quot;characters"), so saxutils.XMLGenerator is
treating it as such.
sections are intended for human authoring, not computer authoring.
If you want to keep your sanity, just don't do it.
--
Robert Kern
[EMAIL PROTECTED]
"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
-- Richard Harter
--
http://mail.python.org/mailman/listinfo/python-list
pdated. Could we start a discussion about which package will or
> may or should survive ?
You missed the discussion. The answer is numpy.
http://numeric.scipy.org/
The mailing list is [EMAIL PROTECTED] :
http://sourceforge.net/mail/?group_id=1369
--
Robert Kern
[EMAIL PROTECTED]
"
g. And as incomplete as the old Numeric manual was *for
Numeric*, it and the free documentation that is actually distributed with numpy
and describes the differences between the two goes a long way.
--
Robert Kern
[EMAIL PROTECTED]
"In the fields of hell where the grass grows high
Are the gr
has a
new mechanism to try to alleviate this. You should look at the matrix subclass
in numpy/core/defmatrix.py .
--
Robert Kern
[EMAIL PROTECTED]
"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
-- Richard Harter
--
http://mail.python.org/mailman/listinfo/python-list
J wrote:
> I will just jump in an use NumPy. I hope this one will stick and evolve
> into the mother of array packages.
> How stable is it ? For now I really just need basic linear algebra.
> i.e. matrix multiplication, dot, cross etc
That stuff isn't going to change on you.
Tom Anderson wrote:
> Pardon my failure to RTFM, but does NumPy pick up the vecLib BLAS on Macs?
Yes.
--
Robert Kern
[EMAIL PROTECTED]
"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
-- Richard Harter
--
http://mail.python.org/mai
t an error messages.
You can enter a bug ticket in our Trac after registering. We will need to know
what version of scipy and numpy you are using and the exact error messages that
you are seeing.
http://projects.scipy.org/scipy/scipy
--
Robert Kern
"I have come to believe that the w
ats package and thus has nothing
for
statistical tests. However, scipy has plenty of stats functionality going well
beyond what you've specify.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad at
mclaugb wrote:
> Um, i didnt see at the "more information" link whether "numpy,
> numarray, matplotlib, scipy, and scientific python" was included .
>
There's your answer...
:Robert
--
http://mail.python.org/mailman/listinfo/python-list
tory working with InteractiveConsole on
> Linux?
Be sure that the readline module is installed.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying
Chris Spencer wrote:
> Robert Kern wrote:
>> Chris Spencer wrote:
>>> Why does code.InteractiveConsole support command history on Windows,
>>> but not in a Gnome terminal (all I get is ^[[A^[[B)? Or does it not
>>> support history at all, and the Windows conso
Could anybody tell me how to call python modules from C.
e.g. my Python module :
def add(a,b)
return(a+b)
How can I call "add.py" from C? Please post any simple example.
I have read Python embedding in Python Manual but I get "ImportError"
all the time?
Any help would be appreciated !
feel free to prove me wrong :)
You have it backwards. You are the one making the positive assertion. You get
to
prove yourself correct.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret i
> How do I close the file in the above case?
You rewrite the faulty code such that the above case isn't the above case
anymore.
f = open('foo', 'r')
try:
for line in f:
print line
finally:
f.close()
--
Robert Kern
"I have come to believe that the
, 1, 3, 1, 1, 3, 1, 1, 2, 2, 1, 1, 1, 1, 1, 1, 3, 1,
4, 1, 1, 1, 2, 1, 2, 3, 2, 1, 1, 1, 1, 1, 3, 1, 1, 2, 6, 1, 1, 3, 2,
1, 1, 2, 1, 1, 7, 2, 1, 1, 2, 1, 1, 2, 4, 1, 2, 1, 4, 2, 1, 1, 2, 1,
4, 2, 1, 1, 3, 1, 3, 1])
--
Robert Kern
"I have come to believe that the who
# like 0.
U = 1.0 - random.random()
# Find the corresponding geometric variate by inverting the uniform variate.
G = int(ceil(log(U) / log(1.0 - p)))
return G
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terri
Paul Rubin wrote:
> Robert Kern <[EMAIL PROTECTED]> writes:
>>G = int(ceil(log(U) / log(1.0 - p)))
>
> I usually owuld write that as int(ceil(log(U, 1.0 - p))).
Knock yourself out. I was cribbing from my C implementation in numpy.
--
Robert Kern
"I have come
imized
LAPACK library, and you will have to do some extra steps to get one that works.
See this thread:
http://projects.scipy.org/pipermail/scipy-user/2006-July/008681.html
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible
Tim Heaney wrote:
> I think it's a shame there isn't any free documentation for numpy.
Tosh.
http://www.scipy.org/Tentative_NumPy_Tutorial
http://www.scipy.org/Numpy_Example_List
http://www.scipy.org/doc/numpy_api_docs/numpy.html
--
Robert Kern
"I have come to believe that
d. Some networks
parallelize better than others. Look at the "Performance" link on the site
below.
http://osl.iu.edu/research/pbgl/
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to in
another module.
>
> for example,
> module A
>
> _myvar = 'a local var'
>
> module B
> from A import *
>
> _myvar -- is not available.
>
> Is this in a pep somewhere ?
No; this has been a feature since before the time of PEPs. However, it is
documented
t; /lib64/libreadline.so.5.0
However, these are not the Python readline module. The Suse package for it is
probably called python-readline or something like that.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our
dline?
Oops. Sorry, I missed that part of what you said. Use
$ ./configure --enable-readline
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying trut
minexp= -1022 tiny= 2.2250738585072014e-308
maxexp= 1024 max= 1.7976931348623157e+308
nexp =11 min= -max
-
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigm
Noah wrote:
> I have a list of tuples
> [('a', 1.0), ('b', 2.0), ('c', 3.0)]
> I want to reverse the order of the elements inside the tuples.
> [(1.0,'a'), (2.0, 'b'), (3.0, 'c')]
Python 2.4+:
y = [tuple(reversed(
inside a
>> list comprehension.
>
> Why would you want to do it with list comprehensions?
Because he has a list of tuples and wants to reverse each individual tuple in
the list.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
t
the library; it doesn't need a separate
executable. Or is that what you meant (since one generally never installs the
library without also installing the executable, too)?
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terr
t is called in the
> enclosing scope. After all, if the value of a is invalid, and the value of
> a is set in the enclosing scope, it makes sense to refer to "the object
> known locally as a" by the name it was known as when it was set.
That's what tracebacks are for. You don
e in the language in favor of a new, vague strategy that is usually
uninformative and frequently undefined.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlyi
alled JIRA - never heard before of course)
> for Python itself.
>
> Does this smell "Bitkeeper fiasco" to anyone else than me?
> --
> Giovanni Bajo
No.
Robert
--
http://mail.python.org/mailman/listinfo/python-list
Lawrence D'Oliveiro wrote:
> In message <[EMAIL PROTECTED]>, Robert
> Kern wrote:
>
>> Lawrence D'Oliveiro wrote:
>>> In message <[EMAIL PROTECTED]>,
>>> Connelly Barnes wrote:
>>>
>>>> The main point of autoimp is to m
Larry Bates wrote:
> If you want to
> do vector math or matrix-type calculations look at the
> array module.
The array module in the standard library does not provide such capabilities. If
you need them, look at numpy.
http://numpy.scipy.org
--
Robert Kern
"I have come t
anyone until this thread on c.l.p.!
This is just a rediculous thing to be arguing over, really it is.
Robert
--
http://mail.python.org/mailman/listinfo/python-list
far easier than hard work towards a goal.
>
Hey, that is how this whole thread started! Good observation.
Robert
--
http://mail.python.org/mailman/listinfo/python-list
Giovanni Bajo wrote:
> You might also be understimating how negative could be the reaction from the
> open-source community to such a move.
> --
> Giovanni Bajo
That is simply rediculous. Step away from the kool-aid.
Robert
--
http://mail.python.org/mailman/listinfo/python-list
torage function" function have been remove
> from numpy/f2py ?? how can i change the array storage C to Fortran
> type??
Possibly. Please ask on the numpy list, though.
http://www.scipy.org/Mailing_Lists
--
Robert Kern
"I have come to believe that the whole world is an enigma, a har
, and that grudgingly. Selling
consulting services in any significant amount is probably out of the question.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an under
ling
consulting services in any significant amount is probably out of the question.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
--
http://mail.python.org/mailman/listinfo/python-list
Apologies for the dupe. It looked like something went wrong with the first send
(and the first post was partly incorrect to begin with).
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret
the rest of the Enthought crew on the enthought-dev mailing
list
if you have any questions:
https://mail.enthought.com/mailman/listinfo/enthought-dev
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our ow
Edward Diener No Spam wrote:
> Robert Kern wrote:
>> Edward Diener No Spam wrote:
>>
>>> There's nothing wrong with Python's introspection. In fact Python's
>>> facilities in this area and its support for metadata are stronger than
>>>
tive resources:
>>
>> http://dabodev.com
>> http://case.lazaridis.com/wiki/DaboAudit
>
> Well, then, why not contribute? Or are you waiting for everyone else
> to do it for you?
No, he's just a troll that enjoys telling everyone what to do. Don't try to get
him to contribu
Ilias Lazaridis wrote:
> Robert Kern wrote:
>> No, he's just a troll that enjoys telling everyone what to do. Don't try to
>> get
>> him to contribute anything useful; it won't work.
>
> Mr. Kern! Seeing you working on such a seemingly excellent product
Ilias Lazaridis wrote:
> Robert Kern wrote:
>> Ilias Lazaridis wrote:
>>> Robert Kern wrote:
>>>> No, he's just a troll that enjoys telling everyone what to do. Don't try
>>>> to get
>>>> him to contribute anything useful; it
t.
>
> Does anyone know more?
>
> What about the integrity of the python packages hosted there?
> When was the site compromised?
> I just installed the python 2.5 pywin module last week.
> Should I be concerned?
>
> Is this related to the Python security problem recently
ntrol theory packages, but as
I
neither know what max-plus dioids are, nor have I any current interest in them,
I can't give you any better pointers.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad att
pylab.hist(eig, 10)
Or, if you're at the interactive prompt (but remember that it is inadvisable to
do so in modules):
from matplotlib.pylab import *
[N,x] = hist(eig, 10)
You will probably want to review the section of the tutorial on importing
modules if you don't understand
Lou Pecora wrote:
> In article <[EMAIL PROTECTED]>,
> Robert Kern <[EMAIL PROTECTED]> wrote:
>
>> I presume what you did was something like this:
>>
>>from matplotlib import pylab
>>[N,x] = hist(eig, 10)
>>
>> What you actually wan
uration file:
http://docs.python.org/inst/config-syntax.html
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
--
http://mail.python.org/mailman/listinfo/python-list
s there
> some reason a subscriptable thing like a dict should *not* be callable?
Because you can pass key_dict.get instead. Or even key_dict.__getitem__ if you
don't want the default=None behavior of the .get() method.
--
Robert Kern
"I have come to believe that the whole world i
Lou Pecora wrote:
> In article <[EMAIL PROTECTED]>,
> Robert Kern <[EMAIL PROTECTED]> wrote:
>
>> Lou Pecora wrote:
>>
>>> The only problem I'm having is getting ipython to run. Not installed in
>>> /usr/local/bin (although all o
te
the interface between C/C++ and Python/Tcl.
>
> Holly
>
>
--
Robert Heller -- 978-544-6933
Deepwoods Software-- Linux Installation and Administration
http://www.deepsoft.com/ -- Web Hosting, with CGI and D
on for me to use python (like I have in the past) for
> games or sim apps.
>
> []s
> Robert Heller wrote:
> > At 17 Oct 2006 16:05:40 -0700 [EMAIL PROTECTED] wrote:
> >
> > >
> > > Hi All
> > >
> > > Apologies in advance for the pretty basic
[EMAIL PROTECTED] wrote:
> Thanks Robert,
>
> My previous problem is solved(I was using 'from matplotlib.pylab import
> *') but now I am facing another problem. I want to plot the histogram
> of eigenvalues calculated and I am
;> def __init__(self, val):
>>> assert(isinstance(val, int))
>>> self._val = val
>>>
>>> a = MyInt(10)
>>>
>>> # Here i need to overwrite the assignement operator
>>> a = 12
>>>
>
>> Could the "
th something like the following
section (unindented):
# Uncomment and modify the following section to configure the locations of
the
# Boost and GSL headers and libraries.
#[build_ext]
#include-dirs=/opt/local/include,/usr/local/include
#library-dirs=/opt/local/lib,/usr/local/lib
C
s on the matplotlib-users mailing list instead
of here.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
--
http://mai
all Python 2.5 alongside 2.4, install ZODB, run the test
suite.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
--
http://mail.python.org/mailman/listinfo/python-list
7;t recognizing its inheritence of A's methods get_a and set_a
> during creation.
Inheritance really doesn't work that way. The code in the class suite gets
executed in its own namespace that doesn't know anything about inheritance. The
inheritance rules operate in attribute acces
t pylint is entirely configurable.
If you don't want to be bothered with warnings about map() which you are going
to ignore, a simple modification to the pylint configuration file will prevent
it from doing that check.
--
Robert Kern
"I have come to believe that the who
used them though and browsing through
> the docs didn't make clear if it is possible.
You'll probably want to ask such questions on the numpy list:
http://www.scipy.org/Mailing_Lists
Robert Cimrman has implemented a number of set operations based on sorting.
http://svn.sci
st reduce [len(dir(obj)) for obj in
all_obj].
2. Dynamic languages naturally more lang-maven oriented?
See http://osteele.com/archives/2004/11/ides
III. Programmable
=
1. Config and other "declarative" modes: No "XML sit-ups"
IV. Readable = Simple
===
in range(1000))
> # compute n, sum(x), and sum(x**2) with single pass through list
> n,sumx,sumx2 = reduce(lambda a,b:(a[0]+b[0],a[1]+b[1],a[2]+b[2]), ((1,x,x*x)
> for x in lst) )
> sd = sqrt( (sumx2 - (sumx*sumx/n))/(n-1) )
Don't do that. If you *must* restrict yourself to one pass, t
, something like the following:
>>> from numpy import *
>>> y = [116, 114, 121, 32, 116, 104, 105, 115]
>>> a = array(y, dtype=uint8)
>>> z = a.tostring()
>>> z
'try this'
--
Robert Kern
"I have come to believe that the whole wo
n the context of an if: statement,
they mean that the truth value of the object (found using the special method
.__nonzero__()) is True, not that it is equal to True.
It's a bit of an abuse on the English language, but what isn't in software?
--
Robert Kern
"I have come to believe t
marray import array
>>>> bool(array([1,2]))
> Traceback (most recent call last):
> File "", line 1, in ?
> RuntimeError: An array doesn't make sense as a truth value. Use any(a)
> or all(a).
numpy also has this behavior. Numeric yielded to the temptation to
robert wrote:
> in Gnuplot (Gnuplot.utils) the input array will be converted to a Numeric
> float array as shown below. When I insert a numpy array into Gnuplot like
> that below, numbers 7.44 are cast to 7.0
> Why is this and what should I do ? Is this bug in numpy or in Numeric?
ing) an iterator object to grow a
> 'len' method is the simplest way.
And indeed, they are already allowed to do so.
Python 2.4.1 (#2, Mar 31 2005, 00:05:10)
Type "copyright", "credits" or "license" for more information.
In [1]: len(iter(()))
Out[1]: 0
In [
rceforge and gmane are just horrible to use.
Sorry, I don't think that Google Groups does mirroring like GMane does. While
we
will be migrating the numpy-discussion list away from Sourceforge, it will be
to
the scipy.org server, not Google Groups.
--
Robert Kern
"I have come to belie
Robert Kern wrote:
> George Sakkis wrote:
>> By the way, it would be great if numpy's mailing list was mirrored to a
>> google group; sourceforge and gmane are just horrible to use.
>
> Sorry, I don't think that Google Groups does mirroring like GM
robert wrote:
> I'm using latest numpy & scipy. What is this problem ? :
>
>>>> import scipy.stats
> RuntimeError: module compiled against version 102 of C-API but this
> version of numpy is 109
The scipy binary available on sourceforge has not been re
e fairly standard ways.
http://elmer.sourceforge.net/
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
--
http://mail.python.org/mailman/listinfo/python-list
, -1.15270364e+00-0.41954982j,
-3.37938524e+00-2.83564091j, 5.e-01+0.8660254j ,
3.2062e-02+0.18198512j, 3.2062e-02-0.18198512j,
5.e-01-0.8660254j , -3.37938524e+00+2.83564091j,
-1.15270364e+00+0.41954982j])
--
Robert Kern
"
quot;Enthought
Edition" Python distribution.
http://code.enthought.com/enthon/
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> Robert Kern:
>> We distribute mingw set up to do this with our "Enthought
>> Edition" Python distribution.
>> http://code.enthought.com/enthon/
>
> Sorry, maybe I'm blind but I don't see MinGW listed in that page...
>
se, it looks as if numpy_u == -matlab_u. How do numpy_vt and matlab_vt
compare? Do they also have flipped signs? If so, then there is no problem. (u,
vt) can be replaced with (-u, -vt). The SVD is not unique. Which one you get
depends on the precise operations of the implementation.
--
Robert
Steve Holden wrote:
> Robert Kern wrote:
>> [EMAIL PROTECTED] wrote:
>>
>>> Robert Kern:
>>>
>>>> We distribute mingw set up to do this with our "Enthought
>>>> Edition" Python distribution.
>>>> http://code.enthought.c
t\mingw32\bin\ to your PATH environment variable, and
gcc.exe should be executable.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-
Paul Rubin wrote:
> I hadn't seem this before. New Javascript 1.7 features:
>
> - Generators
> - Iterators
> - Array comprehensions
> - Destructuring assignment
>
> Sounds like another language we know.
>
> http://developer.mozilla.org/en/docs/New_in_JavaScript_1.7
Indeed, this is a consequence o
Magnus Lycka wrote:
> robert wrote:
>> When one follows ..
>> http://docs.python.org/inst/tweak-flags.html#SECTION000622000
>> http://www.zope.org/Members/als/tips/win32_mingw_modules
>>
>> ..this seems only to cover the immediate python dll issues. Wh
robert wrote:
> In past I asked for linking Python2.5 and next Pythons on Win against such
> standard DLL (MSVCRT4 or MSVCRT.DLL)- yet Martin v. Löwis somehow explained
> in
> http://groups.google.de/group/comp.lang.python/msg/fcbe41f9df595c35
> somehow that MSVCRT.dll is n
Thomas Nelson wrote:
> How hard would it be to have numpy/ scipy part of the python standard
> library?
scipy will never, ever be part of the standard library. Some subset of numpy may
eventually make it into the standard library, but not any time soon.
--
Robert Kern
"I have come
unction which only knows about floats and complex floats, it
refuses the temptation to guess what you meant and raises an error.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it ha
)) should
alway be 'ascii'. Otherwise, programs written on one machine will not run on
other machines.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it
ou would want .decode() (which converts a byte string into a Unicode string),
not .encode() (which converts a Unicode string into a byte string). You get
UnicodeDecodeErrors even though you are trying to .encode() because whenever
Python is expecting a Unicode string but gets a byte string, it tries t
John Machin wrote:
> Indeed yourself. Have you ever considered reading posts in
> chronological order, or reading all posts in a thread?
That presumes that messages arrive in chronological order and transmissions are
instantaneous. Neither are true.
--
Robert Kern
"I have come to b
Sheldon wrote:
> This function is there and is called init_mymodule() but I have other
> functions that are not static.
Is the module's name "_mymodule"? Or is it "mymodule"?
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harml
that object.
In [1]: from scipy.sparse import lil_matrix
In [2]: A = lil_matrix((3,3))
In [3]: A[1,2] = 10
In [4]: A[2,0] = -10
In [5]: Acoo = A.tocoo()
In [6]: Acoo.row
Out[6]: array([2, 1])
In [7]: Acoo.col
Out[7]: array([0, 2])
--
Robert Kern
"I have come to believe that the whol
1701 - 1800 of 4166 matches
Mail list logo