Skip to content

Commit 04d6e54

Browse files
committed
Documentation
1 parent 21c6afb commit 04d6e54

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

untitled.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# ExcelToSQL
2+
This a program written in python that take an xls file as a input, generate csv code for each sheet stored, and generate SQL insertion code.
3+
Some of the cool features including
4+
5+
- checking if the file exist or not and then create or wipe the file if necessary
6+
- check the datatype and parse string and int differently
7+
8+
# How to use
9+
- There are three ways to download the file:
10+
1. Download the repo as a zip.
11+
2. Download the <code>run.py</code> file only.
12+
3. Or clone the repo by typing the following command into your terminal:
13+
14+
15+
```
16+
git clone https://github.com/zhang96/ExcelToSQL
17+
```
18+
Install the require modules including:
19+
20+
- xlrd
21+
- pandas
22+
23+
Put the spreadsheet file in the folder and name it as data.xls, make sure it ends with xls not xlsx.
24+
25+
- There are two ways to run the file:
26+
1. Run the file IDLE or other IDEs.
27+
2. Set the directory in the terminal and then type the following command into the terminal
28+
```
29+
python run.py
30+
```
31+
#Author
32+
zhang96
33+
34+
#License
35+
MIT, see LICENSE.txt.

0 commit comments

Comments
 (0)