1、安装Git 在Git Bash里输入git --version 如果显示版本号,则说明Git安装成功。 2、在GitHub上新建一个仓库 例如:myrepo 3、在本地新建一个文件夹,作为VSCode代码的工作文件夹 例如:mycode 4、mycode既是VSCode的代码工作文件夹又应该是G ...
分类:
其他好文 时间:
2021-01-08 11:31:51
阅读次数:
0
1 1847 2 System 4 Memory 6 % Processor Time 10 File Read Operations/sec 12 File Write Operations/sec 14 File Control Operations/sec 16 File Read Bytes ...
显示百分比 import sys import time n = 1 while n <= 100: sys.stdout.write('{}{:.0f}%\r'.format('*' * n, float(n / 100) * 100)) if n == 100: sys.stdout.write ...
分类:
编程语言 时间:
2021-01-08 10:51:26
阅读次数:
0
显示百分比 import sys import time n = 1 while n <= 100: sys.stdout.write('{}{:.0f}%\r'.format('*' * n, float(n / 100) * 100)) if n == 100: sys.stdout.write ...
分类:
编程语言 时间:
2021-01-08 10:50:22
阅读次数:
0
一、操作如下,可以将json对象转为字符串 Json::Value root; root["name"] = "咸鱼"; root["age"] = 100; string str; Json::FastWriter fast; str = fast.write(root); cout << str ...
分类:
Web程序 时间:
2021-01-08 10:32:42
阅读次数:
0
import Vue from "vue"; import Router from "vue-router";// 引用路由 import Home from "./views/Home.vue";//导入方法1 Home页面 Vue.use(Router); export default new ...
分类:
Web程序 时间:
2021-01-07 12:23:53
阅读次数:
0
1 f = open("20201212.txt", "w") 2 f.write ("20201212") 3 4 f=open("20201212.txt","r") 5 print(f.read()) 6 f.close() 7 8 f=open("20201212.txt","r") 9 n ...
分类:
编程语言 时间:
2021-01-07 12:03:08
阅读次数:
0
<!-- 父组件 --> <template> <view> <syncA :title.sync="title"></syncA> </view> </template> <script> export default { data() { return { title:"hello vue.js ...
分类:
其他好文 时间:
2021-01-07 11:53:43
阅读次数:
0
<script> export default { data() { return { a: 1, b: 2, c: 3, d: 4, e: { f: { g: 5 } } } }, watch: { a: function(val, oldVal) { console.log('new: %s, ...
分类:
其他好文 时间:
2021-01-07 11:49:57
阅读次数:
0
我通过 命令行安装了pydub库,运行报了如下错误 RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work warn("Couldn't find ffmpeg or avconv ...
分类:
其他好文 时间:
2021-01-07 11:42:15
阅读次数:
0