Hi,
How can I unit test a class which using xml elements?
There is a posiibility of different combinations of xml.
What is the better way to test this kind of class?
XML binding is used here.
Share if any examples available.
Thanks.
--
https://mail.python.org/mailman/listinfo/python-list
pe to achieve this?
Thanks and Regards,
Palpandi
--
https://mail.python.org/mailman/listinfo/python-list
,
Palpandi
--
https://mail.python.org/mailman/listinfo/python-list
On Friday, March 18, 2016 at 3:53:58 PM UTC+5:30,
maurice...@telecom-paristech.fr wrote:
> from numpy import random
> x=random.randn(6)
> y=x
> y[0]=12
> print x[0]
>
>
>
> Maurice Charbit
> Emeritus Prof.
> mob.: 33 (0)6 5230 1171
> tel.: 33 (0)1 4581 7178
> fax: 33 (0)1 4581 7144
> maurice.c
On Wednesday, March 16, 2016 at 3:53:48 PM UTC+5:30, Sven R. Kunze wrote:
> Hi,
>
> a colleague of mine (I write this mail because I am on the list) has the
> following issue:
>
>
> for x in my_iterable:
> # do
> empty:
> # do something else
>
>
> What's the most Pythonic way of doi
Hi All,
I have a package structure,
A ( uses files from B and C)
B ( init.py, a,py, b.py)
C ( init.py, c.py, d.py)
How to create a pyd file structure for above package structure?
Is it possible to create a single pyd file?
Do I need cython to run pyd file?
Thanks.
--
https://mail.python.org/ma
On Thursday, December 10, 2015 at 5:08:05 PM UTC+5:30, Chris Angelico wrote:
> On Thu, Dec 10, 2015 at 10:29 PM, Palpandi wrote:
> > Hi All,
> >
> > I am getting the error mentioned below in python 2.5.4.
> >
> > SystemError: \loewis\25\python\Objects\
Hi All,
I am getting the error mentioned below in python 2.5.4.
SystemError: \loewis\25\python\Objects\longobject.c:225: bad argument to
internal function.
I also ran the same code in python 2.7.
There I am not getting this error.
I don't know which causes this error. Any solution for this?
N
Hi All,
Is it better to use pyxb than lxml?
What are the advantages of lxml and pyxb?
Thanks,
Palpandi
--
https://mail.python.org/mailman/listinfo/python-list
Thanks Burak.
lmxl is good. But it is not supported with python 2.5. Any other option?
--
https://mail.python.org/mailman/listinfo/python-list
Hi All,
Is there any module available in python standard library for XML binding? If
not, any other suggestions.
Which is good for parsing large file?
1. XML binding
2. Creating our own classes
Thanks,
Palpandi
--
https://mail.python.org/mailman/listinfo/python-list
Hi All,
This is the case. To split "string2" from "string1_string2" I am using
re.split('_', "string1_string2", 1)[1].
It is working fine for string "string1_string2" and output as "string2". But
actually the problem is that if a sting is "__string1_string2" and the output
is "_string1_string2
On Wednesday, May 6, 2015 at 12:07:13 PM UTC+5:30, Palpandi wrote:
> Hi,
>
> What are the ways to encrypt python files?
No, I just want to hide the scripts from others.
--
https://mail.python.org/mailman/listinfo/python-list
Hi,
What are the ways to encrypt python files?
--
https://mail.python.org/mailman/listinfo/python-list
Hi all,
Can anyone explain about the dependency injection concept in python?
I have a class A. A is used in all other classes(B, C, D, ..). Is it good to
use dependency injection concept in this situation or else any other
suggestions?
Thanks in advance.
--
https://mail.python.org/mailman/li
Hi all,
Is there any way to roll back or undo changes which are all done before
exception occurs.
--
https://mail.python.org/mailman/listinfo/python-list
16 matches
Mail list logo