Skip to main content

๐Ÿ˜ˆWhen I'm done, half of files will still exist.

Project description

# thanos-py

ํƒ€๋…ธ์Šค๊ฐ€ ๋‹น์‹ ์˜ ์ปดํ“จํ„ฐ์— ๋„์ฐฉํ–ˆ์–ด์š”! ๊ทธ๋Š” ๋‹น์‹ ์˜ ํŒŒ์ผ์„ ํŒŒ๊ดดํ•˜๋Ÿฌ ์™”์–ด์š”..!
๊ทธ๋Š” ๋‹น์‹ ์˜ ํŒŒ์ผ์ค‘ ์ ˆ๋ฐ˜์„ ๊ฑดํ‹€๋ ›๊ณผ ํ•จ๊ป˜ ์†์„ ํŠ•๊ฒจ์„œ ๋‚ ๋ ค๋ฒ„๋ฆด๊ฑฐ์—์š”..!
๋‹น์‹ ์ด ์ •๋ง ์šด์ด์ข‹๋‹ค๋ฉด, ๊ทธ๋Š” ๋ณ„ ์ค‘์š”ํ•˜์ง€ ์•Š์€ ํŒŒ์ผ๋“ค๋งŒ ๋‚ ๋ ค๋ฒ„๋ฆฌ๊ฒ ์ฃ ? ํ–‰์šด์„ ๋นŒ์–ด์š” :D

## Install

`pip install thanos-py`

## Usage

- remove root dir : `thanos-py /`
- another location : `thanos-py /Your/Own/Location/`

## Technical Details
- ๊ทธ๋ž˜์š”, ์ด๊ฑด ํŒŒ์ผ์„ ์ง€์›Œ์ค˜์š” [ ์ด ํŒจํ‚ค์ง€๊ฐ€ ๋ฌด์—‡์„ ํ•˜๋Š”์ง€ ์ž˜ ๋ชจ๋ฅด๋Š” ์‚ฌ๋žŒ์„ ์œ„ํ•˜์—ฌ (์ฐก๊ธ‹)]
- ์ด๊ฒƒ์€ `os.remove()` ํ•จ์ˆ˜๋ฅผ ํ†ตํ•ด์„œ ํŒŒ์ผ์„ ์ง€์›Œ์š”
- ์ด๊ฒƒ์€ ๋ช…๋ น์ด ์‹คํ–‰๋œ ๋””๋ ‰ํ† ๋ฆฌ์˜ ๋ชจ๋“  ํ•˜์œ„๋””๋ ‰ํ† ๋ฆฌ๋ฅผ ๋Œ์•„๋‹ค๋…€์š”. ๊ทธ๋Ÿฌ๋‹ˆ ํด๋”์•ˆ์— ์žˆ๋Š” ํŒŒ์ผ๋„ ์ง€์›Œ์งˆ ์ˆ˜ ์žˆ์–ด์š”
- ์ด๊ฒƒ์ด ์ •ํ™•ํ•˜๊ฒŒ 2/1๊ฐœ์˜ ํŒŒ์ผ์„ ์ง€์šธ์ง€๋Š” ์ €๋„ ์ž˜ ๋ชจ๋ฅด๊ฒ ์–ด์š” (์•ผ!!)
```py
search(target)
random.shuffle(filelist)
print("[๐Ÿ˜ˆ] Death note is ready...")
filecount = len(filelist)
for i in range(0, int(filecount / 2)):
deletelist.append(filelist[i])
print (deletelist[i])
for i in range(filecount + 1):
os.remove(str(deletelist[i]))
// logic to delete the file
}
```

## ์ฒจ์–ธ
์ปจ์…‰์€ thanosjs.org ์—์„œ ๋”ฐ์™”์–ด์š” ใ…‡ใ…ใ…‡..
์‚ฌ์‹ค์ƒ ๊ฑฐ์˜ ๋น„์Šทํ•œ๋ฐ ์ œ๊ฐ€ ์ธ์ž๋ฅผ ์ž˜ ๋‹ค๋ฃฐ์ค„ ๋ชฐ๋ผ์„œ thanos.js ์ฒ˜๋Ÿผ ์ธํ”ผ๋‹ˆํ‹ฐ ๊ฑดํ‹€๋ › ์ธ์ž๋ฅผ ์–ด์บ๋ฐ›์•„์•ผํ• ์ง€ ์ž˜ ๋ชจ๋ฅด๊ฒ ์–ด์š” ใ…‡ใ…ใ…‡..
"--" ํ•ด์„œ ๋ฐ›๋Š” ์ธ์ž๋ž‘ ๊ทธ๋ƒฅ ๋ฐ›๋Š” ์ธ์ž๋ž‘ ๋ฐ›์„๋•Œ "--" ํฌํ•จ์‹œ์ผœ์„œ ๋ฐ›์œผ๋ฉด ๋˜๋Š”๊ฑด๊ฐ€..ใ…‡ใ…ใ…‡..

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

thanos-py-0.5.tar.gz (2.1 kB view details)

Uploaded Source

File details

Details for the file thanos-py-0.5.tar.gz.

File metadata

  • Download URL: thanos-py-0.5.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5

File hashes

Hashes for thanos-py-0.5.tar.gz
Algorithm Hash digest
SHA256 364753d9e38d08650bb07948974c9d02b4dd955f493588dc5f4e6387b0d19705
MD5 93e2fa5cccce876d35bdea229eac1727
BLAKE2b-256 66d33e0462e90e8b1863003db11356fce1ea03fd719c8d4b7c9eb333b7116c82

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page