码迷,mamicode.com
首页 >  
搜索关键字:android file    ( 149169个结果
Python 打印目录和目录下所有文件
#!/usr/bin/env python3#!-*- coding:UTF-8 -*- import osclass GetPath():# 获取所有目录 @staticmethod def get_dir(path): print("打印所有目录:") for root, dirs, files ...
分类:编程语言   时间:2021-04-14 11:51:07    阅读次数:0
linux shell 之脚本优化
vi file_can_execute_or_not1.sh #!/bin/bash #判断输入的参数个数是否为两个 if [ $# -lt 2 ]then echo "The num of parameter is not right! " exit 0fi #判断用户输入的第一个文件是否可以读i ...
分类:系统相关   时间:2021-04-13 12:56:38    阅读次数:0
IDEA中使用Tomcat解决中文乱码问题
IDEA中使用Tomcat解决中文乱码问题 首先在Tomcat的Configurations中配置VM options: -Dfile.encoding=UTF-8 如果操作1不行,就设置IDEA的编码: 在Setting中选择File Encodings: Global Encoding选择UTF ...
分类:其他好文   时间:2021-04-13 12:20:15    阅读次数:0
Android 布局
Android 布局 LinearLayout orientation = "vertiacl" 纵向排列 (默认为水平) orientation = "horizontal" 横向排列 gravity center center_vertiacl center_horizontal ....... ...
分类:移动开发   时间:2021-04-13 12:13:06    阅读次数:0
android studio 获取 SHA1 值
1. 生成密钥文件 2.找到控制台 输入指令 cd c: cd C:\Users\【当前登录的用户文件夹】\.android 如 cd C:\Users\cenxi\.android 就是这里 然后输入指令 keytool -list -v -keystore 【密钥文件路径】 如 keytool ...
分类:移动开发   时间:2021-04-13 12:03:14    阅读次数:0
python接口自动化,通过表单形式请求接口
#coding:utf-8 import xlrd,requests file_name = r"F:\pythonScript\map_dp\data_center\data_config\second_disaster_of_agriculture_and_natural_gas.xls" wo ...
分类:编程语言   时间:2021-04-13 11:59:05    阅读次数:0
PyCharm---设置py文件头部信息
"""@File : ${NAME}.py@Author : name@Time : ${DATE} ${HOUR}:${MINUTE}@explain :""" ...
分类:其他好文   时间:2021-04-13 11:58:13    阅读次数:0
python基础之文件操作with
前面,我们学习了文件的读(read)和写(write),都是用open()方法打开文件并获取文件流。然后在读或写操作完成后进行流的关闭(close).有时候,最后的流关闭很容易被忽略,从而导致了内存泄漏的问题。 今天要说的就是with,用于自动关闭流。 用法:with open(file, mode ...
分类:编程语言   时间:2021-04-13 11:57:38    阅读次数:0
Android Studio: 记录一个android studio profiler 崩溃的问题
环境 Android Studio 4.1.3华为Mate9 (Android 9) 崩溃堆栈 2020-08-14 10:27:28.844 13108-13108/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** ...
分类:移动开发   时间:2021-04-13 11:55:18    阅读次数:0
web8
include "flag.php"; 被包含文件先按参数给出的路径寻找,如果没有给出目录(只有文件名)时则按照 include_path 指定的目录寻找 $a = @$_REQUEST['hello']; 代表 $_REQUEST 将包含 $_GET 和 $_POST 的值,并且当 $_GET 和 ...
分类:Web程序   时间:2021-04-13 11:51:24    阅读次数:0
149169条   上一页 1 ... 48 49 50 51 52 ... 14917 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!