Quantcast
Channel: CodeSection,代码区,Python开发技术文章_教程 - CodeSec
Browsing all 9596 articles
Browse latest View live

R语言和 Python ―― 一个错误的分裂

R语言和 python ―― 一个错误的分裂 一点号超级数学建模6小时前 最近有一些文章提出与年龄相关的问题:“崭露头角的年轻数据科学家们是学习R语言还是Python更好?” 答案似乎都是“视情况而定”,在现实中没有必要在R和Python中做出选择,因为你两个都用得到。...

View Article


Image may be NSFW.
Clik here to view.

Python并发编程之线程池/进程池

本文为作者原创,转载请先与作者联系。 首发于 我的博客 引言 python标准库为我们提供了threading和multiprocessing模块编写相应的多线程/多线程代码,但是当项目达到一定的规模,频繁创建/销毁进程或者线程是非常消耗资源的,这个时候我们就要编写自己的线程池/进程池,以空间换时间。但从Python3.2开始,标准库为我们提供了 concurrent.futures...

View Article


Image may be NSFW.
Clik here to view.

2017年程序员需要掌握哪些技术?你会几个?

【51CTO.com快译】 我是非常支持程序员们抱着终身学习的态度的。尽管新型技术成果不断出现,但对于从业者而言,打好基础永远更为重要。因此如果大家对以下六项基本技术方案还不太熟悉,请在2017年到来之前做好准备。...

View Article

Mike Driscoll: PyDev of the Week: Philip House

This week we welcome Philip House ( @PhilipHouse2 ) as our PyDev of the Week! Philip is one of the authors behind PEP 526 Syntax for Variable Annotations which was provisionally accepted into python...

View Article

Pyspark ALS and Recommendation Outputs

Lately, I’ve written a few iterations of pyspark to develop a recommender system (I’ve had some practice creating recommender systems in pyspark ). I ran into a situation where I needed to generate...

View Article


iOS App 本地化的自动翻译脚本

写 App 的激情与动力,往往在于核心功能的实现,至于那些 UI 细节的微调、多国家的语言文件,岂是尔等大牛需要做的事? 但是,一款出色的产品,往往不只有出色的核心功能,它的产品细节、用户体验也是趋于完善近乎完美的。大牛的你,虽然不想干这些脏活累活,然而,牛在江湖身不由己,你有三个选择: 咬咬牙,自己上。 招个临时工 or 实习生,让他干。 写个脚本,自动完成。 现在要说的 App...

View Article

Image may be NSFW.
Clik here to view.

openbot之自然语言解析器

行程才是目的,顿悟在每日的实践中 --《UNIX设编程艺术》 openbot openbot是我的业余项目,对NLP和AI的兴趣由来已久,想通过造轮子的方式来学习 我是api.ai的忠实用户,也使用wit.ai(给这个项目的client提交过源码)。国内的yige.ai也很棒。openbot的web/sdk接口模仿着它们设计 openbot最初作为 deepThought...

View Article

Image may be NSFW.
Clik here to view.

Recommended Quant Readings for you Best of 2016!

Recommenced Quant Articles of 2016 As 2016 nears its finish line, here we are with the list of recommended reading on our blog with the top-rated blog posts, as voted by you!Enjoy the last few days...

View Article


Image may be NSFW.
Clik here to view.

使用 python-broadlink 发送 BroadLink A1 数据到 Domoticz

之前在 smzdm 上看一些物联网的文章时,看到 Domoticz 这个平台,好像还蛮符合我的需求的,文章里还介绍了使用 RMBridge 来使用 Domoticz 来控制 RM Pro。 但是 RMBridge 并不是特别方便,需要一直跑一个 Android 来作为指令中转,于是在 GitHub 上去找找看有没有其他项目来支持 BroadLink 的 RM 设备,然后就找到了...

View Article


__all__ and wild imports inPython

An often misunderstood piece of python import machinery is the __all__ attribute. While it is completely optional , it’s common to see modules with the __all__ list populatedexplicitly: __all__ =...

View Article

Python Utilities by Peter Norvig

Peter Norvig , the famous American computer scientist and Director of Research at Google Inc., participated in this year’s Advent of Code (a series of small programming puzzles), and shared his...

View Article

Image may be NSFW.
Clik here to view.

Pygit2 v0.25 发布,Python 的 Git 开发包

Pygit2 v0.25 发布,python 的 Git 开发包 局长 发布于2016年12月27日 收藏 0 还有 13 天,苹果就要关上 HTTP 大门了>>> Pygit2 v0.25 发布了。Pygit2 是一组 Python 绑定到 libgit2 共享库,libgit2 实现了 Git plumbing。该版本更新如下: 升级至 libgit2 0.25 #670...

View Article

Image may be NSFW.
Clik here to view.

Sublime Text 2 配置 Python 开发环境(1)------运行脚本

1.点击工具栏的Preferences,选择Browse Packages,会打开一个文件夹,在打开的文件夹中找到python文件夹 2.在Python文件夹中找到Python.sublime-build,并用Sublime打开 3.改变其中的配置为: { "cmd": ["python", "-u", "$file"], "path": "D://SOFTWARE/Python",...

View Article


Image may be NSFW.
Clik here to view.

wxBot 是用Python包装Web微信协议实现的微信机器人框架

wxBot是用python包装Web微信协议实现的微信机器人框架。 目前的消息支持情况: Web微信协议参考资料: 挖掘微信Web版通信的全过程 微信协议简单调研笔记 qwx: WeChat Qt frontend 微信Qt前端 master-dev 分支为开发版本,用于测试新特性,欢迎使用后提出建议! 1 环境与依赖 此版本只能运行于Python 2环境 。 wxBot用到了Python...

View Article

Type Conversion in Python

python defines type conversion functions to directly convert one data type to another which is useful in day to day and competitive programming. This article is aimed at providing the information about...

View Article


Image may be NSFW.
Clik here to view.

星童医疗全自主研发免疫诊断系统Pylon,为心血管疾病高危人群提供早期诊断

谭洪似乎对技术有着特别坚定的信念,因为每次创业的初衷都源于“这个不合理的问题,可以通过技术进步来解决”。 2001年他从光纤产业转战进入医疗领域创业时的想法过于超前。“当时想着做一个像体温计一样的诊断设备,放在嘴里就可以诊断疾病。” 谭洪说。但很快他发现:他们的技术暂时无法实现“体温计式检测”, 但可以应用在生物医药研发领域。他们便决定进入用于新药研究的分析仪器市场。...

View Article

Image may be NSFW.
Clik here to view.

Python默认版本修改

python默认版本修改 当电脑安装了多个版本的Python,而Shell中默认的Python不是你想要的,这个时候就需要对Python的默认版本进行修改。 在 windows中 ,可以通过修改环境变量的方式来达到目的。 具体做法是在系统属性的高级选项卡中选择 环境变量 : 接着在系统变量中选择Path进行编辑。可以看到系统中安装了Python 3.6以及Anaconda2中的Python...

View Article


Image may be NSFW.
Clik here to view.

Python在实时嵌入式系统开发中扮演的五个主要角色

python已经成为相当热门的程序语言。它以着名的Monty Python喜剧组命名,属于面向对象和解释型语言(非编译型)。该属性使得Python具有良好的跨平台性,比如linux和windows,或是诸如Raspberry Pi等单板计算机。随着Python的日益普及,人们可能会问,在实时嵌入式系统中是否也有Python的一席之地。...

View Article

几个知识点帮你轻松上手Python

python 简介 Python是一种解释型、面向对象、动态数据类型的高级程序设计语言。 Python由Guido van Rossum于1989年底发明,第一个公开发行版发行于1991年。 像Perl语言一样, Python 源代码同样遵循 GPL(GNU General Public License)协议。》》MicroPython/TPYBoard开发板...

View Article

Talk Python to Me: #91 Top 10 Data Science Stories of 2016

Top 10 Stories #1 White House comes out strong on ethics in data : whitehouse.gov #2 Social bots distort the 2016 U.S. Presidential election online discussion : firstmonday.org #3 Data science fails at...

View Article
Browsing all 9596 articles
Browse latest View live