# 以t模式为基准操作# 1.r:只读模式:文件不存在时报错,文件存在时指针跳到开始位置# input_username = input("username:")# input_password = input("password:")## with open('a.txt', mode='rt', ...
分类:
编程语言 时间:
2021-06-25 17:15:33
阅读次数:
0
# Python learning# coding:utf-8"""t: 1.读写都是以字符串(unicode)为单位 2.只能针对文件 3.必须指定字符编码,即必须指定encoding参数b:binary模式 1.读写都是以bytes为单位 2.可以针对所有文件 3.一定不能指定字符编码,即不能指 ...
分类:
编程语言 时间:
2021-06-25 17:14:26
阅读次数:
0
# Python learning# coding:utf-8# 1.读相关操作# f.readline() 读一行# with open(r"a.txt", mode="rt", encoding="utf-8") as f: # res1 = f.readline() # res2 = f.re ...
分类:
编程语言 时间:
2021-06-25 17:14:08
阅读次数:
0
# 指针移动的单位都是以bytes/字节为单位# 只有一种情况特殊:# t模式下的read(n),n代表的是字符个数# with open("a.txt", mode="rt", encoding="utf-8") as f:# res = f.read(4)# print(res)# f.seek ...
分类:
编程语言 时间:
2021-06-25 17:13:05
阅读次数:
0
伪代码贴上 @Override protected void onCreate(Bundle savedInstanceState) { mWebView = (WebView) findViewById(R.id.webview); //获得webView initWebView(); } pri ...
分类:
移动开发 时间:
2021-06-25 17:11:53
阅读次数:
0
ApkToolPlus 是一个可视化的跨平台 apk 分析工具。 项目地址:https://github.com/linchaolong/ApkToolPlus 1. ApkTool apk 反编译,回编译,签名。 apktool 2. Apk 加固 dex 加密,防逆向,防止二次打包。(注意:该功 ...
分类:
移动开发 时间:
2021-06-25 17:10:01
阅读次数:
0
前言 我是一个普通本科出身的Android程序员,我的学校也不过就是一个普通二本。 嗯,我的学弟学妹们也是一样的,都是普通二本。但是和我不同的是,现在的社会越来越浮躁了,浮躁的让人沉不下心认真做事,让人忍不住去想各种有的没的。 比如我的这些学弟学妹们。我已经不止一次收到来自他们的私信了,他们问的内容 ...
分类:
其他好文 时间:
2021-06-25 16:44:50
阅读次数:
0
The NuGet package sources are configured through Visual Studio, but they're stored in a per-user configuration file, found at c:\Users\$USER\AppData\R ...
分类:
其他好文 时间:
2021-06-24 18:32:12
阅读次数:
0
android studio在创建项目的时候,有个选项:Use legacy android.support libraries 这个选项就是使用v7包,如果不选择的话应该是androidx。 ...
分类:
移动开发 时间:
2021-06-24 18:31:59
阅读次数:
0
Thread.sleep()是java的方法, 可能会抛出InterruptedException异常, 并且可能会被中断; SystemClock.sleep()是Android的方法,不会抛出异常, 并且无论如何都会让当前线程休眠指定的时间。 源码分析见 https://blog.csdn.ne ...
分类:
其他好文 时间:
2021-06-24 18:29:08
阅读次数:
0