码迷,mamicode.com
首页 >  
搜索关键字:python input raw_input    ( 165575个结果
[Fundamental of Power Electronics]-PART II-8. 变换器传递函数-8.4 变换器传递函数的图形化构建
8.4 变换器传递函数的图形化构建 第7章推导出的buck变换器小信号等效电路模型在图8.55中再次给出。让我们用上一节的图解方法来构造该变换器的传递函数和端阻抗。 Fig. 8.55 Small-signal model of the buck converter, with input impe ...
分类:其他好文   时间:2021-04-12 12:23:41    阅读次数:0
Python基础(十四):while循环与break、continue关键字
前面我们已经学习了for循环,今天再带着大家讲述一下while循环。那么for循环和while循环,到底有什么区别呢? Python中for循环和while循环本质上是没有区别的,但是在实际应用上,针对性不太一样。 for循环,主要应用在遍历中,体现的是遍历二字; while循环,主要用于判断符合条 ...
分类:编程语言   时间:2021-04-12 12:16:44    阅读次数:0
使用python进行钉钉机器人的消息发送
#!/usr/bin/python3 import time import hmac import hashlib import base64 import urllib.parse import os timestamp = str(round(time.time() * 1000)) secre ...
分类:编程语言   时间:2021-04-12 12:15:47    阅读次数:0
petastorm 0.9.8 : 导致OSError: Passed non-file path的其中一个原因及解决方案
GitHub - uber/petastorm https://github.com/uber/petastorm/ 版本: Windows 10 Python 3.7.0 petastorm 0.9.8 pyarrow 3.0.0 编写test.py from petastorm import m ...
分类:其他好文   时间:2021-04-12 12:12:33    阅读次数:0
安装Python3.7的步骤
访问Python的官网:https://www.python.org/,如下图所示: 鼠标放到downloads上面然后点击downloads for windows下面的Python3.7开始下载Python3.7.如下图所示: 下载完成后,在文件夹中打开所下载的Python-3.7.0然后双击打 ...
分类:编程语言   时间:2021-04-12 12:11:27    阅读次数:0
Pyecharts——Python高级可视化
Pyecharts是百度开源的移植到Python上的可视化工具,里面方法调用起来像是标记性语言,因此代码的可读性很强,一目了然。下面是一个绘制散点图的例子: #%% import pyecharts.options as opts from pyecharts.charts import Scatt ...
分类:编程语言   时间:2021-04-12 12:04:59    阅读次数:0
冒泡排序-python
source program: list=[]while True: print("how many number input:") try: num=int(input()) for i in range(num): a=int(input("input"+str((i+1))+"integer: ...
分类:编程语言   时间:2021-04-12 11:41:22    阅读次数:0
iptables
iptables iptables 是用户空间的命令行工具,真正实现包过滤,转发,地址转化的 netfilter 模块 iptables 表链关系 表/链 prerouting input output forward postrouting raw √ √ √ mangle √ √ √ √ nat ...
分类:其他好文   时间:2021-04-10 13:26:02    阅读次数:0
427. Construct Quad Tree
Given a n * n matrix grid of 0's and 1's only. We want to represent the grid with a Quad-Tree. Return the root of the Quad-Tree representing the grid. ...
分类:其他好文   时间:2021-04-10 13:22:46    阅读次数:0
pymysql.err.IntegrityError: (1062, “Duplicate entry ‘ ‘ for key ‘PRIMARY‘“)
在python中用insert into写入mysql数据库时,可能会出现如题所示异常。 当然,如何改是属于数据方面的知识,网上有很多,不在这里述说。 本文要解决的是:如何在程序中获取该错误,并进行异常处理。 一、捕获异常。常用方法:当然在程序调试过程中出现该异常,用肉眼来看就行了。在程序中就需要捕 ...
分类:数据库   时间:2021-04-10 13:18:43    阅读次数:0
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!