"Become an Excel Wizard Using Python Scripting" by Al Sweigart

Поділитися
Вставка
  • Опубліковано 22 гру 2024
  • "Become an Excel Wizard Using Python Scripting"
    By: Al Sweigart, Invent with Python
    September 2016 IndyPy
    Join the conversation:
    Meetup: indypy.com/
    Slack: indypy-invite.... ;
    Twitter: @indypy
    Thanks to our awesome sponsor:
    Six Feet Up is your local Python web application and cloud orchestration partner
    sixfeetup.com/
    Submit a talk: goo.gl/forms/7...
    Sponsor IndyPy: www.meetup.com...

КОМЕНТАРІ • 31

  • @mrkickass4195
    @mrkickass4195 6 років тому +1

    I love this video, I have a physics background, and I have been doing a lot of programming in python lately, however, I have always found excel to be really useful for quickly displaying trends in data, and this video has just made my life a lot easier for doing so.

  • @DataScienceGarage
    @DataScienceGarage 7 років тому +1

    13:30 - change code to:
    from openpyxl.utils import get_column_letter
    openpyxl.utils.get_column_letter(1)

    • @BryanSilvaStudio135
      @BryanSilvaStudio135 7 років тому +1

      THANK YOU! I literally, JUST hit this spot in the video and stumbled until reading this response...

  • @meditationjedi2760
    @meditationjedi2760 7 років тому +3

    Hi can we perform any data analysis, such as regression, histogram with openpyxl and have the charts populated in the output file?

  • @ImGooblie
    @ImGooblie 7 років тому +11

    I do this for a job and I love it!!

  • @NickLeeds
    @NickLeeds 7 років тому +6

    My background is in Finance and accounting would learning web scraping with python and R programming help me find a job?

    • @ryandavies4894
      @ryandavies4894 7 років тому +11

      No, you will be begging on the streets wishing why you chose to learn some of the most valued skills in the market.

    • @thomasgarcia1332
      @thomasgarcia1332 7 років тому +2

      Could it hurt?

    • @abirirosen
      @abirirosen 7 років тому +1

      I don’t know if it would “get” you a job. But it can help. I too am in finance and being able to automate and run algorithms on your data is increasingly essential.
      I’m looking at Python these days because of its popularity but VBA has been essential for me. But start somewhere.

    • @zZGzHD
      @zZGzHD 7 років тому +1

      Well if you get a job in accounting and you're mostly working in excel workbooks, you'll be able to automate a good 99% of your job.

    • @raymeester7883
      @raymeester7883 7 років тому

      That is what I'm talking about.

  • @peterchadhenniker942
    @peterchadhenniker942 6 років тому +30

    His Excel is not activated. Thug Life ;)

  • @ishafirani2257
    @ishafirani2257 6 років тому

    Hi , Can you print the date from the excel to the console , like extracting date column as it is from excel ?

  • @bobdefour3851
    @bobdefour3851 4 роки тому

    You seem to think that the errors you encounter by doing this on the "fly" take away from the learning, however, they add to our experience and serve a purpose.

  • @3O0O
    @3O0O 7 років тому +1

    great stuff. i am going to attempt to change the way i work with excel. hopefully get to save some of my admin task in the long run.

  • @animals42life8
    @animals42life8 6 років тому +1

    I don't understand the worksheet.worksheet.worksheet and also the workbook.workbook.workbook.

  • @eduardmart1237
    @eduardmart1237 6 років тому

    Does openpyxl need a installed version of microsoft excel? Or it could work independently?

  • @αβδτ
    @αβδτ 7 років тому

    pyautogui 只是简单的控制鼠标,键盘等操作;
    好像没有一个包能完整的控制软件里的各种控件的吧;

  • @sherwinjiang5827
    @sherwinjiang5827 5 років тому

    openpyxl version 2.5.3 code changed: openpyxl.cell.cell.get_column_letter(1)

  • @RagHelen
    @RagHelen 7 років тому

    print(inputFile.get_sheet_names()) !

  • @earlbullock8367
    @earlbullock8367 6 років тому

    Yet Good Lesson

  • @jellyjams7217
    @jellyjams7217 6 років тому

    Doing these changes in python takes longer than just changing these settings right in excel

  • @manofleisure5099
    @manofleisure5099 7 років тому +1

    Python > Excel

  • @paraglide01
    @paraglide01 7 років тому +5

    I am an VBA expert, why would I learn python, its not very usefull in my opinion. If you are a officeworker who's main tool is working with MS office products better learn VBA then you can manipulate excel, word, access, powerpoint, outlook and swap data between all those very specialised programs. Dont fuck around with python to reaching to try to make it usefull.

    • @thomasgarcia1332
      @thomasgarcia1332 7 років тому +6

      VBA has limited use outside of excel (I think)? Where as python is used in Machine learning, some statistical analysis (in place of R) and all sorts of other things... Python's usefulness goes beyond microsoft office - so if you want to be a cool office worker and that's all your scope is VBA is your huckleyberry.
      If you're reach is a little higher and you're goal to be a more versatile and your scope a little wider...why wouldn't you learn Python?

    • @briankq9453
      @briankq9453 7 років тому

      I agree, knowledge of VBA is much more useful in this instance. Mass scripting to generate tens of thousands of different workbooks programmtically to deliver to a client would be a different story, python is probably a more reliable workflow. Unfortunately this video doesn't delve into that well