Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

๐Ÿ˜ˆ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.

Files for thanos-py, version 0.6
Filename, size File type Python version Upload date Hashes
Filename, size thanos-py-0.6.tar.gz (2.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page