Frequently used processes are made into functions
Project description
pyfunc_happyset
Overview
Pythonの自分的便利関数詰め合わせセット
Requirement
- MacOS
- Python 3.11.5
Features
データ取得系
- csvファイルから読み込んでリストにする : Get_csv2List
- テキストファイルから任意の区切り文字で読み込んでリストにする : Get_text2List
- 指定したリストの重複を削除する : Get_uniqueList
- 辞書型で値からキーを取得する : Get_keyFromValue
データ書き込み
- 1次元配列を指定したファイルの末尾に追加する : Write_a_1dlist
- 2次元配列を指定したファイルの末尾に追加する : Write_a_2dlist
- 1次元配列を指定したファイルに上書きする : Write_w_1dlist
- 2次元配列を指定したファイルに上書きする : Write_w_2dlist
ファイル操作
- 指定したディレクトリの下にあるディレクトリの名前をリストで返す : Get_dirList
- 指定したディレクトリの下にあるファイルの名前をリストで返す : Get_fileList
- 指定したディレクトリの下にあるファイルの絶対パスを返す : Get_filepathList
- 指定したファイルを指定した場所に移動する : Move_file
- ディレクトリの中身を空にする : Clear_dir
- ファイルの中身を空にする : Clear_file
- 指定したディレクトリ以下の構造を複製する : Copy_dir
そのほか
- 2次元配列を1次元配列にする : Conv_2dListTo1dList
- 正規表現にマッチする箇所を置き換える : Replace_match
- 指定秒停止する : Wait
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
happyset-1.1.4.tar.gz
(3.3 kB
view details)
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 happyset-1.1.4.tar.gz.
File metadata
- Download URL: happyset-1.1.4.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05b32ccb09df792d8cd340db81770dd961e92f140cdbbee3b0ee78d8f6bc5c08
|
|
| MD5 |
8bafce01cff5c109f90f8fe564209974
|
|
| BLAKE2b-256 |
4a0e335196d820bcebd026f09c221d23c4ae91fc019f021d73c7a256198cfe05
|
File details
Details for the file happyset-1.1.4-py3-none-any.whl.
File metadata
- Download URL: happyset-1.1.4-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc9b405b8153f57b3270b90322d5093bc0d88c6e13bc134a831e54efbd27de9a
|
|
| MD5 |
8d4aa221c4c433944c6f78d6113fd923
|
|
| BLAKE2b-256 |
1c87c9c261bd4930fa69a22a747fca32e3a2d458edc994479d3b32f8225087db
|