Python으로 website를 돌리는것을 배우려고 강좌를 하나 봤는데 꽤 재밌고 빠르고 짧다.
문제는 python language가 그렇듯 high level abstraction이 쉬운것처럼 보이지만 반대로 상당히 이해하기 어렵다. 말은 쉬운데 진짜로 만들기 어려운것 처럼. 하여간 output을 만들면 짧고 간견하세 maintenance는 쉬울듯.
이번에 Python으로 inventory check하는 프로그램을 만들려고 하는데 이것으로 하면 재밌겠다.
------------
Up and Running with Python and Django
http://www.lynda.com/Developer-Web-Development-tutorials/Up-Running-Python-Django/386287-2.html
https://www.djangoproject.com/
http://djangogirls.com
*Need pip
sudo apt-get install python-pip
django-admin startproject <project_name>
manage.py runserver
*FIles
__init__.py
wggi.py : hook for web
urls.py
settings.py : DEBUG, Database
- Models - data layer
model.py
-Migration
manage.py
manage.py migrate --list
manage.py makemigration
manage.py migrate
*SQL browser
http://sqlitebrowser.org/
URL Patterns -> Views -> Templates
|
|
|
Models
*New text editor
http://www.sublimetext.com/2
------------
Barcode scanner
https://play.google.com/store/apps/details?id=com.google.zxing.client.android&hl=en
https://github.com/zxing/zxing
ZXing-based third-party open source projects
Module | Description |
---|---|
QZXing | port to Qt framework |
zxing-cpp | port to C++ (forked from the deprecated official C++ port) |
zxing_cpp.rb | bindings for Ruby (not just JRuby), powered by zxing-cpp |
python-zxing | bindings for Python |
ZXing .NET | port to .NET and C#, and related Windows platform |
Other related third-party open source projects
Module | Description |
---|---|
Barcode4J | Generator library in Java |
ZBar | Reader library in C99 |
OkapiBarcode |
'Programming' 카테고리의 다른 글
VIM resource file (0) | 2015.09.30 |
---|---|
Python - Date, Time (0) | 2015.09.29 |
Regular Expression (0) | 2015.09.25 |
Book - EXCEL Hacks (0) | 2015.09.24 |
file/directory 비교 tool - Meld (0) | 2015.09.24 |