用户交互Scanner Java.util.Scanner导入的Scanner类可以通过Scanner类来获取用户输入 基本语法 Scanner sc=new Scanner(System.in); //创建一个扫描器对象,用于接收键盘数据 通过Scanner类的next()与nexlint()方法 ...
分类:
其他好文 时间:
2021-02-16 12:41:45
阅读次数:
0
工作区: 就是git仓库的目录就属于工作区 [root@node4 git]# pwd/git[root@node4 git]# lsreadme.txt[root@node4 git]# ls -a. .. .git readme.txt[root@node4 git]# cd .git/[roo ...
分类:
其他好文 时间:
2021-02-16 12:34:56
阅读次数:
0
1.查看所有保留字(关键字) 1 from keyword import kwlist 2 print(kwlist) 2. 查看文件名 print(__file__) 3.查看文件的执行接口 1 #在当前文件执行 2 print(__name__) 3 4 #>>> __main__ 5 6 #被 ...
分类:
编程语言 时间:
2021-02-16 12:33:52
阅读次数:
0
1、创建新的表空间 create undo tablespace undo_new datafile '/u01/oracle/oradata/yscsfhx/newundotbs01.dbf' size 5m; View Code 2、切换到新的Undo表空间上 alter system set ...
分类:
其他好文 时间:
2021-02-16 12:25:14
阅读次数:
0
Schedule timed jobs on macOS with launchd launchd is a robust scheduled job automation tool on macOS that allows you to schedule a task to be run at r ...
分类:
系统相关 时间:
2021-02-16 12:18:49
阅读次数:
0
要使用ShowPane,而不要使用普通的ShowWindow void CMainFrame::OnViewPropWnd() { // TODO: 在此添加命令处理程序代码 if (!m_wndProperties.IsVisible()) m_wndProperties.ShowPane(TRU ...
分类:
其他好文 时间:
2021-02-16 12:16:01
阅读次数:
0
// 命令行java命令执行的时候这里会报错的,所以需要去com的上一级的目录去java com.mixi.wc.Demo 这样去执行 package com.moxi.wc; /** * @author Mr.Wang * @version 1.0 * @since 1.8 */ public c ...
分类:
其他好文 时间:
2021-02-16 11:56:24
阅读次数:
0
用FileInputStream 字节流正确读取中文 1 package IO流; 2 3 import java.io.File; 4 import java.io.FileInputStream; 5 import java.io.IOException; 6 7 public class 读取 ...
分类:
编程语言 时间:
2021-02-16 11:55:08
阅读次数:
0
如何不通过第三个变量交换两个变量的值 public class HelloWorld { public static void main(String []args) { int a = 2; int b = 3; //为了大家直观的感受输出结果, //我们先输出下,a b,的初始值 System. ...
分类:
其他好文 时间:
2021-02-16 11:42:02
阅读次数:
0
import requests import re import os import json import time as t class QQmusic(): """代码仅供学习""" def __init__(self): """初始化""" self.headers = { 'Accept- ...
分类:
其他好文 时间:
2021-02-15 12:44:00
阅读次数:
0