05 2019 档案

摘要:#迭代器,取值只能用next方法,不能随意取值name = iter([11,22,33,44])print(name.__next__())print(name.__next__())print(name.__next__())#生成器,函数含有yield则为生成器,生成器的返回值为迭代器def 阅读全文
posted @ 2019-05-17 17:27 HarsonLee 阅读(228) 评论(0) 推荐(0)
摘要:安装步骤可借鉴https://www.cnblogs.com/qfb620/p/4577255.html 1、安装后发现用Navicat无法连接数据库显示报错ORA-28547:connection to server failed,probable Oracle Net admin error 上 阅读全文
posted @ 2019-05-10 11:31 HarsonLee 阅读(677) 评论(0) 推荐(0)
摘要:一、set集合#!/usr/bin/env python# *_*coding:utf-8 *_*# Author: harsonold_dict = { "#1": {'hostname': 'c1', 'cpu_count': 2, 'mem_capicity': 80}, "#2": {'ho 阅读全文
posted @ 2019-05-08 17:03 HarsonLee 阅读(264) 评论(0) 推荐(0)