vinci

导入和导出

只谈情不闲聊 提交于 2019-12-27 05:41:57
一 ECMAScript 6的导入和导出:import 、export 1 基本语法 import { dog , person , hero } from './common.js'; import { hello,Plane } from './common.js'; import { car , rain } from './common.js'; import shrimp from './common.js'; console.log(lottery); console.log(dog,person,hero); hello(); let plane = new Plane('波音787梦想飞机'); plane.fly(); console.log(car); rain(); console.log(shrimp); /****** 单个导出 ******/ // 导出变量 export var dog = '沙皮狗'; export let person = 'Leonardo Da Vinci'; export const hero = '常山赵子龙'; //导出函数 export function hello(){ console.log('hello'); } // 导出类 export class Plane{ constructor(name){ this

from pdfminer.pdfinterp import PDFResourceManager, process_pdf ImportError: cannot import name 'proc

流过昼夜 提交于 2019-12-10 03:10:29
原因 python3使用的是 PDFMiner3K, 而自带的 PDFMiner 移除即可,然后安装 PDFMiner3K 选中点击 - 减号 即可移除 PDFMiner3K下载 https://files.pythonhosted.org/packages/8c/87/cee0aa24f95c287020df7e3936cb51d32b34b05b430759bac15f89ea5ac2/pdfminer3k-1.3.1.tar.gz 或 https://download.csdn.net/download/Da___Vinci/12022071 来源: CSDN 作者: 郭洪源 链接: https://blog.csdn.net/Da___Vinci/article/details/103464772