- 博客(9)
- 收藏
- 关注
原创 error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file
关于该问题将网络上的解决办法收集并尝试了一遍。1.查看,看看有没有装。
2023-05-12 14:51:33
2562
1
原创 python中的装饰器:@staticmethod,@classmethod,@abstractmethod ,@property
目录 1.@staticmethod 2.@classmethod3.@abstractmethod 4.@property装饰器
2022-07-11 18:39:13
1323
1
原创 python-一篇学完线程进程的相关概念
目录1.什么是线程2. 什么是进程3.线程和进程的关系4.什么是多线程5.线程和进程的区别6.多线程应用举例
2022-06-26 19:45:47
400
原创 VSC配置C C++
记录一下配置的过程,不然搞完就忘。还会忘记搞事情时的耐心和韧劲。一、GCC1.下载C语言编译器链接:MinGW-w64 - for 32 and 64 bit Windows - Browse Files at SourceForge.nethttps://sourceforge.net/projects/mingw-w64/files/网址界面如图所示,我们下载下面的离线包。x86_64:代表64位系统运行(电脑操作系统) i686是指32位的操作系统 win32是开发win...
2022-05-02 18:12:54
1668
1
原创 Java chartAt(i)函数和indexOf()函数
1.charAt(i) 函数 是获取字符串中i位置的字符str.charAt(i)的意思是第i+1个字符在字符串str中所占的位置,输出的是数字String str = "abc"; //从字符串中取字符char ch = str.charAt(0); //第一个字符char ch2 = str.charAt(1);// 第二个字符//ch是a,ch2是b;2.num.charAt(i) - 48s=“102”那么chatAt(0)=‘1’,这个‘1’是字符,不是数字。
2022-04-16 18:26:38
3455
原创 python学习记录2-floor()函数/栈
python floor() 返回数字的下舍整数。下舍整数的意思可以通过下面的对应关系进行了解:-45.17 → -46.0100.12 →100.0100.72 →100.0119L → 119.0math.pi → 3.0使用方法:import math # This will import math module'''floor()是不能直接访问的,需要导入 math 模块,通过静态对象调用该方法。''''''语法:math.floor( x )'''p..
2022-04-11 11:39:46
1827
原创 python学习记录1-时间/进制/print/小数位
1.python判断字符串是否符合时间格式def check_data_format(): str1=“2022/03/02 12:30:00” flag = is_vaild_date(str1) print(flag) #True or Falsedef is_vaild_date(self,str1): try: if ":" in str1: time.strptime(str1,"%Y/%M/%D %H:%M.
2022-03-02 17:18:19
460
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人