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

Python Exception Handling Basics

Exceptions are a crucial part of higher level languages, and although exceptions might be frustrating when they occur, they are your friend. The alternative to an exception is a panic ― an error in...

View Article


Image may be NSFW.
Clik here to view.

Python引力波火了 你该了解的开源框架

第1页:Django和Twisted 今年年初,有一件科学界的大事儿曾刷爆朋友圈:引力波的发现。这是LIGO首次直接探测到引力波和首次观测到双黑洞碰撞与并合,探测到的引力波是由13亿光年之外的两颗黑洞在合并的最后阶段产生的,经过13亿光年的时空旅行,最后被美国的“激光干涉引力波天文台”(LIGO)的两台孪生引力波探测器探测到的。...

View Article


Image may be NSFW.
Clik here to view.

Python for Feature Film: Programming Images to Life

python For Feature Film Pythonis a programming language that has become integral to the movie making process over the last few years. There’s rarely an animated feature or visual effects film, if any,...

View Article

Image may be NSFW.
Clik here to view.

Running Python in Xcode: Step by Step

As I’m preparing for a project that will involve python programming, I need to get up to speed with at least a basic level of Python mastery. However, I’m not a big fan of using the interactive Python...

View Article

Python Tutorial - User Input and Output

View the full playlist on YouTube: Learn python - Build a Cookbook Transcript Hello this is NanoDano at DevDungeon.com with the next video in the Python Cookbook series. The previous videos explain...

View Article


Image may be NSFW.
Clik here to view.

初探接口测试框架--python系列7

点击标题下「蓝色微信名」可快速关注 坚持的是分享,搬运的是知识,图的是大家的进步,没有收费的培训,没有虚度的吹水,喜欢就关注、转发(免费帮助更多伙伴)等来交流,想了解的知识请留言,给你带来更多价值,是我们期待的方向,有更多兴趣的欢迎切磋,我们微信订阅号,联系方式如下: 更多书籍,敬请期待 背景说明...

View Article

Image may be NSFW.
Clik here to view.

『 读书笔记 』9月,10月读书总结|博文推荐

写在前面 计划是每月读 5-10 本书,书籍类型大概是三个方面的:金融,技术,创业。之所以选择这三个方面,一方面是因为自己对这三个方面都很有兴趣,其次是被 linkedin 创始人 Hoffman 的 ABZ 理论 深度影响。建议大家都看看 abz 理论那篇文章,如果我有空,也会整理一些常用的这类理论模型到博客里的。...

View Article

Image may be NSFW.
Clik here to view.

Pwnhub Classroom Writeup

页面中有一个js: http://54.223.46.206:8003/static/js/login.js 发现是能够进行文件读取的(具体见: http://wooyun.jozxing.cc/static/drops/papers-5040.html ),但是对conf、py等后缀做了限制。 通过http的返回头也知道一些信息:Server:gunicorn/19.6.0...

View Article


Image may be NSFW.
Clik here to view.

第十七章 Python网络编程

Socket简介 在网络上的两个程序通过一个双向的通信连接实现数据的交换,这个链接的一端称为一个Socket(套接字),用于描述IP地址和端口。 建立网络通信连接至少要一对端口号(Socket),Socket本质是编程接口(API),对TCP/IP的封装,提供了网络通信能力。 每种服务都打开一个Socket,并绑定到端口上,不同的端口对应不同的服务,就像http对应80端口。...

View Article


16.3 Python descriptor-property

16.3 python descriptor-property 昨天来源:CSDN博客 ,,建造描述符对象需要一个描述符类,如果只需要一个描述符对象就定义一个类的话,感觉有点坑啊,Python这么机智,肯定有建造描述符对象的简便方法…就是property啦。property官网解释).fget is a function for getting an attribute value. fset is...

View Article

Image may be NSFW.
Clik here to view.

理解 Python 并发编程一篇就够了(线程篇)

前言 编程的乐趣之一是想办法让程序执行的越来越快,代码越写越优雅。在刚开始学习并发编程时,相信你它会有一些困惑,本来这是一篇解释多个并发开发的问题并帮助你快速了解并发编程的不同场景和应该使用的解决方案的文章,但是受微信文章长度限制和笔者对阅读体验的担心,把它分成一系列文章。今天是第一篇 - 线程篇。 GIL...

View Article

Jean-Paul Calderone: Twisted Web in 60 Seconds: HTTP/2

Hello, hello. It's been a long time since the last entry in the "Twisted Web in 60 Seconds" series. If you're new to the series and you like this post, I recommend going back and reading theolder...

View Article

The Right Kind Of Fun

A couple of weeks ago I went to see “Together Again At Last…For The Very First Time” by John Cleese and Eric Idle at the Center for the Performing Arts in San Jose. I hope all of you recognize both...

View Article


新人Vizard学习第一天开始<只记录自己的学习过程>

Vizard也不知道有多少人在一起研究学习,首先要提一下python ,因为Vizard 里的程序编写是完全通过 Python 程序语言来实现的。Python 程序语言应用广泛,Vizard 是 Python 的一个应用程序。Python 作为开源语言,也拥有巨大的用户群以及海量的免费资源。 首先下载Vizard Teacher in a Book,Vizard Teacher in a Book...

View Article

Image may be NSFW.
Clik here to view.

4 likely future twists for Python

python's best times may be yet to come.The language is broadly popular and widely deployed, and it's a staple presence in many fields enjoying explosive growth, such as machine learning. What lies...

View Article


Image may be NSFW.
Clik here to view.

Pwnhub第一期题目-找个帮手 wp

很开心再次有这么一个平台,感谢长亭的师傅们:) 一个关于python的小代码审计 首先发现static目录,测试发现可任意读取文件,然后发现过滤了py,但pyc没有过滤,引人 深思,burp看了下发现是django,CPython/3.5.2,发现了存在pyc文件: urls/ init /views/models 于是下载下来: Desktop curl...

View Article

PWNHUB Web第一题writeup

题目地址 http://54.223.46.206:8003/ 首先在HTTP头中可以看到 Server:gunicorn/19.6.0 Django/1.10.3 Cpython/3.5.2 ,引用的站内资源只有一个js,然后回想起ph师傅的写过的Python web安全的文章 http://www.lijiejie.com/python-django-directory-traversal/...

View Article


Using Go's 'context' library for making your logs make sense

One of the shiny new toys in Go 1.7 is the ‘context’ library. Not shiny as in it is genuinely new. It started out at golang.org/x/net/context , which is where you’ll need to import it from if you’re...

View Article

Image may be NSFW.
Clik here to view.

Long Call Butterfly Strategy on Python

Long Call Butterfly Strategy on python By Milind Paradkar We talked about Covered Call Strategy in a previous article on the blog. Now, we shall talk about the Long Call Butterfly. The Long Call...

View Article

Image may be NSFW.
Clik here to view.

Mike Driscoll: PyDev of the Week: Alex Clark

This week we welcome Alex Clark ( @aclark4life ) as our PyDev of the Week! Alex is the person the pillow project, which is a “friendly” fork of the python Imaging Library. Alex writes at his own...

View Article
Browsing all 9596 articles
Browse latest View live