Python – Learn a New Skill Today: Lab 2: Business Expenses

iebukes 未分类 143 次浏览 没有评论
Python – Learn a New Skill Today: Lab 2: Business Expenses Front Cover

Python – Learn a New Skill Today: Lab 2: Business Expenses

by Cathy Young, Rachel Wilson
  • Edition: 1
  • Publication Date: 2021-06-06
  • ISBN-10: B096SPZ73R
Description

Are you curious about the Python language and wondering how to read and write Excel files efficiently? This book uses the format of a hands-on lab to create a complete program, with simple code examples that gather and categorize business expense details.

The lab uses the “openpyxl” functions to read, write, and format Excel objects. We’ll also use dictionaries and lists with the data to drastically improve performance. The code is organized around several lab functions. The compartmentalized functions provide a logical stopping place if you want to take a break and make it easier to “test” parts of your code and know they’re working OK.

The step-by-step examples walk through each line of code with numbered examples, diagrams, and tables. The written explanation and graphics highlight the line numbers in the code, so you can follow along and visualize the code running. If you’d like more information on a particular concept, there are links to the Python Basics chapter with extensive details and examples.

The book content follows an organized outline structure in case you want to zero in on a particular task, such as “Add Expenses to the Sum Totals.” This structure is mirrored in the Table of Contents to simplify locating a particular topic. I’ve also provided an extensive Index as a reference.

The lab imports optional components that are commonly included in Python distributions like Anaconda. We’ll extend Python’s standard library with functions from the “openpyxl,” “os,” “sys,” “string,” and “datetime” libraries.

Python – Learn a New Skill Today: Lab 2: Business Expenses

 
 “你有一个苹果,我有一个苹果,彼此交换一下,我们彼此仍然是各有一个苹果;你有一本电子书,我有一本电子书,我们交换一下,一人就有两本电子书”,扫描下面二维码,加入iebukes电子书分享群,和大家一起分享你手中的电子书吧!本站分享的电子书访问密码见群公告,赶快入群吧!  
                微信公众号二维码