摘要: 才发现原来是在连接mysql时没有参数错误导致的 [root@hadoop01 ~]# mysql -uroot -oproot Warning: Using a password on the command line interface can be insecure. Welcome to t 阅读全文
posted @ 2019-10-29 16:30 wqbin 阅读(325) 评论(0) 推荐(0) 编辑
摘要: Python经常被称作“胶水语言”,因为它能够轻易地操作其他程序,轻易地包装使用其他语言编写的库,也当然可以用Python调用Shell命令。 用Python调用Shell命令有如下几种方式: 第一种:os.system os.system("The command you want"). 这个调用 阅读全文
posted @ 2019-10-29 16:12 wqbin 阅读(22951) 评论(0) 推荐(2) 编辑