码迷,mamicode.com
首页 >  
搜索关键字:write    ( 14678个结果
Python的文本和字节序列
一、字符串的表示和存储 字符串是字符的序列,每个字符都有有一个数字作为标识,同时会有一个将标识转换为存储字节的编码方案; s = 'hello world python' for c in s: print(c, end=' ') h e l l o w o r l d p y t h o n AC ...
分类:编程语言   时间:2021-04-23 12:20:35    阅读次数:0
C# 跳出循环几种方法详解
说明: break语句:终止并跳出循环体。continue语句:终止当前循环,重新开始一个新的循环。goto语句:跳转到指定位置 。 一,continue语句 class Program { static void Main(string[] args) { for(int i = 1; i <= ...
分类:Windows程序   时间:2021-04-22 16:35:27    阅读次数:0
Django多数据库
Django版本2.2 Python版本3.7 第一步:在settings文件中配置多数据库 DATABASES = { # 'default': { # 'ENGINE': 'django.db.backends.sqlite3', # 'NAME': os.path.join(BASE_DIR, ...
分类:数据库   时间:2021-04-22 15:41:22    阅读次数:0
将 Python 打包的 exe 进行反编译
Python 打包成 exe 之后,是否能从二进制文件中恢复出源代码?没有加密的话是可以的。 首先需要解包。 直接从 github 上下载就行:https://github.com/countercept/python-exe-unpacker 使用也简单:python pyinstxtractor ...
分类:编程语言   时间:2021-04-21 12:39:04    阅读次数:0
Python 学习教程
Python 简介 Python 入门教程 Python 编写代码语法 Python 注释作用写法及示例代码 Python 变量 Python 数据类型 Python 字符串(String)的使用 Python Number(数字)数值数据类型 Python 数据类型转换(Casting) Pyth ...
分类:编程语言   时间:2021-04-21 12:31:32    阅读次数:0
document.write的覆盖问题
document.write插入标签会覆盖页面的问题 document.write插入js标签会覆盖页面又两种情况: 通过onclick() 点击事件触发执行document.write(),会使document.write()覆盖原来的页面。 在window.onload里面执行document. ...
分类:其他好文   时间:2021-04-21 11:53:09    阅读次数:0
php做一个webserver
php做一个webserver 1. 目标 利用php实现一个不依靠nginx/apache的简易webserver,同时支持Router路由功能,实现如在命令行键入php server 8080启动的功能 2. 流程 做一个webserver需要做的模块: 监听连接进来 客户端连接服务端 服务端接 ...
分类:Web程序   时间:2021-04-20 15:44:49    阅读次数:0
记录一次偶然的JAVA学习
下午闲着无聊 用python写了个字典转MD5字典的脚本 import requestsimport hashlibdef baopo(script): print(u" 转化开始:") str=open(script).read() str_list=str.split('\n') print(s ...
分类:编程语言   时间:2021-04-20 15:25:35    阅读次数:0
蓝桥嵌入式——e2prom的读写函数。
连续写入 void i2c_write( unsigned char *strpuf,unsigned char num ,u8 addr) // strpuf是传入的数组,num是传递的个数,addr是分配的地址{ I2CStart(); I2CSendByte(0xa0); I2CWaitAck ...
分类:其他好文   时间:2021-04-20 14:19:34    阅读次数:0
JavaScript 里 window, document, screen, body 这几个名词的区别
在下面这个 StackOverflow 的线索里进行了讨论: https://stackoverflow.com/questions/9895202/what-is-the-difference-between-window-screen-and-document-in-javascript win ...
分类:编程语言   时间:2021-04-19 16:04:43    阅读次数:0
14678条   上一页 1 ... 7 8 9 10 11 ... 1468 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!