There's really not enough information for us to debug this, but one possibility
is that your subprocess is using buffered I/O; you're expecting the external
task to write a string, but it doesn't actually write that string because it's
sitting in a buffer. First thing to try is to see if the pr
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
On Tue, Sep 27, 2011 at 2:28 AM, Wong Wah Meng-R32813
wrote:
> 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.
> File "hash
Yes I did. In fact earlier "make test" failed to execute due to _sha256 not
found in one of the module testing.
Earlier I ignored these failures from the build and make test as I thought they
are not needed by my application. Now I can't use "random" module in my
application. So I need to solv
Hello,
I copy python 2.7.2 folder from other machine to my new installed
Windows XP.
If I run python.exe it would say side by side error, it is caused by
crt environment.
I copy msvc90 runtime and manifest into my folder, python.exe seems
working now.
But when I used 'import FixTk', it would say "d
You're looking for this:
http://www.portablepython.com/wiki/PortablePython2.7.2.1
On Tue, Sep 27, 2011 at 8:48 PM, yixuan wrote:
> Hello,
> I copy python 2.7.2 folder from other machine to my new installed
> Windows XP.
> If I run python.exe it would say side by side error, it is caused by
> crt
Hi,
I work in neuroscience modelling and use python for lots of my work.
One problem I have is management of scripts and results. To that end,
I have
written code that make its easier to keep track of scripts, to see
which ones
have run, or need to be rerun, to see output errors and generally
organ
On Sep 27, 7:01 pm, Alec Taylor wrote:
> You're looking for
> this:http://www.portablepython.com/wiki/PortablePython2.7.2.1
>
>
>
>
>
>
>
> On Tue, Sep 27, 2011 at 8:48 PM, yixuan wrote:
> > Hello,
> > I copy python 2.7.2 folder from other machine to my new installed
> > Windows XP.
> > If I run
On Mon, Sep 26, 2011 at 4:39 PM, Jabba Laci wrote:
> Hi,
>
> I have Python 2.7 on my system. Today I wanted to try Google App
> Engine but it runs on Python 2.5 at Google so I installed this version
> on my machine next to v2.7 to avoid compatibility problems. However,
> when I start the Python sh
I bet that the difference is in the environment settings (PYTHONPATH).
Look here for details how to set it manually:
http://docs.python.org/using/windows.html
Hope it helps,
S.Nizamov
--
http://mail.python.org/mailman/listinfo/python-list
You mean the registered function return value or the process return code?
In the first case you can do something such as:
import atexit
@atexit.register
def cleanup():
def actual_function():
...
return something
ret = actual_function()
# do something with ret
Hi Giampaolo,
Sorry, I didn't explain very clearly.
I have a python file, 'simulation_logger.py', (given below).
Then, in my scripts, I add the following lines to the top,
#simulation1.py:
###
from simulation_logger import SimulationDecorator
SimulationDecorator.Init()
# Rest o
** FINAL CALL **
http://sfbay.craigslist.org/sfc/cls/2495963854.html
-- Forwarded message --
From: wesley chun
Date: Mon, Jul 25, 2011 at 12:32 PM
Subject: ANN: Intro+Intermediate Python course, SF, Oct 18-20
Need to get up-to-speed with Python as quickly and as in-depth as
pos
I don't work with SAS so I have no reason to invest any time developing for it.
Also, as far as I can tell, SAS is far from free or open-source, meaning I
definitely am not interested in developing for it.
My library solves a problem for which there is no existing solution in the
world of Pytho
On 9/27/11 10:24 AM, Tal Einat wrote:
I don't work with SAS so I have no reason to invest any time developing for it.
Also, as far as I can tell, SAS is far from free or open-source, meaning I
definitely am not interested in developing for it.
I don't think he's suggesting that you drop what
On 9/26/11 5:03 PM, Chris Rebert wrote:
On Mon, Sep 26, 2011 at 1:56 PM, TOM wrote:
Tom Gugger
Independent Recruiter
tgug...@bex.net
US Citizens or Greencard
On Site
QA Engineering/ Python/ Contract/ Austin, TX
This is an immediate start, such as next week. I need three
contractors
Such p
On 9/27/11 9:37 AM, Mike Hull wrote:
Hi Giampaolo,
Sorry, I didn't explain very clearly.
I have a python file, 'simulation_logger.py', (given below).
Then, in my scripts, I add the following lines to the top,
#simulation1.py:
###
from simulation_logger import SimulationDecorat
In the following code,
>>> l=[1,2,3,4,5]
>>> i=0
>>> for a in l:
... p=2*a
... t=p+i
... i=t
...
>>> t
45
Python gives an answer as 45. But i am getting 30 when i execute
manually. Is there any different multiplication pattern in python?
Thank yu.
--
http://mail.python.org/mailman/lis
Robert Kern wrote:
> On 9/27/11 10:24 AM, Tal Einat wrote:
>> I don't work with SAS so I have no reason to invest any time developing
>> for it.
>>
>> Also, as far as I can tell, SAS is far from free or open-source, meaning
>> I definitely am not interested in developing for it.
>
> I don't think
On Tue, Sep 27, 2011 at 10:21 AM, sakthi wrote:
> In the following code,
l=[1,2,3,4,5]
i=0
for a in l:
> ... p=2*a
> ... t=p+i
> ... i=t
> ...
t
> 45
>
> Python gives an answer as 45. But i am getting 30 when i execute
> manually. Is there any different multiplicati
On Sep 27, 1:21 pm, sakthi wrote:
> In the following code,>>> l=[1,2,3,4,5]
> >>> i=0
> >>> for a in l:
>
> ... p=2*a
> ... t=p+i
> ... i=t
> ...>>> t
>
> 45
>
> Python gives an answer as 45. But i am getting 30 when i execute
> manually. Is there any different multiplication pattern i
I tried running your code in ipython:
In [1]: l = [1,2,3,4,5]
In [2]: i = 0
In [3]: for a in l:
...: p = 2 * a
...: t = p + i
...: i = t
...:
In [4]:
In [4]: t
Out[4]: 30
The output from Python was 30, not 45. What Python version are you
running?
On Sep 27, 6:21 pm, sakth
On 09/27/2011 10:21 AM, sakthi wrote:
In the following code,
l=[1,2,3,4,5]
i=0
for a in l:
... p=2*a
... t=p+i
... i=t
...
t
45
Python gives an answer as 45. But i am getting 30 when i execute
manually. Is there any different multiplication pattern in python?
Thank yu.
I think
On Sep 27, 1:43 pm, Chris Rebert wrote:
> On Tue, Sep 27, 2011 at 10:21 AM, sakthi wrote:
> > In the following code,
> l=[1,2,3,4,5]
> i=0
> for a in l:
> > ... p=2*a
> > ... t=p+i
> > ... i=t
> > ...
> t
> > 45
>
> > Python gives an answer as 45. But i am getting
In my python 3.2, no problem:
>>> l=[1,2,3,4,5]
>>> i=0
>>> for a in l:
... p=2*a
... t=p+i
... i=t
... print("p={}, t={}, i={}".format(p,t,i))
...
p=2, t=2, i=2
p=4, t=6, i=6
p=6, t=12, i=12
p=8, t=20, i=20
p=10, t=30, i=30
>>> t
30
>>>
paz e amor (love and peace),
Alysson Bruno
Palmas(
I think you may be doing something wrong.
If I run:
>>> l = [1, 2, 3, 4, 5]
>>> i = 0
>>> for a in l:
...i += 2 * a
...
>>> i
30
The result is 30 as expected.
Nowhere near the 155 that you are getting. :/
Again, could you state which version of python are you using (and what
OS) so
Steven D'Aprano wrote:
> I googled on "SAS PROC FREQ" and found this:
>
http://support.sas.com/documentation/cdl/en/procstat/63104/HTML/default/procstat_freq_sect006.htm
>
> All the words are in English, but I have no idea what the function does,
> how you would call it, and what it returns. Woul
On Sep 27, 4:59 pm, Robert Kern wrote:
> On 9/27/11 9:37 AM, Mike Hull wrote:
>
>
>
>
>
>
>
>
>
> > Hi Giampaolo,
> > Sorry, I didn't explain very clearly.
> > I have a python file, 'simulation_logger.py', (given below).
> > Then, in my scripts, I add the following lines to the top,
>
> > #simulat
On 9/27/2011 12:50 PM, sakthi said this:
> On Sep 27, 1:43 pm, Chris Rebert wrote:
>> On Tue, Sep 27, 2011 at 10:21 AM, sakthi wrote:
>>> In the following code,
>> l=[1,2,3,4,5]
>> i=0
>> for a in l:
>>> ... p=2*a
>>> ... t=p+i
>>> ... i=t
>>> ...
>> t
>>> 45
>>
>>> Py
On Sep 27, 6:33 pm, Steven D'Aprano wrote:
> Robert Kern wrote:
> > On 9/27/11 10:24 AM, Tal Einat wrote:
> >> I don't work with SAS so I have no reason to invest any time developing
> >> for it.
>
> >> Also, as far as I can tell, SAS is far from free or open-source, meaning
> >> I definitely am n
On Sep 27, 1:51 am, DevPlayer wrote:
> By the way OP Passiday the title of the topic is "Suggested coding
> style".
>
> Are you suggesting a coding style or asking for a Python coding style
> or are you asking what IS the Python coding style.
>
> If you are asking what is the Python coding style.
How do I install Python 2.6.7 on Windows? The Python 2.6.6 page says
"Python 2.6.6 has been replaced by a newer security-fix only source
release of Python. Please download Python 2.6.7 instead."
But there is no windows installer on the 2.6.7 page. Do I install
2.6.6 first and then update to 2.6.7
On 27 September 2011 21:54, Wanderer wrote:
> How do I install Python 2.6.7 on Windows? The Python 2.6.6 page says
>
> "Python 2.6.6 has been replaced by a newer security-fix only source
> release of Python. Please download Python 2.6.7 instead."
>
> But there is no windows installer on the 2.6.7
On Tue, Sep 27, 2011 at 15:54, Wanderer wrote:
> How do I install Python 2.6.7 on Windows? The Python 2.6.6 page says
>
> "Python 2.6.6 has been replaced by a newer security-fix only source
> release of Python. Please download Python 2.6.7 instead."
>
> But there is no windows installer on the 2.6
On Sep 27, 9:54 pm, Wanderer wrote:
> How do I install Python 2.6.7 on Windows? The Python 2.6.6 page says
>
> "Python 2.6.6 has been replaced by a newer security-fix only source
> release of Python. Please download Python 2.6.7 instead."
>
> But there is no windows installer on the 2.6.7 page. Do
On Sep 27, 5:19 pm, becky_lewis wrote:
> On Sep 27, 9:54 pm, Wanderer wrote:
>
> > How do I install Python 2.6.7 on Windows? The Python 2.6.6 page says
>
> > "Python 2.6.6 has been replaced by a newer security-fix only source
> > release of Python. Please download Python 2.6.7 instead."
>
> > But
The deadline for PyCon 2012 tutorial, talk, and poster proposals is
under 15 days away, so be sure to get your submissions in by October
12, 2011. Whether you’re a first-timer or an experienced veteran,
PyCon is depends on you, the community, coming together to build the
best conference schedule po
i'm looking for oauth2 server implementation but other than
https://github.com/simplegeo/python-oauth2 (oauth v1 implementation)
it doesn't seem that people are using v2 implementations.
anybody using some oauth2 implementation and can share some info?
Aljosa Mohorovic
--
http://mail.python.org/
En Tue, 27 Sep 2011 06:08:54 -0300, Wong Wah Meng-R32813
escribió:
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
In article
<4c93ff75-1d85-48ec-b6d1-b71f216c6...@g33g2000yqc.googlegroups.com>,
Aljosa Mohorovic wrote:
> i'm looking for oauth2 server implementation but other than
> https://github.com/simplegeo/python-oauth2 (oauth v1 implementation)
> it doesn't seem that people are using v2 implementations
On Tue, Sep 27, 2011 at 16:32, Wanderer wrote:
> I think it is strange to release a security update but not really expect
> people
> to use it.
We expect that people who need 2.6 but won't move to 2.7, and at the same
time are vulnerable to the security issue(s), would be able to compile
Python
On 9/27/2011 5:32 PM, Wanderer wrote:
I need to stay in sink with the rest of the company which is still
using 2.6 flavors. There was some investigation into going to Python 3
but not enough of the libraries we use were available. I'll install
2.6.6. I don't think the security stuff really effec
Steven D'Aprano wrote:
> I googled on "SAS PROC FREQ" and found this:
>
> http://support.sas.com/documentation/cdl/en/procstat/63104/HTML/defau...
>
> All the words are in English, but I have no idea what the function does, how
> you would call it, and what it returns. Would it have been so hard t
rantingrick wrote:
> Since, like the bible
> the zen is self contradicting, any argument utilizing the zen can be
> defeated utilizing the zen.
And like the Bible, the Zen was created by humans as a joke. If you're
taking it too seriously, that's your problem.
> If however you want to learn abou
On Tue, 27 Sep 2011 14:32:43 -0700, Wanderer wrote:
> I need to stay in sink with the rest of the company which is still using
> 2.6 flavors. There was some investigation into going to Python 3 but not
> enough of the libraries we use were available. I'll install 2.6.6. I
> don't think the securit
sakthi wrote:
>In the following code,
l=[1,2,3,4,5]
i=0
for a in l:
>... p=2*a
>... t=p+i
>... i=t
>...
t
>45
>
>Python gives an answer as 45. But i am getting 30 when i execute
>manually. Is there any different multiplication pattern in python?
My guess is that y
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
[mailt
48 matches
Mail list logo