Hi, there,
I got different results by running the same lines of code on windows and
debian. Here is the code:
a = kroneckerproduct(ones((4195,1)), identity(12))
print a.mean()
This works perfectly well in windows but it gave the following error while
running it in debian:
Traceback (most recen
Good day all,
I am looking for a good cloud platform to do all my python development for
machine learning with GPU availability, so far I have used Amazon ec2,
google colab, kaggle etc but none of them was very satisfactory.
Anyone has good experience with other options? please share and TIA
Den
Hi all,
I just finished reading Learning Python 3rd ed, and am doing my
first Python application, which retrieves and process text and XML
documents from Web. Python helped me to write the application in a few
hours, I'm very happy with its productivity. But the performance is not
satisfacto
Bart,
I'm sorry, it's 2nd edtion.
Thanks.
mike
BartlebyScrivener 写道:
> >> I just finished reading Learning Python 3rd ed,
>
> For real? I thought there was only a 2nd edition.
>
> http://www.oreilly.com/catalog/lpython2/
--
http://mail.python.org/mailman/listinfo/python-list
Hi all,
I'm learning Twisted and downloaded pyOpenSSL and pycrypto win32
installer on http://twisted.sourceforge.net/contrib/ . But I find the
lastest version are for Python 2.3. I try to rebuild pyOpenSSL from
source, but get lots of compile errors. Are these two packages
obsolated? Where ca
n x509v3.h.
My C++ compiler is Visual C++ 7.1. Should I use older OpenSSL release?
Terry Reedy 写道:
> "Mike Meng" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>
> >I'm learning Twisted and downloaded pyOpenSSL and pycrypto win32
> >
ODELAY, 1 )
self.sock.connect( self.server_address )
Regards,
Wah Meng
--
http://mail.python.org/mailman/listinfo/python-list
Hello there,
I have posted this in Compiler SIG and re-post here in case anyone who knows
about this issue is not subscribed to that group.
I am working on python build on my server using HP-UX ANSI C Compiler. I want
to be consistent using aCC throughout instead of gcc for my python and
cx_O
Hello all,
I encounter this issue whereby I am not able to load cPickle module into the
python I newly built. There is no issue when I load it right from the folder
where the python executable and libpython2.7.so is built. However, it gives me
this error when I load the same module using the in
I just built python 2.7.1 on my HP Itanium 64-bit platform, using aCC. I
encountered following issue when importing the random module. Does anyone know
why am I getting this error? Thanks in advance for your reply.
$ python
Python 2.7.1 (r271:86832, Sep 27 2011, 15:19:26) [C] on hp-ux11
Type "h
o build these modules:
_ctypestermios
Regards,
Wah Meng
-Original Message-
From: ch...@rebertia.com [mailto:ch...@rebertia.com] On Behalf Of Chris Rebert
Sent: Tuesday, September 27, 2011 5:52 PM
To: Wong Wah Meng-R32813
Cc: python-list@python.org
Subje
Thanks Gabriel,
Indeed, there is corrupted copy_reg.py file residing in my $PYTHONPATH folder,
as opposed to the standard one from the installed package. Thanks a lot for
your helps!
Regards,
Wah Meng
-Original Message-
From: python-list-bounces+wahmeng=freescale@python.org
Hello there,
I couldn't detect this problem until I run my application that utilizes thread
module in python that I just built on HP-UX 11.31 ia64 using aCC.
Could it be the build did not include enable thread option? _REENTRANT as
stated in the README file? If yes, it looks like threading may
eate in -lpthread
configure:8572: cc +DD64 -I/home/r32813/local/include -o conftest -g
-L/home/r32813/local/lib -L/home/r32813/Build/2.7.1/Python-2.7.1 conftest.c -l
nsl -lrt -ldld -ldl -lpthread >&5
Regards,
Wah Meng
Genesis Wafermap Support Ticket:
To report a problem:
http://dyno.fre
x27;,))
Does it mean in newer python I need to migrate all my Exception to non-string
based exception type? That's should be a lot of changes. :p
Regards,
Wah Meng
--
http://mail.python.org/mailman/listinfo/python-list
Noted. No choice then, I will convert all my raise statement to use the
exception instance. Thanks!
Regards,
Wah Meng
-Original Message-
From: ch...@rebertia.com [mailto:ch...@rebertia.com] On Behalf Of Chris Rebert
Sent: Monday, October 03, 2011 3:46 PM
To: Wong Wah Meng-R32813
Cc
I see. Thanks for the tips. If I run out of time I shall consider only using
2.5.
Regards,
Wah Meng
-Original Message-
From: python-list-bounces+wahmeng=freescale@python.org
[mailto:python-list-bounces+wahmeng=freescale@python.org] On Behalf Of
Steven D'Aprano
Sent: M
.
exec('def %s(self, *args, **kw): pass'%methodStrName)
SyntaxError: unqualified exec is not allowed in function '_exposeMethods' it
contains a nested function with free variables
Regards,
Wah Meng
--
http://mail.python.org/mailman/listinfo/python-list
next error I see is due to I
commented out this code.
Thanks!
Regards,
Wah Meng
-Original Message-
From: ch...@rebertia.com [mailto:ch...@rebertia.com] On Behalf Of Chris Rebert
Sent: Tuesday, October 04, 2011 4:26 PM
To: Wong Wah Meng-R32813
Cc: python-list@python.org
Subject: Re: Is
_func_name)
File
"/home/r32813/genesis/GEN_DEV_271/Enablers/Python/lib/python2.7/hashlib.py",
line 74, in __get_builtin_constructor
import _sha256
ImportError: No module named _sha256
>>>
Regards,
Wah Meng
--
http://mail.python.org/mailman/listinfo/python-list
gt; server_address=('zmy02hp3', 1)
>>> sock.bind(server_address)
>>> sock.getsockname()
(0, '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')
In python 1.5.2
>>> server_address=('zmy02aix04', 1)
>>> sock.bind(server_address)
>>> sock.getsockname()
('10.228.51.41', 1)
>>>
Regards,
Wah Meng
--
http://mail.python.org/mailman/listinfo/python-list
of the process and
wasn't aware it was essential as excluding it cost me the junk I was seeing.
Problem solved!! Thanks a lot for reverting. :)
Regards,
Wah Meng
-Original Message-
From: python-list-bounces+wahmeng=freescale@python.org
[mailto:python-list-bounces+wahmeng=free
call last):
File "", line 1, in
File "Tclinter.py", line 5, in
import _tclinter # If this fails your Python is not configured for Tcl
ImportError: No module named _tclinter
>>> import _tclinter
Traceback (most recent call last):
File "&quo
questReply
reply = self._receive()
File "C:\genesis\Product\Lib\RMI.py", line 1677, in _receive
raise ServerReplyTimeout( self.reply_timeout)
ServerReplyTimeout: 300
Regards,
Wah Meng
--
http://mail.python.org/mailman/listinfo/python-list
Hello there,
I am using python 2.7.1 built on HP-11.23 a Itanium 64 bit box.
I discovered following behavior whereby the python process doesn't seem to
release memory utilized even after a variable is set to None, and "deleted". I
use glance tool to monitor the memory utilized by this process.
Wednesday, March 06, 2013 6:25 PM
To: python-list@python.org
Cc: python-list@python.org
Subject: Re: Set x to to None and del x doesn't release memory in python 2.7.1
(HPUX 11.23, ia64)
On Wednesday, March 6, 2013 10:11:12 AM UTC, Wong Wah Meng-R32813 wrote:
> Hello there,
>
>
>
he OS itself (in this case
HP-UX) to clean it up as after python removes the reference to the address of
the variables the OS still thinks the python process should still owns it until
the process exits.
Regards,
Wah Meng
-Original Message-
From: Python-list [mailto:python-list-bounces+wa
Python does not guarantee to return memory to the operating system.
Whether it does or not depends on the OS, but as a general rule, you should
expect that it will not.
for i in range(10L):
> ... str=str+"%s"%(i,)
You should never build large strings in that way. It risks being
nd my concerns and
release the allocation when I issue gc.collect() or the gc.collect() takes
place. :)
On Thu, Mar 7, 2013 at 5:33 PM, Wong Wah Meng-R32813
wrote:
> [] The example is written for illustration purpose. Thanks for
> pointing out a better way of achieving the same res
If the memory usage is continually growing, you have something else
that is a problem -- something is holding onto objects. Even if Python is not
returning memory to the OS, it should be reusing the memory it has if objects
are being freed.
--
[] Yes I have verified my python applicat
30 matches
Mail list logo