变量作用域: 变量的作用域相当于变量的命名空间,赋值过的变量并不是在哪里都可以使用的。如何定义变量决定了变量可以在哪里被使用python中变量赋值的位置决定了哪些范围的对象可以访问这个变量,该范围也就是作用域。 分为局部变量和全局变量 局部变量: 在函数内赋值的变量,不做特殊说明声明的就是局部变量。 ...
分类:
其他好文 时间:
2020-10-26 10:36:25
阅读次数:
24
package com.botao.securitydemo1.config; import com.botao.securitydemo1.Service.UserService; import org.springframework.context.annotation.Bean; import ...
分类:
编程语言 时间:
2020-10-24 10:29:44
阅读次数:
21
算是入门pwn的第一道题吧 先拖进ida查看 F5查看伪代码: int __cdecl main(int argc, const char **argv, const char **envp) { char s; // [rsp+1h] [rbp-Fh] puts("please input"); ...
分类:
其他好文 时间:
2020-10-24 10:22:33
阅读次数:
21
/**@fileSpi.h@implementsSpi.h_Artifact@version1.0.0*@briefAUTOSARSpi-Spidriverheaderfile.@detailsAUTOSARspecificSpidriverheaderfile.@addtogroup[SPI_MODULE]@{//=========================================
分类:
其他好文 时间:
2020-10-24 10:09:38
阅读次数:
20
远程仓库通过git init初始化了一个项目,没有clone到本地,本地新建了一个项目,关联本地项目和远程仓库(参见IDEA新建本地项目关联远程git仓库 )后git push报错: wulf@wulf00 MINGW64 /e/workspace/开源/spring-cloud-gateway ( ...
分类:
其他好文 时间:
2020-10-19 22:57:24
阅读次数:
26
起因 安装了node,安装了npm之后,官方的源实在是 太慢了! 看了看淘宝的npm镜像, http://npm.taobao.org/ 竟然说让我再下载一个cnpm,要不然就每次都得install的时候,后面加上--registry 。。 你是在逗我么? 你可以直接看 结论 改registry仅适 ...
分类:
其他好文 时间:
2020-10-19 22:27:25
阅读次数:
23
1 import os 2 3 #os.system('python hello1.py') 4 5 6 while 1: 7 print("****************\n") 8 print("****************\n") 9 num = input("please input ...
分类:
其他好文 时间:
2020-10-18 09:57:03
阅读次数:
21
关键源码 1 public ConfigurableApplicationContext run(String... args) { 2 StopWatch stopWatch = new StopWatch(); 3 stopWatch.start(); 4 ConfigurableApplica ...
分类:
编程语言 时间:
2020-10-18 09:44:37
阅读次数:
23