Vasudev Ram: Jal-Tarang, and a musical alarm clock in Python
By Vasudev Ram Hi readers, Season's greetings! After you check out this video ( Ranjana Pradhan playing the Jal Tarang in Sydney, 2006, read the rest of the post below ... Here is a program that acts...
View ArticlePyCharm 2017.1 EAP 发布,Python IDE
PyCharm 2017.1 EAP 版发布了。PyCharm 是一种 python IDE,带有一整套可以帮助用户在使用 Python 语言开发时提高其效率的工具,比如调试、语法高亮、Project 管理、代码跳转、智能提示、自动完成、单元测试、版本控制。此外,该 IDE 提供了一些高级功能,以用于支持 Django 框架下的专业 Web 开发。 该版本包含 以下内容 :...
View ArticleSimple Interactive View Controls for pandas DataFrames Using IPython Widgets...
A quick post to note a couple of tricks for generating simple interactive controls that let you manipulate the display of a pandas dataframe in a Jupyter notebook using Ipython widgets. Suppose we...
View ArticleVery powerful data analysis environment org mode with ob-ipython
Introduction Emacs org-mode with ob-ipython is the most powerful data analysis environment I ever used. I find it much more powerful than other tools I used, including jupyter and beaker web notebooks...
View ArticlePython subprocess.Popen communicate() 和wait()使用上的区别
之所以会纠结到这个问题上是因为发现在调用Popen的wait方法之后程序一直没有返回。google发现wait是有可能产生死锁的。为了把这个问题彻底弄清楚,搜索一些资料过来看看: 原文链接:http://blog.csdn.net/carolzhang8406/article/details/22286913 看到别人的例子: 今天遇到的一个问题。简单说就是,使用 subprocess 模块的...
View Articleboost.python笔记
boost.python笔记 标签: boost.python,python, C++ 简介 Boost.python是什么? 它是boost库的一部分,随boost一起安装,用来实现C++和Python代码的交互。 使用Boost.python有什么特点? 不需要修改原有的C++代码,支持比较丰富的C++特性。不会生成额外的python代码(像SWIG那样),但是需要写一部分C++的封装代码。...
View ArticlePython3中的字符串函数学习总结
这篇文章主要介绍了python3中的字符串函数学习总结,本文讲解了格式化类方法、查找 & 替换类方法、拆分 & 组合类方法等内容,需要的朋友可以参考下。 Sequence Types sequence类型有六种:strings, byte sequences (bytes objects), byte arrays(bytearray objects), list, tuple,...
View Article怎样清除环境变量
因为错误设置环境变量,gcc坏掉了 checking for gcc... gccchecking whether the C compiler works... noconfigure: error: in `/root/mod_gnutls-0.7.5':configure: error: C compiler cannot create executablesSee `config.log'...
View Article使用Python进行并发编程-asyncio篇(三)
这是「使用python进行并发编程」系列的最后一篇。我特意地把它安排在了16年最后一天,先祝各位元旦快乐。 重新实验上篇的效率对比的实现 在第一篇我们曾经对比并发执行的效率,但是请求的是httpbin.org这个网站。很容易受到网络状态和其服务质量的影响。所以我考虑启用一个本地的eb服务。那接下来选方案吧。 我用sanic提供的 不同方案的例子...
View Article留一句箴言,送一本好书 | 喜迎2017
在2017年的前夜,祝所有朋友们元旦快乐!这一年来感谢你们的陪伴与支持,如果对我们有什么建议或意见,都可以在这里留言给我们,我们会在2017年积极改进,争取让作者们、译者们、读者们都喜欢融入到我们的大家庭中来。 在小编唠叨之前,先说明赠书活动参加方法。 留一句箴言,送一本好书, 把你最想对我们说的话评论在本文中,尽情畅所欲言,我们都会仔细阅读。只要认真评论的,都有好书相赠。 评论时请回复书名。...
View ArticleKnn sklearn, K-Nearest Neighbor implementation with scikit learn
K-nearest neighbor implementation with scikit learn Knn classifier implementation in scikit learn In the introduction to k nearest neighbor and knn classifier implementation in python from scratch, We...
View ArticleImport Python: ImportPython Issue 105 - Modern Dict, Tidy / sanitize data,...
Modern Dictionaries by Raymond Hettinger : python Python's dictionaries are stunningly good. Over the years, many great ideas have combined together to produce the modern implementation in Python 3.6....
View Articlepython 添加tab补全
在平时查看python方法用到tab补全还是很方便的。 1. mac 平台 配置如下: mac是类Unix平台,需要在添加一条配置内容到bash_profile 中(默认是没有这个文件,可以新建一个放在宿主目录下面) 先新建一个tab.py的文件内容如下: import rlcompleter,sys,readline if sys.platform == 'darwin' and...
View ArticleOSINT Github Dorks
Github search is quite powerful and useful feature and can be used to search sensitive data on the repositories. Collection of Github dorks that can reveal sensitive personal and/or organizational...
View Articlepython之提速千倍爆破一句话
本帖最后由 Binghe 于 2016-12-19 16:14 编辑 难易程度★★★ 阅读点 完整的原理解读与工具开发过程详述 文章作者Binghe 文章来源i春秋原创奖励计划 时间 2016年12月19日12.00 前言:最初思路源于T00ls版主 接地气 ,一个低调、热心的安全研究者。向技术研究者和分享者致敬!!! 文章目录: 0x01 原理解读 0x02 开始实现 0x03 实战测试...
View ArticleJSM Bypass via createClassLoader
30 Dec 2016 - Demon [+] Author: Demon [+] Team: n0tr00t security team [+] From: http://www.n0tr00t.com [+] Create: 2016-12-30 JSM(Java Security Manager),又名java安全管理器,经常被用于java进程中的一些权限限制和保护的作用,类似 php 中的...
View Articleflask+sqlite3+echarts2+ajax数据可视化
前提: 准备 python+Flask+Sqlite3 的平台环境 (windows 系统) 前面一节介绍flask怎么安装了,剩下sqlite3下载后解压,然后环境变量添加解压路径就行了 附加下载地址: http://www.sqlite.org/2016/sqlite-tools-win32-x86-3150200.zip 项目的目录结构 /www | |--/static...
View Article揭秘Python(二)
揭秘python(二) 一点号linux运维黑匣子昨天 前面介绍完Python是什么能干什么了现在就来讲一讲安装了,其实我建议各位在现阶段上还是在windows上安装的好,因为安装简便(跟所有windows上安装的软件一样选择好安装路径一路下一步就可以了)不需要考虑系统变量之类的东西。这里需要注意的是安装完成后并不会在桌面上创建快捷方式,而是要在开始菜单中。如下图所示。...
View ArticleThe python arch module for financial econometrics.
This python module arch : is a work-in-progress for ARCH and other tools for financial econometrics, written in Python (and Cython) . The arch python module come with tools for: Univariate volatility...
View ArticleData analysis and Visualization with Python
python is a great language for doing data analysis, primarily because of the fantastic ecosystem of data-centric Python packages. Pandas is one of those packages, and makes importing and analyzing...
View Article