如果使用Python,不同的阶段应该有多种选项,反而容易让人困惑

2024-02-04 01:48

本文主要是介绍如果使用Python,不同的阶段应该有多种选项,反而容易让人困惑,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!


工欲善其事必先利其器; 


一个语言的好坏对初学者来说,主要是它呈现的用户界面,语法以及编译优化等底层的实现反而不是那么重要. 

而这些界面有关的东西通过不同的工具有不同实现方式. 所以,找到和选择合适的工具对学习使用任何语言都是极其重要的.


从所用语言的版本Python有2.7+ 和3.3+两条路线, 两者语法上有很多不同, 前者应该最适合初学,后者更适合应用;


从所用的编辑器或IDE,比较受推崇的是pycharm, 有professional收费和community免费版本


从所需要的各种package来看, 如果全部一个个安装不是不可行,太麻烦了. 

逐个安装的话,到这里:http://www.lfd.uci.edu/~gohlke/pythonlibs/


Alternative Implementations

This site hosts the "traditional" implementation of Python (nicknamed CPython). A number of alternative implementations are available as well, namely

  • IronPython (Python running on .NET)
  • Jython (Python running on the Java Virtual Machine)
  • PyPy (A fast python implementation with a JIT compiler)
  • Stackless Python (Branch of CPython supporting microthreads)

Other parties have re-packaged CPython. These re-packagings often include more libraries or are specialized for a particular application:

  • ActiveState ActivePython (commercial and community versions, including scientific computing modules)
  • pythonxy (Scientific-oriented Python Distribution based on Qt and Spyder)
  • winpython (WinPython is a portable scientific Python distribution for Windows)
  • Conceptive Python SDK (targets business, desktop and database applications)
  • Enthought Canopy (a commercial distribution for scientific computing)
  • Portable Python (Python and add-on packages configured to run off a portable device)
  • PyIMSL Studio (a commercial distribution for numerical analysis – free for non-commercial use)
  • Anaconda Python (a full Python distribution for data management, analysis and visualization of large data sets)
  • eGenix PyRun (a portable Python runtime, complete with stdlib, frozen into a single executable file)

打包的方式, python(x y)是个很好的选项: 

http://code.google.com/p/pythonxy/wiki/Downloads

Downloads  
Download page with changelog. 
Featured 
en,  fr
Updated  Feb 17 (5 days ago) by  grizzly.nyo

Current release

Python(x,y) current version is 2.7.6.0 (License):

Link(s)Location
Python(x,y)-2.7.6.0.exeMirror - provided by NTUA
Python(x,y)-2.7.6.0.exeMirror - provided by ConnectMV
Python(x,y)-2.7.6.0.exeMirror - provided by University of Kent

Installation notes

  • It is recommended to uninstall any other Python distribution before installing Python(x,y)
  • You may update your Python(x,y) installation via individual package installers which are updated more frequently -- see the plugins page
  • Please use the Issues page to request new features or report unknown bugs
  • Python(x,y) can be easily extended with other Python libraries because Python(x,y) is compatible with all Python modules installers: distutils installers (.exe), Python eggs (.egg), and all other NSIS (.exe) or MSI (.msi) setups which were built for Python 2.7 official distribution - see the plugins page for customizing options
  • Another Python(x,y) exclusive feature: all packages are optional (i.e. install only what you need)
  • Basemap users (data plotting on map projections): please see the AdditionalPlugins

Updates

The following installers will help you keep your Python(x,y) installation up-to-date: only installed plugin will be updated according to the change log.

InstallerSizeRequired version
Py(x,y)-2.7.3.1.exe117 MB2.7.3.0
Py(x,y)-2.7.2.3.exe130 MB2.7.2.2
Py(x,y)-2.7.2.1.exe75 MB2.7.2.0
Py(x,y)-2.6.5.6.exe6 MB2.6.5.5
Py(x,y)-2.6.5.5.exe58 MB2.6.5.4
Py(x,y)-2.6.5.4.exe67 MB2.6.5.3
Py(x,y)-2.6.5.3.exe61 MB2.6.5.2
Py(x,y)-2.6.5.2.exe64 MB2.6.5.1
Py(x,y)-2.6.5.1.exe20 MB2.6.5.0
Py(x,y)-2.6.5.0.exe79 MB2.6.2.0
Py(x,y)-2.1.17b.exe8 MB2.1.16
Py(x,y)-2.1.17a.exe8 MB2.1.15
Py(x,y)-2.1.15.exe60 MB2.1.14
Py(x,y)-2.1.14.exe26 MB2.1.13
Py(x,y)-2.1.13.exe95 MB2.1.12
Py(x,y)-2.1.12.exe41 MB2.1.11
Py(x,y)-2.1.11.exe73 MB2.1.10

Unstable release

Python(x,y) latest unstable release is None

Plugin updates

The following plugins will certainly be included in Python(x,y) next release: (maybe they are already included in current release and this page hasn't been refreshed yet, please check on standard plugins page)

Changes history

Version 2.7.6.0 (02/15/2014)


这篇关于如果使用Python,不同的阶段应该有多种选项,反而容易让人困惑的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/676054

相关文章

SpringBoot使用GZIP压缩反回数据问题

《SpringBoot使用GZIP压缩反回数据问题》:本文主要介绍SpringBoot使用GZIP压缩反回数据问题,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录SpringBoot使用GZIP压缩反回数据1、初识gzip2、gzip是什么,可以干什么?3、Spr

Python实现特殊字符判断并去掉非字母和数字的特殊字符

《Python实现特殊字符判断并去掉非字母和数字的特殊字符》在Python中,可以通过多种方法来判断字符串中是否包含非字母、数字的特殊字符,并将这些特殊字符去掉,本文为大家整理了一些常用的,希望对大家... 目录1. 使用正则表达式判断字符串中是否包含特殊字符去掉字符串中的特殊字符2. 使用 str.isa

Spring Boot 集成 Quartz并使用Cron 表达式实现定时任务

《SpringBoot集成Quartz并使用Cron表达式实现定时任务》本篇文章介绍了如何在SpringBoot中集成Quartz进行定时任务调度,并通过Cron表达式控制任务... 目录前言1. 添加 Quartz 依赖2. 创建 Quartz 任务3. 配置 Quartz 任务调度4. 启动 Sprin

Linux下如何使用C++获取硬件信息

《Linux下如何使用C++获取硬件信息》这篇文章主要为大家详细介绍了如何使用C++实现获取CPU,主板,磁盘,BIOS信息等硬件信息,文中的示例代码讲解详细,感兴趣的小伙伴可以了解下... 目录方法获取CPU信息:读取"/proc/cpuinfo"文件获取磁盘信息:读取"/proc/diskstats"文

python中各种常见文件的读写操作与类型转换详细指南

《python中各种常见文件的读写操作与类型转换详细指南》这篇文章主要为大家详细介绍了python中各种常见文件(txt,xls,csv,sql,二进制文件)的读写操作与类型转换,感兴趣的小伙伴可以跟... 目录1.文件txt读写标准用法1.1写入文件1.2读取文件2. 二进制文件读取3. 大文件读取3.1

Java使用SLF4J记录不同级别日志的示例详解

《Java使用SLF4J记录不同级别日志的示例详解》SLF4J是一个简单的日志门面,它允许在运行时选择不同的日志实现,这篇文章主要为大家详细介绍了如何使用SLF4J记录不同级别日志,感兴趣的可以了解下... 目录一、SLF4J简介二、添加依赖三、配置Logback四、记录不同级别的日志五、总结一、SLF4J

使用Python实现一个优雅的异步定时器

《使用Python实现一个优雅的异步定时器》在Python中实现定时器功能是一个常见需求,尤其是在需要周期性执行任务的场景下,本文给大家介绍了基于asyncio和threading模块,可扩展的异步定... 目录需求背景代码1. 单例事件循环的实现2. 事件循环的运行与关闭3. 定时器核心逻辑4. 启动与停

基于Python实现读取嵌套压缩包下文件的方法

《基于Python实现读取嵌套压缩包下文件的方法》工作中遇到的问题,需要用Python实现嵌套压缩包下文件读取,本文给大家介绍了详细的解决方法,并有相关的代码示例供大家参考,需要的朋友可以参考下... 目录思路完整代码代码优化思路打开外层zip压缩包并遍历文件:使用with zipfile.ZipFil

如何使用Nginx配置将80端口重定向到443端口

《如何使用Nginx配置将80端口重定向到443端口》这篇文章主要为大家详细介绍了如何将Nginx配置为将HTTP(80端口)请求重定向到HTTPS(443端口),文中的示例代码讲解详细,有需要的小伙... 目录1. 创建或编辑Nginx配置文件2. 配置HTTP重定向到HTTPS3. 配置HTTPS服务器

Python处理函数调用超时的四种方法

《Python处理函数调用超时的四种方法》在实际开发过程中,我们可能会遇到一些场景,需要对函数的执行时间进行限制,例如,当一个函数执行时间过长时,可能会导致程序卡顿、资源占用过高,因此,在某些情况下,... 目录前言func-timeout1. 安装 func-timeout2. 基本用法自定义进程subp