![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
msdnchina
这个作者很懒,什么都没留下…
展开
-
windows下安装pythone并连接到本机的postgres数据库进行查询
注意:python的下载请见:https://www.python.org/downloads/release/python-372/ Microsoft Windows [版本 10.0.17134.590] (c) 2018 Microsoft Corporation。保留所有权利。 C:\WINDOWS\system32>cd C:\Program Files\Python37\S...原创 2019-02-23 17:50:38 · 587 阅读 · 0 评论 -
[转] python中关于round函数的小坑
https://www.cnblogs.com/anpengapple/p/6507271.html python中关于round函数的小坑 这个一直都想写,但是因为这个点比较小,所以一直懒得动手。不过还是补上吧,留着早晚是个祸害。 round函数很简单,对浮点数进行近似取值,保留几位小数。比如 >>> round(10.0/3, 2) 3.33 >>>...转载 2019-06-07 16:25:03 · 218 阅读 · 0 评论 -
使用python的数学函数
>>> import math >>> math.floor(32.9) 32 >>> math.ceil(32.3) 33 >>> math.ceil(32) 32 >>> >>> from math import sqrt >>> sqrt(9) 3.0 >&g...原创 2019-06-07 16:49:33 · 1043 阅读 · 0 评论 -
python学习
Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license()" for more information. >>> 0xAF 175 >>>...原创 2019-06-07 16:51:29 · 403 阅读 · 0 评论 -
Python 2.4.3 and Python 2.6.5 on the same RHEL system
https://access.redhat.com/solutions/42123 SOLUTION 已验证- 已更新2014年二月7日04:53- English 环境 Red Hat Enterprise Linux (RHEL) Python 2.4.3 Python 2.6.5 问题 Is possible to have both the python vers...转载 2019-06-09 07:17:30 · 253 阅读 · 0 评论 -
Are bootstrap scripts in python?
https://access.redhat.com/solutions/1498333 SOLUTION 已验证- 已更新2015年六月25日01:06- English 环境 Red Hat Satellite or Proxy 5.7 问题 Are bootstrap scripts available in python instead of Bash? It wou...转载 2019-06-09 07:20:03 · 226 阅读 · 0 评论 -
python3的取整取余乘方运算
[root@rhel8server1 ~]# uname -r 4.18.0-80.el8.x86_64 [root@rhel8server1 ~]# cat /etc/redhat-release Red Hat Enterprise Linux release 8.0 (Ootpa) [root@rhel8server1 ~]# [root@rhel8server1 ~]# python...原创 2019-06-03 21:41:57 · 793 阅读 · 0 评论 -
选择python的版本
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_basic_system_settings/using-python3_configuring-basic-system-settings 6.2.3.Configuring the unversioned Pyth...转载 2019-06-03 22:04:07 · 1290 阅读 · 1 评论