윤태훈의 첫 모듈. 0.1.7 버전이 나왔습니다!, 버그 수정과 편의성 업데이트, 새로운 함수 추가!, 그리고 이번엔 설명도 추가했습니다.
Project description
thuny module (v0.1.7)
새로운 기능 및 함수 설명
1. AIsay
텍스트를 인공지능이 말하는 것처럼 한 글자씩 타이핑 효과를 주며 출력합니다.
뒤 기다리는 시간은 필수가 아닙니다. (기본값 : 0.3)
- 사용법:
thuny.AIsay(print_thing, wait_second)
2. ifnum
입력받은 값이 숫자인지 확인하여 True 또는 False를 반환합니다.
- 사용법:
if thuny.ifnum(data):
print("숫자입니다.")
3. clear
터미널(CMD, 터미널 창)의 화면을 깨끗하게 지웁니다. 운영체제와 상관없이 동작합니다.
- 사용법:
thuny.clear()
4. loading
지정한 시간 동안 진행 상태를 보여주는 로딩바를 화면에 띄웁니다.
그리고 뒤 메시지들은 필수가 아닙니다.(기본값 : '처리중...' 이랑 '완료!')(그리고 wait_second기본값은 3)
- 사용법:
thuny.loading(wait_second, do_message, end_message)
5. terminal_title
터미널 창(CMD)의 상단 제목을 원하는 이름으로 변경합니다.
- 사용법:
thuny.terminal_title(title_name)
6. is_admin
현재 프로그램을 실행 중인 사용자가 관리자 권한을 가지고 있는지 확인합니다.
- 사용법:
if thuny.is_admin():
print("관리자 권한입니다.")
7. chnlstr (change_list_to_string)
리스트(List) 형태의 데이터를 하나의 문자열(String)로 합쳐서 반환합니다.
- 사용법:
text = thuny.chnlstr(['list'])
8. mdedld (module_download)
pip 명령어를 직접 입력하지 않고 코드 내에서 필요한 모듈을 바로 다운로드합니다. (실행 시 메시지가 출력됩니다.)
- 사용법:
thuny.mdedld(module_name)
9. pyshell
파이썬의 기본 대화형 쉘(Interactive Shell) 창을 즉시 띄웁니다.
- 사용법:
thuny.pyshell()
10. filelist
현재 파이썬 파일이 실행되고 있는 폴더 내의 모든 파일 목록을 출력합니다.
- 사용법:
thuny.filelist()
11. nth_root_of_x
숫자의 n제곱근 값을 계산하여 반환합니다.
n의 기본값은 2입니다.(한 마디로 n은 필수가 아닙니다.)
- 사용법:
result = thuny.nth_root_of_x(num, n)
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.7.tar.gz.
File metadata
- Download URL: thuny-0.1.7.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba8f877d0054ae92aa0e617c9baba6a1a2b0a937f3ab944566e4d23cee8ad5cf
|
|
| MD5 |
239fdfd3e517cdf504dccb1dddff8de7
|
|
| BLAKE2b-256 |
513c30c14f332b0d6271a3c11b8e3c4c7a15ccb69693292577c42205632a2c5d
|
File details
Details for the file thuny-0.1.7-py3-none-any.whl.
File metadata
- Download URL: thuny-0.1.7-py3-none-any.whl
- Upload date:
- Size: 3.9 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 |
71fe20288650a53c156a6287802cda1a83fed91425ed47a463844c275a7e039a
|
|
| MD5 |
8f1f7263ecb1762d6ceafd5b598d04c7
|
|
| BLAKE2b-256 |
2cd3c47a3bd5218f139c31dcc6662da160bd5921e6ff104e0ce493e0934b7b94
|