>>> import os
>>> os.getcwd()
'/Users/junhoha'
>>> os.system('ls') Applications PycharmProjects gotoC Applications (Parallels) TakeIT ios_bridge |
>>> os.chdir("~/Documents/GitHub") Traceback (most recent call last): File "<stdin>", line 1, in <module> FileNotFoundError: [Errno 2] No such file or directory: '~/Documents/GitHub' >>> os.chdir("/Users/junhoha/Documents/GitHub") |
>>> os.system('git clone git@github.com:hajunho/takeTouch.git') Cloning into 'takeTouch'... remote: Enumerating objects: 5, done. remote: Counting objects: 100% (5/5), done. remote: Compressing objects: 100% (4/4), done. Receiving objects: 100% (5/5), 5.47 KiB | 5.47 MiB/s, done. remote: Total 5 (delta 0), reused 0 (delta 0), pack-reused 0 0 |
>>> os.chdir('./takeTouch') >>> os.getcwd() '/Users/junhoha/Documents/GitHub/takeTouch' >>> os.listdir() ['LICENSE', 'README.md', '.gitignore', '.git'] |
>>> os.system('open .') 0 >>> os.system('git add *') 0 >>> os.system('git commit -a') |
>>> os.system('git push') Enumerating objects: 52, done. Counting objects: 100% (52/52), done. Delta compression using up to 16 threads Compressing objects: 100% (50/50), done. Writing objects: 100% (51/51), 6.48 MiB | 534.00 KiB/s, done. Total 51 (delta 3), reused 0 (delta 0) remote: Resolving deltas: 100% (3/3), done. To github.com:hajunho/takeTouch.git 214d7fa..e2c8791 main -> main 0 >>> |
>>> def a(f): ... os.system(f) ... >>> |
>>> def a(): ... a = input() ... os.system(str(a)) ... >>> a() ls LICENSE README.md LICENSE 복사본 TakeTouch README 복사본.md Touch.xcodeproj |
( :; LIBDEPS="${LIBDEPS:--Wl,-search_paths_first -L.. -lssl -L.. -lcrypto }"; LDCMD="${LDCMD:-cc}"; LDFLAGS="${LDFLAGS:--DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -arch x86_64 -O3 -DL_ENDIAN -Wall -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM}"; LIBPATH=`for x in $LIBDEPS; do echo $x; done | sed -e 's/^ *-L//;t' -e d | uniq`; LIBPATH=`echo $LIBPATH | sed -e 's/ /:/g'`; LD_LIBRARY_PATH=$LIBPATH:$LD_LIBRARY_PATH ${LDCMD} ${LDFLAGS} -o ${APPNAME:=dummytest} dummytest.o ${LIBDEPS} ) making all in tools... make[1]: Nothing to be done for `all'. |
sudo make install |
쉽진 않네.
'{BE} Python 3.1x' 카테고리의 다른 글
기본 에러 정리 (0) | 2021.05.26 |
---|---|
파이썬 수 체계 (0) | 2021.05.26 |
python 빌드해서 에러 문구 교체해 봄. (0) | 2021.05.26 |
how to see the encoding (0) | 2021.05.26 |
AI 기본은 필수... (0) | 2021.05.20 |