Read More

[Python] os.path ์ž์ฃผ์“ฐ๋Š” ํ•จ์ˆ˜, ๋‹ค๋ฅธ ํด๋” library import ์‹œํ‚ค๊ธฐ

์ž์ฃผ์“ฐ๋Š” ํ•จ์ˆ˜ ์˜ˆ์‹œ   path = "c:/temp/work_dir/database.txt"โ€ฉpath2 = "c:/temp/work_dir" os.path.dirname(path)ย  – ํ•œ๋‹จ๊ณ„ ์œ„๋ฅผ ๋ฆฌํ„ด os.path.dirname(path) #'c:/temp/work_dir'ย  > ํ•œ๋‹จ๊ณ„…

Mediteam.us ๊ฐœ๋ฐœ – Python & Selenium์„ ์ด์šฉํ•œ ๊ตฌ๊ธ€๊ฒ€์ƒ‰ ํฌ๋กค๋ง

‘๊ด€๋ จ๊ธ€ ๊ฒ€์ƒ‰’ ๊ธฐ๋Šฅ์„ ๋„ฃ๊ธฐ ์œ„ํ•œ ์‹œํ–‰์ฐฉ์˜ค ๋์— ๋งˆ์ง€๋ง‰์œผ๋กœ ์ƒ๊ฐํ•ด๋‚ธ ๋ฐฉ์‹์ด ๋ฐ”๋กœ ์‚ฌ์ดํŠธ ๋‚ด๋ถ€์˜ ๊ตฌ๊ธ€ ๊ฒ€์ƒ‰์—”์ง„์„ ์ด์šฉํ•˜๋Š” ๋ฐฉ๋ฒ•์ด์—ˆ๋‹ค. ํ•ต์‹ฌ…
Read More

Mediteam.us ๊ฐœ๋ฐœ – ์ด ๊ธ€์€ ์–ด๋Š ๋‚˜๋ผ ๋ง๋กœ ์ ํ˜€์žˆ๋Š” ๋ฌธ์„œ์ธ๊ฐ€? (ํ•œ๊ธ€, ์˜์–ด, ์ผ๋ณธ์–ด ํ˜•ํƒœ์†Œ ๋ถ„์„)

‘๋‚ด๊ฐ€ ์™œ ์ด๊ฑธ ํ•˜๊ณ  ์žˆ์ง€?’ ์‹œ๋ฆฌ์ฆˆ๋„ ๋ง‰๋ฐ”์ง€์ž…๋‹ˆ๋‹ค. ‘๊ด€๋ จ๊ธ€ ์ฐพ๊ธฐ’ ๋ณ„๊ฑฐ ์•„๋‹Œ๋ฐ, ๋„ˆ๋ฌด ๋ณต์žกํ•ฉ๋‹ˆ๋‹ค. ์ด๋ ‡๊ฒŒ ๊ผญ ํ•ด์•ผํ•˜๋‚˜…๋‹ค๋ฅธ ์ข‹์€ ๋ฐฉ๋ฒ•…
Read More

Steemit ํฌ์ŠคํŠธ๋ฅผ Naver ๋ธ”๋กœ๊ทธ๋กœ ๋ณด๋‚ด๊ธฐ #2 – ๋น„์ถœ๋ ฅ ๋ฌธ์ž ์—๋Ÿฌ ์ฒ˜๋ฆฌ

Github : https://github.com/junn279/steemjs_example/blob/master/naver_open_api.php ์ง€๋‚œ ํฌ์ŠคํŒ… (https://steemit.com/kr/@junn/steemit-openapi-naver-export-using-php)์„ ํ…Œ์ŠคํŠธ ํ•˜๋Š” ์ค‘์— ์žฌ๋ฐŒ๋Š” ํ˜„์ƒ์„ ๋ฐœ๊ฒฌํ–ˆ์Šต๋‹ˆ๋‹ค. ์ œ๋ชฉ์„ ์–ด๋–ป๊ฒŒ ๋ถ™์—ฌ์•ผํ• ์ง€ ๋ชฐ๋ผ. ๋น„์ถœ๋ ฅ๋ฌธ์ž ์—๋Ÿฌ๋ผ๊ณ …
Read More

[Python] Mediteam.us ๊ฐœ๋ฐœ – ๊ด€๋ จ๊ธ€ ์ฐพ๊ธฐ (TF-IDF, konlpy)

  ์ด๋ฒˆ ์ž‘์—…์€ ‘๊ด€๋ จ์žˆ๋Š” ๊ธ€ ์ฐพ๊ธฐ’์— ๋Œ€ํ•œ ํ…Œ๋งˆ๋กœ ์ง„ํ–‰ํ•˜์˜€๋‹ค. ๋จธ์‹ ๋Ÿฌ๋‹๊ณผ๋Š” ์ง์ ‘์ ์ธ ๊ด€๋ จ์ด ์—†์ง€๋งŒ, Vectorํ™”์— ๋Œ€ํ•œ ๊ฐœ๋…์„ ์žก๊ธฐ์œ„ํ•ด์„œ๋Š” ์ข‹์€…