윤태훈의 첫 모듈. 0.1.5 버전이 나왔습니다!, 버그 수정과 편의성 업데이트, 새로운 함수 추가!
Project description
###thuny moudule
이번에 0.1.5버전이 나왔습니다.
이번엔 AIsay, ifnum, clear, loading, terminal_title, is_admin, chnlstr, mdedld, pyshell, filelist, nth_root_of_x들이 추가되었습니다.
각각의 효과를 알아보겠습니다.
#AIsay
이 함수는 말 그대로 에이아이처럼 텍스트를 출력합니다.
사용법 : python thuny.AIsay("text", "wait_second(Not required.)")
#ifnum
말 그대로 숫자인지 확인하고 True/False를 return합니다.(블리언(boolean)return)
사용법 : python if thuny.ifnum(num):
#clear
이 함수는 터미널 화면을 깨끗하게 지웁니다.
모든 컴퓨터에서 적용되 사용이 편함니다.
사용법 : python thuny.clear()
#loading
이 함수는 로딩바를 지정한 초만큼 띄움니다.
사용법 : python thuny.loading(second, "error message(Not required.)")
#terminal_title
이 함수는 터미널(cmd)의 제목을 바꿈니다.
예를 들어, 기본 제목이 '명령 프롬프트(or command prompt)'라면 제목을 입력한 값(예: 태훈이의 게임)으로 바꾸는 것입니다.
사용법 : python thuny.terminal_title("title_name")
#is_admin
컴퓨터의 사용자가 관리자 권한을 가지고 있는지 확인합니다.
사용법 : python thuny.is_admin()
#chnlstr
이 함수는 change_list_to_string의 줄임말로, 말 그대로 리스트 타입의 데이터를 글자타입의 데이터로 바꿉니다.
사용법 : python thuny.chnlstr(list_type_data(or_variable))
#mdedld
module_download의 약자로, 말 그대로 pip로 모듈을 다운로드 합니다. 이거는 메시지를 출력하기 떄문에 사용에 주의하시기 바랍니다.
사용법 : python thuny.mdedld("module_name")
#pyshell
이 함수는 파이썬 셀 창을 띄움니다.
기본으로 파이썬 프로그램 띄웠을 때 그 대화형 창. 그거입니다.
사용법 : python thuny.pyshell()
#filelist
이 함수는 현재 실행하고 있는 위치 폴더 안에 있는 모든 파일을 출력합니다.
사용법 : python thuny.filelist()
#nth_root_of_x
이 함수는 받은 값 n루트값을 retrun합니다.
n의 기본 값은 2입니다.
사용법 : ```python variable = thuny.nth_root_to_x(num, n(ratio)(Not required.))
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file thuny-0.1.5.tar.gz.
File metadata
- Download URL: thuny-0.1.5.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
abf4894b9eb7c3f0bcc0eb9cdc1e0c93607d98139573ee1f275d2d4d4e2b9221
|
|
| MD5 |
5a00495a756d9229f392c25020a48b4e
|
|
| BLAKE2b-256 |
13ef2e4801f63d8274649c1b74461d52c6ee089ddb3182ecb400feb6e2460f54
|
File details
Details for the file thuny-0.1.5-py3-none-any.whl.
File metadata
- Download URL: thuny-0.1.5-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e81e4e27407210c2724d80da0131745065df5f7767fb042cf6acbca2eff453f
|
|
| MD5 |
3ad433084fb3a5f60dcd460a56dc0c4b
|
|
| BLAKE2b-256 |
9d70c7d3fcd572d3ebf41ce216e28e3656c205a9f334b0f0717f549b3be5b6ba
|