模块的使用 引入 模块:就是一系列功能的集合体 1、模块的分类 模块大致分为四种类别: (1)一个py文件就是一个模块,文件名叫test.py,模块名叫test (2)一个包含有__init__.py文件的文件夹称为包,包也是模块 (3)已被编译为共享库或DLL的C或C++扩展 (4)使用C编写并链 ...
                            
                            
                                分类:
其他好文   时间:
2021-01-07 12:10:35   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Li ...
                            
                            
                         
                    
                        
                            
                            
                                
                    1.Linux开机进入如下图所示界面按tab切换到下一行,然后按e 2.按向下键,找到Linux16那一行,把ro 改成,rw init=/sysroot/bin/bash。同时按住Ctrl+X键。系统进入emergency模式。 3.输入命令:chroot /sysroot/ #切换系统 输入pa ...
                            
                            
                                分类:
系统相关   时间:
2021-01-05 11:19:36   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    明显的ssti 过滤单引号,点,下划线 直接丢exp了 读源码 {{()["\x5f\x5fclass\x5f\x5f"]["\x5f\x5fmro\x5f\x5f"][1]["\x5f\x5fsubclasses\x5f\x5f"]()[127]["\x5f\x5finit\x5f\x5f"][" ...
                            
                            
                                分类:
Web程序   时间:
2021-01-05 11:19:21   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                MongoDB语法与现有关系型数据库SQL语法比较 MongoDB语法 MySql语法 db.test.find({'name':'foobar'})<==> select * from test where name='foobar' db.test.find() <==> select *fro ...
                            
                            
                                分类:
数据库   时间:
2021-01-05 11:00:27   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                miao@openlib:~$ sudo rosdep init ERROR: cannot download default sources list from: https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/sourc ...
                            
                            
                                分类:
其他好文   时间:
2021-01-05 10:38:30   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    想要实现两个队列生成一个栈,需要先了解队列和栈的特性: 队列,先进先出。 栈,后进先出。 使用两个队列生成一个栈的实现思路为: 代码实现如下: ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 2 ...
                            
                            
                                分类:
其他好文   时间:
2021-01-04 11:05:13   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                TypeError: 'module' object is not callable Person.py """ 类的定义 """ class Person: # 构造方法 def __init__(self, n, a, u): # global name, age self.name = n s ...
                            
                            
                                分类:
其他好文   时间:
2021-01-04 10:56:48   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    checksec: main: int __cdecl main(int argc, const char **argv, const char **envp) { init(); vulnerable(); return 0; } vulnerable: int vulnerable() { in ...
                            
                            
                                分类:
其他好文   时间:
2021-01-02 10:38:32   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    在线共享网盘采用jsp+servlet搭建项目结构实现共享网盘,项目分为管理员,普通用户和付费用户三种角色,根据不同角色控制不同权限,实现不同用户对个人文件文件,所有文件,共享文件的增删改查操作。 ...
                            
                            
                                分类:
编程语言   时间:
2021-01-02 10:28:25   
                                阅读次数:
0