Quantcast
Browsing all 9596 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Weekly digest 10

This is already number ten of the weekly digests! It will highlight the things that happened to and around x64dbg this week. InterObfu An ongoing effort basically sucking all my time has been on a...

View Article


Image may be NSFW.
Clik here to view.

Tableau Dataextract Api Python Rodeo

python, Rodeo, and Tableau Data Extract API Many moons ago, I wrote some code to build a Tableau Data Extract from the work that I had munged together in python . I figured it was time to update the...

View Article


Simple radio data communication using BBC Microbits

The excellent python Mu editor makes it a doddle to get Microbits talking to each other wirelessly check out the awesome firefly project on this page . I thought I’d have a go myself, and in no time...

View Article

Basic Python Object

One of my students wanted a quick example of a python object with getters and setters. So, I wrote a little example that I’ll share. You define this file in a physical directory that is in your...

View Article

Image may be NSFW.
Clik here to view.

人生苦短,我用Python――Python到底是什么鬼?

人生苦短,我用python――Python到底是什么鬼? 一点号河马网络昨天 php?url=0EoVk6eXJb" alt="人生苦短,我用Python――Python到底是什么鬼?" />话说经过一段时间的潜水,河马我又回归头条了……怀着兴奋的心情,河马跟大家分享一下最近学习的Python大法。 简单的说,Python是一种编程语言,1989年出生,粑粑是荷兰人Guido van...

View Article


Image may be NSFW.
Clik here to view.

HMM+Vetebi算法实现词性标注 python实现

隐马尔可夫模型(Hidden Markov Model,HMM)是统计模型,它用来描述一个含有隐含未知参数的马尔可夫过程。其难点是从可观察的参数中确定该过程的隐含参数。然后利用这些参数来作进一步的分析,例如模式识别。...

View Article

Image may be NSFW.
Clik here to view.

How To Implement Logistic Regression With Stochastic Gradient Descent From...

Logistic regression is the go-to linear classification algorithm for two-class problems. It is easy to implement, easy to understand and gets great results on a wide variety of problems, even when the...

View Article

Armin Ronacher: I don't understand Python's Asyncio

Recently I started looking into python's new asyncio module a bit more. The reason for this is that I needed to do something that works better with evented IO and I figured I might give the new hot...

View Article


Image may be NSFW.
Clik here to view.

从零开始搭建论坛(三):Flask框架简单介绍

Oct 30, 2016 | 项目实践 | Hits 前面两篇文章中我们已经了解 Web(HTTP)服务器,Web应用程序,Web框架,WSGI这些 python Web 开发中的概念。我们知道,Web框架通过将不同Web应用程序中的共性部分给抽象出来,提供一系列通用的接口,从而避免开发者做重复性工作,让其将精力放在业务相关的实现。 接下来一起来看一个具体的 Web 框架,这里选择...

View Article


Python内置函数(29)――help

英文文档: help ( [ object ] ) Invoke the built-in help system. (This function is intended for interactive use.) If no argument is given, the interactive help system starts on the interpreter console. If...

View Article

python杂记-1

os模块说明:python os模块包含普遍的操作系统功能 os.access(path, mode) # 检验权限模式 os.chdir(path) # 改变当前工作目录 os.chflags(path, flags) # 设置路径的标记为数字标记。 os.chmod(path, mode) # 更改权限 os.chown(path, uid, gid) # 更改文件所有者...

View Article

Image may be NSFW.
Clik here to view.

[Micropython]TPYBoard开发板制作红外寻迹无线小车

原创版权归山东萝卜科技有限公司所有,转载必须以链接形式注明作者和原始出处。 前面给大家介绍过TPYBoardv102开发板控制加速度无线传感器小车 →猛戳回忆在此← ,下面给大家介绍的是TPYBoard开发板制作红外寻迹小车。 先给大家看一下视频演示吧! 厉害了我的TPYBoard,还是同样的开发板、还是同样的小车!跟着小编一起学起来~...

View Article

Vasudev Ram: Creating an REPL is easy in Python

By Vasudev Ram Read Eval Print Loop It's easy to create a simple python REPL (a Read-Eval-Print Loop) in Python - with code.interact() , that is, with the interact function from the code module in...

View Article


KQ: Simple Job Queue for Python Using Kafka

KQ: Kafka-based Job Queue for python KQ (Kafka Queue) is a light-weight Python library which provides a simple API to queue and process jobs asynchronously in the background. It is backed by Apache...

View Article

conda环境配置

新租了服务器,想做个简单的服务端,测试以下网络质量。刚开始打算用npm的http-server做一个,无奈出问题了。后来还是觉得干脆装个django npm和nodejs的安装 npm可以通过 apt-get install 安装,nodejs只能自己下载安装了(没注意到nodejs带npm,这是后话了)-,- wget下载方式还不是特别熟悉,多番查找了解才勉强会了。 nodejs解压安装方法...

View Article


Django常用三方库

2014,你好! 2014年1月1日 虽说我的记忆还停留在高中,不过事实始终提醒着我:”你丫的别闹了!“哈哈!2014年,要真正的脱离学校步入社会了,几个月之后要告别学生这个身份,真是不舍得阿!再也没有那么长的寒暑假了!...

View Article

Python Insider: Python 3.6.0 beta 3 is now available

python 3.6.0b3 is the third of four planned beta releases of Python 3.6, the next major release of Python. Among the major new features in Python 3.6 are: * PEP 468 - Preserving the order of **kwargs...

View Article


Django + uWSGI部署

英文原文请参照此文: Setting up Django and your web server with uWSGI and nginx 我只是稍微翻译并总结了一下。 对于Django部署来说,选择nginx和uWSGI是一个不错的选择,此教程旨在将Django部署到生产环境的服务器中。当然你也可以使用Apache或者其他的服务器部署方式,不过笔者看来,用uWSGI还是相对简单的。 概念 Web...

View Article

Better Package Management for Python Libraries

This post adds guidance for python libraries to the fantastic write-up, Better Package Management . As a maintainer of a Python library, you can break down managing dependencies into 3 concerns. How...

View Article

【已解决】Flask中把json字符串转换为字典变量

python中,在json字符串和dict字典变量之间转换,用json 但是最近用了Flask的json,去把dict转换为字符串: from flask import json def jsonToStr(jsonDict, indent=2): return json.dumps(jsonDict, indent=2, ensure_ascii=False) 现在需要搞清楚:...

View Article
Browsing all 9596 articles
Browse latest View live