通过注册表寻找桌面路径: (用内置的winreg) import winreg key = winreg.OpenKey(winreg.HKEY_CURRENT_USER, \ r'Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Fo ...
                            
                            
                                分类:
编程语言   时间:
2017-11-25 16:19:31   
                                阅读次数:
135
                             
                    
                        
                            
                            
                                shopping = [['house',1000000],['book',50],['iphone',3000]] qian = input('请输入你的钱:') shoppingcar = [] if qian.isdigit(): qian = int(qian) while True: fo... ...
                            
                            
                                分类:
其他好文   时间:
2017-11-24 22:47:53   
                                阅读次数:
134
                             
                    
                        
                            
                            
                                http://bbs.csdn.net/topics/200053917 有两个窗口formLogin是登陆窗口,formMain是主窗口我想让formMain显示出来,并且formLogin窗口关闭或者隐藏这牵扯到 如果是关闭 在formMain就不用去管formLogin的问题了如果是隐藏那fo ...
                            
                            
                         
                    
                        
                            
                            
                                一.下载及安装 首先去官网下载mac对应版本的Mysql,尾缀为.dmg的程序包 下载地址:https://dev.mysql.com/downloads/mysql/ 下载完毕后,一步步傻瓜式安装即可,安装完后mysql会弹出一个框框,告诉你安装成功以及root用户的初始密码,注意Mysql fo ...
                            
                            
                                分类:
数据库   时间:
2017-11-18 21:55:17   
                                阅读次数:
221
                             
                    
                        
                            
                            
                                    新版的SDK tools中的android命令已经不支持 ,用起来很不顺手。 The “android” command is deprecated. For manual SDK, AVD, and project management, please use Android Studio. Fo ...
                            
                            
                                分类:
移动开发   时间:
2017-11-18 12:52:28   
                                阅读次数:
281
                             
                    
                        
                            
                            
                                参照 FluentValidation 的官方文档写的例子,方便日后查看和使用。 原文:https://github.com/JeremySkinner/FluentValidation/wiki Home NuGet Packages For ASP.NET MVC integration: Fo ...
                            
                            
                                分类:
Windows程序   时间:
2017-11-15 21:46:24   
                                阅读次数:
1484
                             
                    
                        
                            
                            
                                    orm可以将数据库存储的数据封装成对象,同时,如果封装的好的话,所有的数据库操作都可以封装到对象中。这样的代码在组织结构上会非常的清晰,并且相对与使用sql语句在sql注入方面会极具降低。 SQLAlchemy中的映射关系有四种,分别是一对多,多对一,一对一,多对多 实现这种映射关系只需要外键(Fo ...
                            
                            
                                分类:
数据库   时间:
2017-11-12 15:32:17   
                                阅读次数:
215
                             
                    
                        
                            
                            
                                "Paramiko" is a combination of the Esperanto words for "paranoid" and "friend". It's a module for Python 2.7/3.4+ that implements the SSH2 protocol fo ...
                            
                            
                                分类:
其他好文   时间:
2017-11-10 23:21:49   
                                阅读次数:
475
                             
                    
                        
                            
                            
                                #include #include #include #include #include using namespace std; long long n, p, ans[3000010]; int main() { scanf("%lld%lld", &n, &p); ans[1] = 1; fo... ...
                            
                            
                                分类:
其他好文   时间:
2017-11-10 18:40:30   
                                阅读次数:
121
                             
                    
                        
                            
                            
                                    //test.py fo = open('f.txt', 'wb')print 'name',fo.nameprint 'closed',fo.closedprint 'mode',fo.modeprint 'softspace',fo.softspacefo.write('123\n')fo.wr ...
                            
                            
                                分类:
编程语言   时间:
2017-11-08 13:19:53   
                                阅读次数:
230