Git Product home page Git Product logo

tranexcelurltopicture's Introduction

tranExcelUrlToPicture

读取Excel中的Url地址,并将其转换为图片 一、用Python实现 实现思路: 1、打开文件,选择需要转换的Excel 2、读取数据到dataframe 3、定位url所在列 4、读取所有url地址 5、遍历所有url地址,逐个将图片下载到本地 6、创建新Excel,将源表中所有内容插入,同时在Url所在列后面增加一列“插入图片”,插入图片

二、用Excel宏实现 1、新建Excel,界面打开后,依次点击 文件-选项-自定义功能区,主选项卡中勾选“开发工具” 2、保存,保存类型选择“Excel启用宏的工作薄(*.xlsm)",录入文件名 3、依次点击 开发工具-查看代码,会弹出的VBA设计界面 4、双击 Microsoft Excel对象下的sheet,默认为 Sheet1(Sheet1) 5、粘贴VBA代码,然后关闭。 6、依次点击 开发工具-宏,选择 “Sheet1.UrlDownloadPicture”,点击执行。 7、依次录入提示信息,即可完成转换。

tranexcelurltopicture's People

Stargazers

Fenguke avatar  avatar  avatar 普里斯 avatar  avatar sunran avatar  avatar  avatar

Watchers

James Cloos avatar  avatar

tranexcelurltopicture's Issues

下载下来的图片是空文件夹

作者您好,我运行了您的代码,上传了excel表格以后,点击下载,下载的是一个空文件夹,我用您网盘的那个exe下载也是空文件夹,这怎么办呢

多列图片链接问题

我的excel中存在多列图片链接但是生成的excel中只存在一列,下载图片中也只有一列。

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.