Apr
01
Django CLI Cheatsheet
Published 15:04 Apr 01, 2021 by @ezra.
#Programming# Preparing enviro­nnement
mkdir projec­t_name && cd $_
Create project...
Mar
20
Switch-Case Statements Are Coming to Python
Published 15:03 Mar 20, 2021 by @ezra.
#Programming# Python 3.10 is beginning to fill-out with plenty of fascinating new features. One of those, in parti...
Jan
02
Keep Django server running after close ssh session
Published 12:01 Jan 02, 2021 by @ezra.
#Programming# Meet screen
Connect through ssh, start screen. This open a virtual console emulator on top of the on...
Nov
09
Python Handbook
Published 10:11 Nov 09, 2020 by @ezra.
#Programming# Introduction to Python
Python is literally eating the programming world. It is growing in popularit...
Apr
08
Combining QuerySets in Django
Published 11:04 Apr 08, 2020 by @ezra.
#Programming# QuerySet the Django Way
Django's documentation is pretty straightforward about the QuerySet API. It...
Jan
23
Complete Python Cheatsheet
Published 14:01 Jan 23, 2020 by @ezra.
#Programming# Basic cheatsheet for Python mostly based on the book written by Al Sweigart, Automate the Boring Stu...
Jan
21
Tkinter Cheatsheet
Published 10:01 Jan 21, 2018 by @ezra.
#Programming# Hello World
We always need to follow two steps no matter how big the application is, there is always...
Dec
29
A Bite of Python
Published 12:12 Dec 29, 2016 by @ezra.
#Programming# 不可不知的Python陷阱
由于易于学习以及快速开发更大更复杂的应用, Python 渐渐在计算环境中无处不在。尽管明显的语言清晰度和友好会麻痹软件工程师和系统管理员的警觉性,诱使他们编码可能会有严重...
Mar
02
ShellPy: A tool for convenient shell scripting in Python
Published 12:03 Mar 02, 2016 by @ezra.
#Programming# Python 与 Shell 相信大家都不陌生,但你有没有想象过在 Python 中写 Shell 指令呢?如果你有兴趣,就一起来看看 ShellPy 吧!
安装 Installation
Shell...
Feb
08
Python: 构建包的那些事
Published 12:02 Feb 08, 2016 by @ezra.
#Programming# 一般来说构建一个包是很简单的事情,许多人只把一堆模块都放进一个有 __init__.py 文件的目录里面,但是,随着对包的修改越来越多,糟糕的设计就会变得臃肿、脆弱,甚至带来循环依赖问题。
__ini...
Jan
28
StaSh: Shell Like an Expert in Pythonista
Published 12:01 Jan 28, 2016 by @ezra.
#Programming# StaSh is a serious attempt to implement a Bash-like shell for Pythonista, inspired by shellista and ...
Sep
06
Python : Tips for Beginners
Published 12:09 Sep 06, 2015 by @ezra.
#Programming# Here are some useful tips and tricks in Python for beginners to the language who's coming from a tra...