View Code? Open in Web Editor
NEW
Learn Python the Hard Way template for 2018 March semester
Python 41.72%
Jupyter Notebook 53.85%
Shell 4.43%
18pf_lpthw_template's Introduction
컴퓨터 프로그래밍 기초 Computer Programming Fundamentals
이강원, 한국산업기술대학교
KangWon LEE, Korea Polytechnic University
천인국, 어서와 파이썬은 처음이지!, 2016, 인피니티 북스, ISBN 1185578234
박응용, 점프 투 파이썬 , 2016 이지스퍼블리싱 [Online] Available https://wikidocs.net/book/1
ANK, 파이썬이 보이는 그림책, 2018, 성안당, ISBN 978-89-315-5565-3
Pilgrim, Dive into Python 3 , 2009, Apress [Online] Available http://www.diveintopython3.net
Beazley, Python Essential Reference 2nd Ed, 2001, Sams
Interactive Python
앨런 다우니, 씽크 파이썬 2판, 2017, 길벗, ISBN 979-11-6050-286-2
Downey, Think Python 2nd Ed, 2015, O'Reily Media, ISBN 978-14-9193-936-9 [Online] Available http://greenteapress.com/thinkpython/html/index.html
알 스웨이가트, 파이썬 프로그래밍으로 지루한 작업 자동화하기, 2017, 스포트라잇북
Sweigart, Automate the Boring Stuff with Python, 2015, No Starch Press, ISBN 978-1593275990
Git 버전 관리 SW Git Version Control SW
추천 개발 환경 Recommended Development Environment
GitHub Classroom Assignment
18pf_lpthw_template's People
Contributors
18pf_lpthw_template's Issues
tag before release
tag a commit before release
to distinguish commits afterward
what about modifications after release?
kangwonlee/reposetman#1
Ctrl +→
Ctrl +h
F2
Ctrl +Alt +↓ ↓
Command options
One commend per line
3e00ba7
ex47_automated_testing/copy_from_ex46.py
file may need to test
separate as a subtree?
Frequent mistake examples
Video tutorials?
input() needs keyboard input
PowerShell?
git bash?
Windows bash?
Motivation
Current repository set manager works but requires running manually
Sometimes faster responses could be more desirable
Existing literature
Action plan
See if utilizing webhooks [0 ] [1 ] possible
Push trigger available
Which service to use? Travis-CI
? Azure
?
Is educational pricing option available?
Expense
GitHub Edu may not come with Travis-CI
Tests
Count number of commits
Count bytes of comments
Run each script
Send record to a summary table
Webhook deployment
Travis-CI
What if a student changes the .travis.yml
file?
Semester vs Weekly
According to the video tutorial , weekly may work better
If weekly, configuring 300+ links may take some time?
python -m pdb <filename>
h
l
n
and s
r
, b
and tb
q
:e
i and ESC
:w
, :q
, :wq
, :q!
Ctrl +p
w , b , ^ , $
u ↔ Ctrl +p
d w , d d , <number>
d w
:<line number>
, :$
yy → p
/<pattern>
& n
:split
and Ctrl +w twice
'\' may show up differently on some keyboards
How to pass command line argument
may need to git merge -Xsubtree=<folder> … --allow-unrelated-histories
Github saysgit pull -s subtree remotename branchname
Also, pushing commits from the top level to the subtree repository seems to create duplicate commitsgit push <subtree repo>
git subtree split --prefix= :<subtree repo branch>
Then it seems more reasonable to work within a subtree, push to subtree remote, and git pull -s subtree ...
ex 05 units in variable names
git log
명령 실행시 Q Enter Space 사용법 안내 필요
ex10 includes making a memory card for escape sequences.
What about a table template?
ex15
ex16
ex17
utf8 worked better
#33 , #31
Refactor a bash
tutorial subtree
git subtree add --prefix=bash_tutoral <remote> master
otherwise, might be too difficult
ex 13 : new video on finding how to find python path using working PyCharm or spyder
desirable?
.idea/
.vscode/
git stash
에 대한 설명 추가
git diff --staged
사례로 추가
git add -p
사례 설명 추가
apply changes after initial release
github API
Credential Manager might be helpful for a student's PC but not for a computer lab PC
Motivation
Currently this repo is like a master repo
1903 or 1909 repos are like deployment repos
Automate the process
Plan
From the master branch of this repo
(For now) locally copy selected files from one repo to another
Manually push to the deployment repo(s)
Microsoft Store
Search Windows Terminal
Found Windows Terminal (Preview)
Windows 10 18362.0 or later
Windows Terminal
Start as a PowerShell
Can add a new tab as a PowerShell
To run as bash
, Ubuntu for Windows seems necessary
WSL enable / disable seems available in the Control Panel
Control Panel
Back to MS Store
Ubuntu by Canonical Group
Download & Start → Install
Windows Terminal
Question
Which is simpler? git-bash? or Windows Terminal?
Anaconda 2018.12 seems to have some problem with matplotlib
and numpy
Installing from .yml
recipe works; so miniconda
would be fine == testing with miniconda
alone may not be sufficient
Try to regenerate a situation when a student tries to start of his/her own