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.4.tar.gz (2.0 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: thanos-py-0.4.tar.gz
  • Upload date:
  • Size: 2.0 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.4.tar.gz
Algorithm Hash digest
SHA256 d3e61f198fab0a9468a57d447cb06c424cb43e3e699a941379ad01e0ad553cc4
MD5 b4b0fc9816a7608fb6be0d8b8df4182f
BLAKE2b-256 80fabbad3a4c26b6165c0c20649fcae11e5124327144bb502adeff18ba94fdab

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