Python开发环境下载地址:https://www.python.org/downloads/ Python安装 打开安装包时选择Install Now选项,记得勾选 Add Python 3.6 to PATH。 启动 方法一:按 Win+R 键,输入 cmd 调出命令提示符,输入 python ...
                            
                            
                                分类:
编程语言   时间:
2020-03-21 09:58:38   
                                阅读次数:
74
                             
                         
                    
                        
                            
                            
                                /** * @param string $source 源地址 * @param string $now 新地址 * @return string 最后地址 */public function updateImage(string $source='',string $now=''){ //源图片为 ...
                            
                            
                                分类:
其他好文   时间:
2020-03-20 11:02:51   
                                阅读次数:
53
                             
                         
                    
                        
                            
                            
                                package main import ( "fmt" "github.com/astaxie/beego/toolbox" "time" ) func task() error { fmt.Println(time.Now().Format("2006-01-02 15:04:05")) retu ...
                            
                            
                                分类:
其他好文   时间:
2020-03-20 10:51:44   
                                阅读次数:
245
                             
                         
                    
                        
                            
                            
                                题意: 第一次世界大战后,许多城市遭到严重破坏,我们需要重建这些城市。但是,某些材料只能在某些地方生产。所以我们需要将这些材料从一个城市运到另一个城市。由于战争期间大部分道路已被完全摧毁,两个城市之间可能没有路径,也没有环存在。 现在,你的任务来了。在告诉您道路状况后,我们想知道任何两个城市之间是否 ...
                            
                            
                                分类:
编程语言   时间:
2020-03-19 20:11:31   
                                阅读次数:
80
                             
                         
                    
                        
                            
                            
                                1 # 删除10部门里面,工龄超过20年的员工记录 2 DELETE IGNORE FROM t_emp WHERE deptno=10 AND DATEDIFF(NOW(),hiredate)/365>=20; 3 # 删除20部门里面工资最高的纪录 4 DELETE IGNORE FROM t_ ...
                            
                            
                                分类:
数据库   时间:
2020-03-18 11:52:08   
                                阅读次数:
66
                             
                         
                    
                        
                            
                            
                                    一、*的错 nginx.conf 测试分站 worker_processes 1; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; sendfi ...
                            
                            
                                分类:
Web程序   时间:
2020-03-18 09:55:36   
                                阅读次数:
90
                             
                         
                    
                        
                            
                            
                                    一、基本使用 django_celery_demo ├── app01 │ ├── __init__.py │ ├── admin.py │ ├── apps.py │ ├── migrations │ ├── models.py │ ├── tasks.py │ ├── tests.py │ └─ ...
                            
                            
                                分类:
其他好文   时间:
2020-03-17 15:39:24   
                                阅读次数:
61
                             
                         
                    
                        
                            
                            
                                在连续执行存储过程,并且存储过程有返回查询结果时,报错2014 Commands out of sync; you can't run this command now; 参考https://blog.csdn.net/ice4026/article/details/37592715 需要使用cur ...
                            
                            
                                分类:
数据库   时间:
2020-03-16 18:55:38   
                                阅读次数:
94
                             
                         
                    
                        
                            
                            
                                    //2008年4月24日 System.DateTime.Now.ToString("D"); //2008-4-24 System.DateTime.Now.ToString("d"); //2008年4月24日 16:30:15 System.DateTime.Now.ToString("F") ...
                            
                            
                         
                    
                        
                            
                            
                                -- 数据库的操作 -- 链接数据库 mysql -uroot -p mysql -uroot -pmysql -- 退出数据库 exit/quit/ctrl+d -- sql语句最后需要有分号;结尾 -- 显示数据库版本 select version(); -- 显示时间 select now() ...
                            
                            
                                分类:
数据库   时间:
2020-03-16 13:01:44   
                                阅读次数:
62