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

Image may be NSFW.
Clik here to view.

PyDev of the Week: Luke Plant

This week we welcome Luke Plant as our PyDev of the Week. Luke is one of the core developers of Django, a very popular python web framework. Luke writes a blog with many articles about Django. If...

View Article


Image may be NSFW.
Clik here to view.

玩转 ASGI:从零到一实现一个实时博客

最终效果 ASGI 、Django Channels 简介 ASGI 的完整说明我在去年做了一个翻译。 ASGI 由 Django 团队提出,为了解决在一个网络框架里(如 Django)同时处理 HTTP、HTTP2、WebSocket 协议。为此,Django 团队开发了 Django Channels 插件,为 Django 带来了 ASGI 能力。 在 ASGI...

View Article


Image may be NSFW.
Clik here to view.

The Python Power Coder Bundle is 95% Off

A fresh new deal from theXDA Depothas us focusing on The python Power Coder Bonus Bundle . This bundle has over 70 hours of content to enhance your resume. Valued at $1,075, this course is currently...

View Article

operator ― Functional Interface to Built-in Operators ― PyMOTW 3

Programming using iterators occasionally requires creating small functions for simple expressions. Sometimes, these can be implemented as lambda functions, but for some operations new functions are not...

View Article

Image may be NSFW.
Clik here to view.

Understanding Virtual Environments in Python

In this tutorial, you'll learn about virtual environments. You'll learn about the importance of using virtual environments in python and how to get started with using virtual environments. What Is a...

View Article


Largest permutation after at most k swaps

Given a permutation of first n natural numbers as array and an integer k. Print the lexicographically largest permutation after at most k swaps Input: arr[] = {4, 5, 2, 1, 3} k = 3Output: 5 4 3 2...

View Article

Playing with RabbitMQ (part 2). Now with Python

Do you remember the las post aboutRabbitMQ? In that post we created a small wrapper library to use RabbitMQ with node and php. I also work with python and I also want to use the same RabbitMQ wrapper...

View Article

Image may be NSFW.
Clik here to view.

An interview with Davis King, creator of the dlib toolkit

In today’s blog post, I interview Davis King , the creator and chief maintainer of dlib ― a toolkit for real-world machine learning, computer vision, and data analysis in C++ (with python bindings...

View Article


Python 输入输出 数据类型 变量

python输入输出 数据类型 变量 输入输出 print()在Python3中是函数 >>>print('hello world') #print注意print前面不要有任何空格 print输出多个字符,中间用逗号连接,最后输出的时候回替换成空格 name = input() 在交互行弹出,输入的内容会存name变量 Python基础...

View Article


Image may be NSFW.
Clik here to view.

Data Science from Scratch: First Principles with Python : Exclusive Book Review

python is one of the most popular programming language for big data analysis. Python is also favorite language of many data scientists. The simplicity of python makes it a preferred choice for many...

View Article

Image may be NSFW.
Clik here to view.

HMM三个基本问题的数学推导及python实现

计算观测序列概率主要有前向(forward)和后向(backward)算法,以及概念上可行但计算上不可行的直接计算法(枚举)。 直接计算法 给定模型,求给定长度为T的观测序列的概率,直接计算法的思路是枚举所有的长度T的状态序列,计算该状态序列与观测序列的联合概率(隐状态发射到观测),对所有的枚举项求和即可。在状态种类为N的情况下,一共有N^T种排列组合,每种组合计算联合概率的计算量为T,总的复杂度为...

View Article

Image may be NSFW.
Clik here to view.

How to select a bounding box ( ROI ) in OpenCV (C++/Python) ?

In this tutorial, we will learn how to select a bounding box or a rectangular region of interest (ROI) in an image in OpenCV. In the past, we had to write our own bounding box selector by handling...

View Article

Predicting Yelp Stars from Reviews with scikit-learn and Python

In this post, we’ll look at reviews from the Yelp Dataset Challenge. We’ll train a machine learning system to predict the star-rating of a review based only on its text. For example, if the text says...

View Article


Image may be NSFW.
Clik here to view.

QGIS Python Programming Cookbook - SECOND EDITION

The second edition of the " QGIS python Programming Cookbook " is out today from Packt Publishing! And after my second publishing experience writing about QGIS, I can enthusiastically say it is one of...

View Article

Image may be NSFW.
Clik here to view.

Using a Sure Electronics LCD with the Raspberry Pi using Python

After receiving a new Raspberry Pi 3 at Christmas I quickly set off looking for uses for this wonderful machine, and quickly found myself hooking it up to an LCD display. This post covers the python...

View Article


Image may be NSFW.
Clik here to view.

How to Install a Python 3 Environment on Mac OS X for Machine Learning and...

It can be difficult to install a python machine learning environment on Mac OS X. Python itself must be installed first, and then there are many packages to install, and it can be confusing for...

View Article

Getting Started with AWS Device Farm and Python Appium

AWS Device Farm is a service for running mobile app integration tests against a suite of physical devices. The Amazon documentation is exhaustive, and they support many different API clients. However,...

View Article


Image may be NSFW.
Clik here to view.

Introducing Domino 2.0

Web-scale Model Deployment and Much More When we began building Domino, we believed we would make the best product by deeply understanding the pain that data scientists feel on a day-to-day basis. That...

View Article

Image may be NSFW.
Clik here to view.

Cloudera 发布自助式数据科学开发环境 原生支持 R、Python、Scala 和各大开源框架

Cloudera 发布自助式数据科学开发环境 原生支持 R、python、Scala 和各大开源框架 昨天来源:雷锋网 php?url=0FrY8YuHxc" alt="Cloudera 发布自助式数据科学开发环境 原生支持 R、Python、Scala 和各大开源框架" />雷锋网消息,在昨日圣何塞举行的 Strata+Hadoop World 大会上,美国大数据服务商 Cloudera...

View Article

Good Python Code to Read

Note: This is a living document - I updat it anytime I discover a good piece of python code. Newest entries are first. Updated: March, 14th The Why I consider reading code as one of the ways to improve...

View Article
Browsing all 9596 articles
Browse latest View live