Coder Social home page Coder Social logo

pyexcel's Introduction

##pyExcel是什么? 利用python的win32模块处理excel的工具

目前仅在wps下测试,其他版本office兼容性未经验证

##pyExcel有哪些功能?

  • 新建、打开excel格式文件,自动创建目录
  • 设置程序前台或后台运行
  • 设置excel的页面方向、页边距、页眉、页脚属性
    • 页面方向(纸张方向)包括横向和纵向
    • 页边距包含页面上、下、左、右及页眉、页脚的边距
    • 页眉、页脚支持显示位置、日期、时间、文件名、页码、粗体、斜体等格式
  • 工作表(sheet)操作,包括增加、修改、获取、删除
  • 单元格(cell)操作,包括取值、设值、清除、剪切、复制,合并,取消合并、格式刷
    • 设置单元格样式
      • 粗体、斜体、下划线、字号、字体、颜色、背景色、边框,对齐方式、自动换行、自定义格式
    • 操作相对位置的单元格(偏移量)
  • 行列操作,插入、删除、选择、合并、设置行高列宽、返回行列数据
  • 图片操作,插入、剪切、复制、属性修改、删除、另存为
  • 公式计算,由于python语言本身的计算特性,遂只列出求和、大小写转换功能,以便参考
  • 查找替换,全文查找、块查找、行列查找、查找下一个、替换
  • 打印功能,支持打印预览
    • 设置开始页码和结束页码、设置打印份数,选择指定打印机打印

##有问题请反馈 在使用中有任何问题,欢迎反馈给我,可以用以下联系方式跟我交流

##说明

  • 由于本人接触python时间不长,很多语法特性没有用到,只为快速实现特定功能,代码无法达到pythonic,后期有时间会进行语法重构,请见谅。
  • 文中所有代码均可用于资源传播,但请标明出处,感谢支持!

pyexcel's People

Contributors

xinge1023 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.