~ubuntu-branches/ubuntu/wily/openpyxl/wily-proposed

« back to all changes in this revision

Viewing changes to doc/source/usage.rst

  • Committer: Package Import Robot
  • Author(s): Yaroslav Halchenko
  • Date: 2012-04-12 11:20:11 UTC
  • mfrom: (1.1.7)
  • Revision ID: package-import@ubuntu.com-20120412112011-rsgvbh5353dfiwz6
Tags: 1.5.8-1
* Fresh upstream release
  - fixes unittests failures in upcoming pandas 0.7.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
------------------
6
6
::
7
7
 
8
 
    from openpyxl.workbook import Workbook
 
8
    from openpyxl import Workbook
9
9
    
10
10
    from openpyxl.cell import get_column_letter
11
11
    
34
34
-----------------------------
35
35
::
36
36
 
37
 
    from openpyxl.reader.excel import load_workbook
 
37
    from openpyxl import load_workbook
38
38
 
39
39
    wb = load_workbook(filename = r'empty_book.xlsx')
40
40
    
48
48
::
49
49
 
50
50
    import datetime
51
 
    from openpyxl.workbook import Workbook
 
51
    from openpyxl import Workbook
52
52
    
53
53
    wb = Workbook()
54
54
    ws = wb.worksheets[0]