No Hacker is a Bandit

When bankers in suits can lose billions, and be bailed out by tax payer money and pay themselves and each other millions- why should the common man , the middle class be left out of the gravy train that economic productivity created by digital revolutions.

A hacker is a highly skilled person, why should he be exploited for visas, billing rates, sub contracting but have no recourse in normal outdated legal processes

If spies can hack ala Stuxnet and get golden medals

If companies can hack and be rewarded by IPOs

Why cant humans hack and be rewarded for it

Hackers and malware creators are highly talented individuals who have been failed with the system, one in which corporations and governments collude for deliberate vulnerabilities on unsuspecting tax paying software buying people

No Linux user is complaining of a virus if you noticed. But you cant sue people for defective software. Yet!

Find all csv files in a folder using Python and R

R

dir(pattern=’csv’)

Python

In [5]:
import os
import glob
In [6]:
os.getcwd()
Out[6]:
'C:\\Users\\Dell'
In [7]:
path = 'C:\\Users\\Dell\\Downloads'
In [8]:
extension = 'csv'
os.chdir(path)
In [9]:
result = [i for i in glob.glob('*.{}'.format(extension))]
print(result)
['AirPassengers.csv', 'BigDiamonds.csv', 'Boston (1).csv', 'Boston.csv', 'ccFraud.csv', 'class2.csv', 'data1.csv', 'datasets.csv', 'Diamond (1).csv', 'Diamond (2).csv', 'Diamond (3).csv', 'Diamond (4).csv', 'Diamond (5).csv', 'Diamond (6).csv', 'Diamond.csv', 'Hdma.csv', 'Hedonic.csv', 'pgd.csv', 'protein.csv', 'RidingMowers.csv', 'sales-of-shampoo-over-a-three-ye.csv', 'telecom.csv']