自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(2)
  • 资源 (1)
  • 收藏
  • 关注

原创 十行代码使用pandas实现全站免费代理ip爬取,使用read_html提取网页表格数据

pandas十行代码实现网页表格数据提取 示例:爬取西刺免费代理信息 之前每次爬取免费代理时都要进行很复杂的匹配提取对应的ip,端口等信息,无意间发pandas中有个很简单的提取类似这种代理ip信息的方法,如下图提取西刺代理页面的ip信息. 知道大家都是急性子话不多说直接上代码. import pandas as pda import requests proxies = { ...

2018-11-21 18:16:23 923

原创 Linux下配置DB2数据驱动

Create a directory for installation of the IBM Data Server Driver for ODBC and CLI software. mkdir $HOME/db2_cli_odbc_driver Copy the IBM Data Server Driver for ODBC and CLI softwa...

2018-12-26 16:15:04 1029

linux版本 DB2数据驱动

linux服务器中通过ODBC连接DB2数据库操作步骤: 1. Create a directory for installation of the IBM Data Server Driver for ODBC and CLI software. mkdir $HOME/db2_cli_odbc_driver 2. Copy the IBM Data Server Driver for ODBC and CLI software (vxx_xx_odbc_cli.tar.gz) into the above directory. cp vxx_xx_odbc_cli.tar.gz $HOME/db2_cli_odbc_driver 3. Extract IBM Data Server Driver for ODBC and CLI. gunzip vxx_xx_odbc_cli.tar.gz tar -xvf vxx_xx_odbc_cli.tar 4. Export the following environment variables. export DB2_CLI_DRIVER_INSTALL_PATH=$HOME/db2_cli_odbc_driver/odbc_cli/clidriver export LD_LIBRARY_PATH=$HOME/db2_cli_odbc_driver/odbc_cli/clidriver/lib export LIBPATH=$HOME/db2_cli_odbc_driver/odbc_cli/clidriver/lib export PATH=$HOME/db2_cli_odbc_driver/odbc_cli/clidriver/bin:$PATH export PATH=$HOME/db2_cli_odbc_driver/odbc_cli/clidriver/adm:$PATH 5. To connect to DB2 for z/OS Server download the license file db2consv_t.lic and copy to the license folder. $HOME/db2_cli_odbc_driver/odbc_cli/clidriver/license

2018-12-26

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除