Skip to content

Commit 0bcccb0

Browse files
committed
rename hhlc to xlc
1 parent 005350b commit 0bcccb0

File tree

8 files changed

+18
-19
lines changed

8 files changed

+18
-19
lines changed

README.md

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
配置文件
2-
======
1+
转换 Excel 文档成为 CSV 和 LUA 格式
2+
===================================
33

4-
* 文档作者: zm
5-
* 最后更新: 2014-12-09
6-
7-
该Python库用于保存和转换黄鹤楼项目中的配置文件。
4+
- 作者: zm [zrong](http://zengrong.net)
5+
- 创建: 2014-12-09
6+
- 修改: 2015-03-04 将模块名称从 hhlc 改为 xlc。
87

98
# 安装
109

@@ -19,34 +18,34 @@ Windows 系统,若 pip 命令不可用,可使用下面的命令:
1918
依赖库文件可以是本地文件或者 url,下面两个地址都可用:
2019

2120
../client/requirements.txt
22-
http://192.168.18.18/project/hhl/tool/requirements.txt
21+
http://192.168.18.18/project/1201/tool/requirements.txt
2322

2423
# 使用
2524

2625
## 作为库使用
2726

28-
### 引用hhlc库
27+
### 引用 xlc 库
2928

30-
import hhlc
29+
import xlc
3130

3231
### 参数说明
3332

34-
* xls
33+
- xls
3534
Excel 文件和配置文件目录
36-
* export
35+
- export
3736
最终文件的输出目录
38-
* tmpl
37+
- tmpl
3938
模版文件的目录
40-
* command
39+
- command
4140
执行的命令, list类型, 传空list表示转换所有配置文件
42-
* ptype
43-
指定转换配置文件的类型, 如all/csv/lua
41+
- ptype
42+
指定转换配置文件的类型, 如 all/csv/lua
4443

45-
hhlc.main(xls, export, command, ptype)
44+
xlc.main(xls, export, command, ptype)
4645

4746
### 转换所有配置文件到export路径
4847

49-
hhlc.main(
48+
xlc.main(
5049
"D:\\works\\hhl\\projects\\config\\xls",
5150
"D:\\works\\hhl\\projects\\config\\export",
5251
"D:\\works\\hhl\\projects\\config\\templates",
@@ -56,7 +55,7 @@ Excel 文件和配置文件目录
5655

5756
### 转换指定的一个或多个配置文件到export路径
5857

59-
hhlc.main(
58+
xlc.main(
6059
"D:\\works\\hhl\\projects\\config\\xls",
6160
"D:\\works\\hhl\\projects\\config\\export",
6261
"D:\\works\\hhl\\projects\\config\\templates",
@@ -66,7 +65,7 @@ Excel 文件和配置文件目录
6665

6766
### 转换指定类型的配置文件, 并指定导出路径
6867

69-
hhlc.main(
68+
xlc.main(
7069
"D:\\works\\hhl\\projects\\config\\xls",
7170
"D:\\works\\hhl\\projects\\config\\export",
7271
"D:\\works\\hhl\\projects\\config\\templates",
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

hhlc/etc.py renamed to xlc/etc.py

File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)