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

Uploaded Source

File details

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

File metadata

  • Download URL: thanos-py-0.6.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.6.tar.gz
Algorithm Hash digest
SHA256 7bfcaf469ea4806090ff716941ab4af8c52a9703756c482cc31b17b8045fea4a
MD5 93effbf8ff2e5ee096729ecd00ae202b
BLAKE2b-256 ae0725cab668d03feb1f88b940b0cad81af0dbe7c1e787d97b86e76f8139c230

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