Re: Compare files excel

2017-07-22 Thread Albert-Jan Roskam
(sorry for top posting) Try: df1['difference'] = (df1 == df2).all(axis=1) From: Python-list on behalf of Smith Sent: Saturday, July 22, 2017 7:47:59 AM To: python-list@python.org Subject: Compare files excel Hello to all, I should compare two excel files with p

Downloading a file with Python 2

2017-07-22 Thread Peter Otten
Rahul Sircar wrote: > I wrote my code for downloading a file 'Metasploitable' using urllib2.But > it seems to have entered infinite loop.Because the screen is blank.It just > hangs there. It "hangs", i. e. doesn't give any feedback while the data is retrieved. > Please have a look at my code. >

[no subject]

2017-07-22 Thread Rahul Sircar
I wrote my code for downloading a file 'Metasploitable' using urllib2.But it seems to have entered infinite loop.Because the screen is blank.It just hangs there.Please have a look at my code. import urllib2 file = 'metasploitable-linux-2.0.0.zip' url=' https://downloads.sourceforge.net/project/met

Re: How do you do deep input data validation?

2017-07-22 Thread justin walters
On Sat, Jul 22, 2017 at 2:01 AM, Amirouche Boubekki < amirouche.boube...@gmail.com> wrote: > It seems that aiohttp recommends using one of trafaret, colander or > jsonschema > >. > I am not very familiar with those librari

How do you do deep input data validation?

2017-07-22 Thread Amirouche Boubekki
It seems that aiohttp recommends using one of trafaret, colander or jsonschema . I am not very familiar with those libraries. I am wondering what's the rational behind this choice. Why is trafaret the first in this list? Is

Compare files excel

2017-07-22 Thread Smith
Hello to all, I should compare two excel files with pandas. Who can help me? Do you have any links? i tried this, but not working import pandas as pd df1 = pd.read_excel('excel1.xlsx') df2 = pd.read_excel('excel2.xlsx') difference = df1[df1!=df2] print (difference) Thank you -- https://mail.p