- 博客(2)
- 收藏
- 关注
原创 python 调用C 常用参数传递
环境ubuntu 16.04 python31.pycall.c#include #include struct test{ int key; char* val;};//传递数值int ValTest(int n){ printf("val:%d\n", n); return 0;}//传递字符串
2018-01-10 14:05:31
4961
2
原创 python 网络爬虫爬取落网 期刊内容 下载图片 音乐
1.实现方案 1.1 采用多进程创建多个爬虫对象 爬虫对象主要由获取网页内容,分析网页内容,下载图片,下载音乐 这四个线程组成 1.2 进程及线程数根据网络情况设置 1.3 图片保存在img下 音乐放在music下以期刊命名 内容存放在result.txt中2.代码#!/usr/bin/python3# -*- coding: UTF-8 -*-import r
2018-01-05 11:21:55
851
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人