sys.exc_info() 获取异常 import sys try: raise ValueError('this is a exp') except Exception as ex: ex_type, ex_val, ex_stack = sys.exc_info() print(ex_type ...
                            
                            
                                分类:
编程语言   时间:
2021-04-14 12:39:26   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    我回来了,兄弟们,以后稳定每日一更哈。废话不多说,直接上码。 1 class MyThread extends Thread { 2 private String who; 3 public MyThread(String str) { 4 who=str; 5 } 6 public void ru ...
                            
                            
                                分类:
编程语言   时间:
2021-04-13 12:09:53   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    四则运算代码:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks; namespace ClassLibrary1{ public ...
                            
                            
                                分类:
其他好文   时间:
2021-04-12 12:51:16   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                公交站点显示 using System.Collections.Generic; usinSystem.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; usi ...
                            
                            
                                分类:
其他好文   时间:
2021-04-12 12:40:32   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    XML文件操作 实体类 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace XMLDemo { class Student { public string St ...
                            
                            
                                分类:
其他好文   时间:
2021-04-12 12:30:15   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    计划 为中小学生设计的四则运算 开发 1,分析需求 包含加减乘除的两位整数运算 2,生成设计文档 创建一个TowNumber接口,包含一个yunsuan()方法,再创建一个Aligorithm类实现接口,再分别创建Add,Except , Reduce, Ride类继承Aligorithm类重写yu ...
                            
                            
                                分类:
其他好文   时间:
2021-04-12 11:53:44   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    source program: list=[]while True: print("how many number input:") try: num=int(input()) for i in range(num): a=int(input("input"+str((i+1))+"integer: ...
                            
                            
                                分类:
编程语言   时间:
2021-04-12 11:41:22   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                释义1: DWARF:一种带调试信息(DWARF- 2(DW2)EH)的包, 所以比一般的包尺寸大,仅支持32位系统 SJLJ:跨平台,支持32,64位系统,缺点是:运行速度稍慢,GCC不支持 SEH: 调用系统机制处理异常,支持32,64位系统,缺点是:Gcc不支持(即将支持) 释义2: x86_ ...
                            
                            
                                分类:
其他好文   时间:
2021-04-08 12:56:03   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    MySQLdb._exceptions.OperationalError: (2026, 'SSL connection error: unknown error number') 问题发生在我远程连接数据库的时候,我使用的是MySQLdb 但是一直报错 连接我自己的数据库是没有问题的 *原因是 p ...
                            
                            
                                分类:
数据库   时间:
2021-04-06 14:59:26   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    2.1 序列化概述 1)什么是序列化 序列化就是把内存中的对象,转换成字节序列(或其他数据传输协议)以便于存储到磁盘(持久化)和网络传输。 反序列化就是将收到字节序列(或其他数据传输协议)或者是磁盘的持久化数据,转换成内存中的对象。 2)为什么要序列化 一般来说,“活的”对象只生存在内存里,关机断电 ...
                            
                            
                                分类:
其他好文   时间:
2021-04-06 14:52:31   
                                阅读次数:
0