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

reduce() in Python

The reduce(fun,seq) function is used to apply a particular function passed in its argument to all of the list elements mentioned in the sequence passed along.This function is defined in “ functools ”...

View Article


Python 101 Now FREE on Leanpub Permanently

After the amazing response I had when I made python 101 free for a few days a couple of months ago (see here , I have decided to make it free (or Pay What You Want) permanently on Leanpub (PDF, mobi...

View Article


Error Descriptions for System Calls

Working with FUSE to build file systems means inevitably you have to deal with (or return) system call errors. The Go FUSE implementation includes helpers and constants for returning these errors, but...

View Article

Image may be NSFW.
Clik here to view.

数据分析必备书单,先马再说!

数据分析必备书单,先马再说! 一点号互联网早读课2017.1.24 欢迎到早读课投稿,投稿邮箱:mm@zaodula.com有不少人留言希望我推荐数据分析的书单,刚好即将春节,无论是假日学习还是年后,都值得充电。读书最好的时候是学生时期,其次是现在。内容按照如何七周成为数据分析师的顺序。...

View Article

Generate PDF from HTML in django using weasyprint

In most of the web development projects you might want to automate file generation, like for example placeorder confirmation receipts, payment receipts, that can be based on a template you are using....

View Article


Image may be NSFW.
Clik here to view.

New Django Admin with DRF and EmberJS... What are the news?

A couple months ago, I published a post titled "Yes I want a new admin" . Now that more than a few weeks have gone by, I want to bring you up to speed on the progress. In the original post, it was...

View Article

Django Weblog: Django 1.11 alpha 1 released

Django 1.11 alpha 1 is now available. It represents the first stage in the 1.11 release cycle and is an opportunity for you to try out the changes coming in Django 1.11. Django 1.11 has a medley of new...

View Article

Image may be NSFW.
Clik here to view.

Django 1.10中文文档-第一个应用Part3-视图和模板

本教程上接 Django 1.10中文文档-第一个应用Part2-模型和管理站点 。我们将继续开发网页投票这个应用,主要讲如何创建一个对用户开放的界面。 概览 视图是Django应用中的一“类”网页,它通常使用一个特定的函数提供服务,并且具有一个特定的模板。例如,在博客应用中,可能有以下视图: 博客首页 ―― 显示最新发表的博客; 博客“详细”页面 ―― 每博客的链接页面; 基于年份的归档页面...

View Article


Image may be NSFW.
Clik here to view.

Django Debug Toolbar

Django debug toolbar is a nifty little utility to allow you to examine what’s going on under the hood. It’s a fairly easy install and gives quite a lot of info. Installation I’m not going to waste your...

View Article


Ship It Day Q1 2017

Last Friday, Caktus set aside client projects for our regular quarterly ShipIt Day. From gerrymandered districts to Rpython and meetup planning, the team started off 2017 with another great ShipIt....

View Article

Image may be NSFW.
Clik here to view.

Why does Django not email me the 500 internal server error?

You’ve set your EMAIL_* settings correctly, and when you try to send emails with django.core.mail.sendmail() it works. However, Django still does not send you internal server errors. Why? The sender’s...

View Article

使用Python的paramiko模块实现ssh与scp功能

#1. 介绍 这篇文章简单地介绍了python的paramiko模块的用法,paramiko实现了SSH协议,能够方便地与远程计算机交互。简单的说,就是你在terminal下执行的如下语句,现在可以通过python的paramiko实现了。 # 执行shell语句 ssh -i ~/.ssh/id_rsa -p 1098 rds@12.164.145.21-e 'ls -al'#...

View Article

Image may be NSFW.
Clik here to view.

PyTennessee: PyTN Profiles:James Dozier and PyOhio

Speaker Profile: James Dozier ( @thinkcodemake ) James is a Data Analyst for RePublic Schools in Nashville, TN and a self-taught python Developer. Before moving to Nashville this year, he ran a...

View Article


使用Python的Paramiko模块登陆SSH

paramiko是用python语言写的一个模块,遵循SSH2协议,支持以加密和认证的方式,进行远程服务器的连接。 python的paramiko模块可以方便的实现ssh登录,并执行命令。 pycrypto 与 paramiko下载到linux公社资源站下载:...

View Article

使用python编写vim插件

Use a single editor well. The editor should be an extension of your hand; make sure your editor is configurable, extensible, and programmable. - Andrew Hunt...

View Article


Ian Ozsvald: Introduction to Random Forests for Machine Learning at the...

Last night I had the pleasure of returning to London python to introduce Random Forests (this builds on myPyConUK 2016 talk from September). My goal was to give a pragmatic introduction to solving a...

View Article

Image may be NSFW.
Clik here to view.

Python basics for data analysis:

When I was asked to write a post, I decided to share with the NLP community how learning a programming language can help Computational Linguists to optimize their everyday work. Since I started working...

View Article


Image may be NSFW.
Clik here to view.

PyTennessee: PyTN Profiles:Cindy Sridharan and the Python Software Foundation

Speaker Profile: Cindy Sridharan ( @copyconstruct ) I’m a developer based out of San Francisco with a passion for python, Go, Rust, operations, systems programming and infrastructure. I’ve been...

View Article

Image may be NSFW.
Clik here to view.

Uncover machine learning's potential with this Python training collection

Machine learning is revolutionizing the way we use information. From programming self-driving cars to crunchingstock market data, machine learning and its related fields are opening the doors to new...

View Article

Image may be NSFW.
Clik here to view.

How to install Django on Ubuntu (the right way) for novice users

About Django Django is a great web application development framework, especially for the perfectionist with deadlines built into python programming language. It provides a very good structure and easy...

View Article
Browsing all 9596 articles
Browse latest View live