Dear developers,
I am creating application (originally written in perl)
which will take care about replication from one system to the another system
over command rsync. It will simulate High-availability solution.
The application will contains main module called like ha.py
and another modules w
I'm totally confused by this code:
Code:
> a = None
> b = None
> c = None
> d = None
> x = [[a,b],
> [c,d]]
> e,f = x[1]
> print e,f
> c = 1
> d = 2
> print e,f
> e = 1
> f = 2
> print c,d
>
> Output:
None None
> None None
> 1 2
>
I'm expecting the code as:
> None None
> 1 2
> 1 2
>
>
W
o install virtualenv?
Thanks,
Stone
--
https://mail.python.org/mailman/listinfo/python-list
two ways to get virtualenv
> > installed:
> >
> > 1) do "sudo apt-get install virtualenv"
> > 2) do "pip3 install virtualenv"
> >
> > What is the preferred way to install virtualenv?
> >
> > Thanks,
> > Stone
>
> Hi St
all
library developer are writing compatible code, is that a fair assumption?
Thanks,
Stone
--
https://mail.python.org/mailman/listinfo/python-list
On Thursday, August 30, 2018 at 10:19:34 PM UTC-7, Terry Reedy wrote:
> On 8/30/2018 10:27 PM, Stone Zhong wrote:
> > Hi there,
> >
> > I think the fact is:
> > - There are still considerable amount of people still using python2
> > - Python2 user will eventual
d, is there a way to do that in python
unit test?
Thanks,
Stone
--
https://mail.python.org/mailman/listinfo/python-list
On Monday, October 29, 2018 at 5:29:11 PM UTC-7, Stone Zhong wrote:
> Hi There,
>
> Now I want to make sure my code calls a function foo with an object t,
> however, foo.assert_called_once_with(t) does not work, since t is a model
> object and the code may load a different copy
On Monday, October 29, 2018 at 5:29:11 PM UTC-7, Stone Zhong wrote:
> Hi There,
>
> Now I want to make sure my code calls a function foo with an object t,
> however, foo.assert_called_once_with(t) does not work, since t is a model
> object and the code may load a different copy
I installed Python 2.7 on SLES 11 box that previously was running Python 2.6.
To do so I used a script described in this post
(http://stackoverflow.com/a/11371726/135946) and run it as a root user.
Everything went well but when it was done I discovered few issues:
1. No symbolic links were crea
On Thursday, August 4, 2016 at 8:54:35 PM UTC-7, Bo Stone wrote:
> I installed Python 2.7 on SLES 11 box that previously was running Python 2.6.
> To do so I used a script described in this post
> (http://stackoverflow.com/a/11371726/135946) and run it as a root user.
> Everything w
uot;
So my guess is, package with shared lib (.so files) cannot be put into zip
file, is it a bug in python zipimport?
The reason I have to use a zip file is, I need it in a spark job, I cannot do
"virtualenv" in pyspark, have to use --py-files to pass the zip file for all
depe
On Thursday, January 17, 2019 at 12:10:51 AM UTC-8, Stone Zhong wrote:
> Hi,
>
> My program depend on package oci, I am using the following command to install
> it:
> pip install oci
>
> Everything works perfect in virtualenv (I am still using python 2.7.x)
>
> N
files... do I
need some version of visual studio ide to do the windows compile? It'd
be great if there was some way to increase the heapsize without all that
bother :)
Tim Stone
--
http://mail.python.org/mailman/listinfo/python-list
greetings
I am a novice who is really interested in contributing to Python projects.
How and where do I begin?
thanking you in anticipation
--
https://mail.python.org/mailman/listinfo/python-list
hello!
thanks a ton for your warm response. I know the basics of python with some
modules like pickle, urllib, re. Its kind of basic I know. but it gotta
start somewhere and I really want to have real world experience.
thanks
jennifer
On Fri, Dec 13, 2013 at 10:45 AM, jennifer stone
wrote
substituted for the refactoring to work.
I hope this helps,
Kathy Van Stone
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
So does anyone know of any equivalent library for testing RESTful web
services.
In particular it needs to be able to handle more than 'GET' or "POST"
http calls.
-Kathy Van Stone
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
If all you are doing is testing that run() works correctly, you could
probably also get away with just calling run() directly instead of
also implicitly testing the Thread class as well.
-Kathy
--
http://mail.python.org/mailman/listinfo/python-list
customers to use face time for additional communication usually
needed beyond specs.
I hope this helps. It sounds like a useful project.
Kathy Van Stone
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
20 matches
Mail list logo