Comments (1)
usage
@Spinner("Saving into csv file", frames=SPIN5)
def save2csv(cvedata):
logging.info("{} {}".format("writing", len(cvedata.keys())))
with open('CVE.csv', 'wb') as filebuf:
writer = csv.writer(filebuf)
writer.writerow(['Name', 'Version', 'Path', 'CVE', 'CVE fixed day'])
for key in cvedata.keys():
#row = [key[0], key[1], key[2], cvedata[key], key[3]]
cve_tmp = cvedata[key]
logging.debug("{}".format(cve_tmp))
if not cve_tmp:
continue
row = [cve_tmp.keys()[0][0], cve_tmp.keys()[0][1],
key, cve_tmp.values()[0], cve_tmp.keys()[0][2]]
writer.writerow(row)
from toolkitem.
Related Issues (20)
- TODO List HOT 1
- customized encrypt and decrypt python module HOT 5
- blog management tools HOT 3
- dirlist architecture design HOT 6
- tool to update the forked repository in github HOT 4
- Rewrite README HOT 1
- hexo template tool upgrade for order the source *.md file with 0x000* format HOT 1
- pylint check problem
- re-write weather module for toolkitem HOT 1
- add continuous integration for this repo
- IMA check tool
- simulate npm spinner HOT 1
- optimize files line counter method with concurrence HOT 2
- update README.md type setting HOT 1
- deploy to PyPI HOT 1
- add exclude path option in ListDir HOT 1
- customized logging module HOT 1
- Update fileprocess directory iterator method HOT 1
- zip python into app
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from toolkitem.