728x90 ๐จ๐ผ๐ป๊ฐ๋ฐ158 ํ์ด์ฌ - ๋ผ์ด๋ธ๋ฌ๋ฆฌ ์์ ์ฐธ๊ณ ์ํค ๋ฌธ์(์ ํ ํฌ ํ์ด์ฌ) https://wikidocs.net/book/5445 ์ ํ ํฌ ํ์ด์ฌ - ๋ผ์ด๋ธ๋ฌ๋ฆฌ ์์ ํธ > ๋ฌธ์ ํ์ด๋ก ์์๋ณด๋ **ํ์ด์ฌ ๋ผ์ด๋ธ๋ฌ๋ฆฌ**! ๋ณด๋ค ๋ฅ์ํ๊ฒ ํ์ด์ฌ ์ฝ๋๋ฅผ ์์ฑํ๋ ค๋ฉด ํ์ด์ฌ ๋ผ์ด๋ธ๋ฌ๋ฆฌ์ ๋ํด์ ์ ์๊ณ ์์ด์ผ ํ๋ค. ์ด ์ฑ ์ ํ์ด์ฌ ๊ฐ๋ฐ์๋ผ๋ฉด ... wikidocs.net https://076923.github.io/posts/Python-tkinter-1/ Python tkinter ๊ฐ์ข : ์ 1๊ฐ - GUI ์์ฑ tkinter 076923.github.io ๋ ์์ธํ๊ฒ ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ฅผ ๋ถ์ํ๊ณ ์ถ์ผ๋ฉด ์๋ ๋งํฌ๋ก https://docs.python.org/ko/3/library/ ํ์ด์ฌ ํ์ค ๋ผ์ด๋ธ๋ฌ๋ฆฌ — Python 3.10.5 ๋ฌธ์ ํ์ด์ฌ ํ์ค ๋ผ์ด๋ธ๋ฌ๋ฆฌ ํ์ด์ฌ ์ธ์ด ๋ ํผ๋ฐ์ค ๋.. 2022. 6. 28. tkinter - ์ฐธ๊ณ ์ํค ๋ฌธ์(์ ํ ํฌ ํ์ด์ฌ) https://wikidocs.net/132610 106 ๊ทธ๋ํฝ ์ฌ์ฉ์ ์ธํฐํ์ด์ค๋ฅผ ๋ง๋ค๋ ค๋ฉด? โ tkinter tkinter๋ ํ์ด์ฌ์์ Tcl/Tk ํดํท์ ์ฌ์ฉํ๋ ๋ฐ ํ์ํ ์ธํฐํ์ด์ค ๋ชจ๋์ด๋ค. Tcl์ ํ์ด์ฌ๊ณผ ๊ฐ์ ์คํฌ๋ฆฝํธ ์ธ์ด์ด๊ณ Tk๋ Tcl์ ์ํ GUI ํดํท์ด๋ค. [ ... wikidocs.net https://076923.github.io/posts/Python-tkinter-1/ Python tkinter ๊ฐ์ข : ์ 1๊ฐ - GUI ์์ฑ tkinter 076923.github.io 2022. 6. 28. OpenCV - pyinstaller ๋น๋ ํ cv2๊ฐ improt ์๋๋ ์ค๋ฅ ํด๊ฒฐ pip install opencv-python==4.5.3.56 ๋ค์ด๊ทธ๋ ์ด๋๊ฐ ๋ต์ด๋ค. ์ถ์ฒ: https://stackoverflow.com/questions/69855356/recursion-is-detected-during-loading-of-cv2-binary-extensions recursion is detected during loading of "cv2" binary extensions I have a small program which return opencv error after compilation by pyinstaller. But without compilation it's work! I use Python 3.8.10 on Windows 10 Program: import pyauto.. 2022. 6. 27. C++ - json parser ๋ผ์ด๋ธ๋ฌ๋ฆฌ ์ค์น ๋ฐ ์ฌ์ฉ ๋ฐฉ๋ฒ(jsoncpp) https://github.com/open-source-parsers/jsoncpp GitHub - open-source-parsers/jsoncpp: A C++ library for interacting with JSON. A C++ library for interacting with JSON. Contribute to open-source-parsers/jsoncpp development by creating an account on GitHub. github.com git clone https://github.com/open-source-parsers/jsoncpp.git ๋ ํฌ์งํ ๋ฆฌ ์ค์น ํ ํ์ด์ฌ์ผ๋ก ๋น๋ python amalgamate.py dist ํด๋๋ก ๋ค์ด๊ฐ๋ฉด ํค๋ ํ์ผ ํด๋์ ์์ค ํ์ผ์ด.. 2022. 6. 27. C# - http ์์ฒญ(HttpWebRequest) string url = "https://ipinfo.io/ip"; //ํ ์คํธ ์ฌ์ดํธ string responseText = string.Empty; HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); request.Method = "GET"; using (HttpWebResponse resp = (HttpWebResponse)request.GetResponse()) { HttpStatusCode status = resp.StatusCode; Console.WriteLine(status); // ์ ์์ด๋ฉด "OK" Stream respStream = resp.GetResponseStream(); using (StreamReader sr = ne.. 2022. 6. 27. C++ - ๋น์ฃผ์ผ ์คํ๋์ค E1696 : ํ์ผ ์์ค์(๋ฅผ) ์ด ์ ์์ต๋๋ค. ํด๊ฒฐ ๋ฐฉ๋ฒ https://developer.microsoft.com/en-US/windows/downloads/windows-sdk/ Windows SDK - Windows app developmentThe Windows SDK for Windows 11 contains headers, libraries, and tools you can use when you create apps that run on Windows.developer.microsoft.com์๋์ฐ SDK๊ฐ ์์ด์ ๊ด๋ จ ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ค์ ๋ถ๋ฌ์ค์ง ๋ชปํ๋ ์ค๋ฅ์ด๋ค. ์์ ๋งํฌ๋ฅผ ํตํด์ Windows SDK๋ฅผ ์ค์นํ ๋ค์์ ๋ค์ ํ๋ก์ ํธ๋ฅผ ์์ฑํ๋ฉด ํด๊ฒฐ ๋๋ค. 2022. 6. 27. ํ์ด์ฌ - ํ ๋ ๊ทธ๋จ ๋ด ํ์ผ ์ ๋ก๋(๋ด์ด ํ์ผ์ ๋ค์ด๋ก๋) def uploader(update: Update, context: CallbackContext) -> None: try: with open(update.message.document.file_name, 'wb') as f: context.bot.get_file(update.message.document).download(out=f) update.message.reply_text( 'ํ์ผ ์ ๋ก๋ ์ฑ๊ณต.' ) except: update.message.reply_text( 'ํ์ผ ์ ๋ก๋ ์คํจ.' ) updater.dispatcher.add_handler(MessageHandler(Filters.document, uploader)) ์ถ์ฒ: https://stackoverflow.com/questions/622.. 2022. 6. 18. ํ์ด์ฌ - ์ค๋ณต ์๋ ๊ณ ์ ์ฑ์ด ๋ณด์ฅ๋๋ id ๋ง๋ค๊ธฐ(uuid) import uuid uuid.uuid4() #uuid4 => full random uuid # Outputs something like: UUID('0172fc9a-1dac-4414-b88d-6b9a6feb91ea') uuid๋ ๊ณ ์ ์ฑ์ด ๋ณด์ฅ๋๋ id๋ฅผ ๋ง๋ค๊ธฐ ์ํ ํ์ค ๊ท์ฝ์ ๋งํ๋ค. ์ถ์ฒ: https://stackoverflow.com/questions/2257441/random-string-generation-with-upper-case-letters-and-digits Random string generation with upper case letters and digits How do I generate a string of size N, made of numbers and uppercase .. 2022. 6. 18. PyQt - ๋ฆฌ์์ค ์ ์ฉํ๊ธฐ [๊ฒฝ๋ก] images/ โโ icon.png main.py resources.qrc [resources.qrc] images/icon.png [๋ฆฌ์์ค ํ์ผ ๋ณํํ๊ธฐ] pyrcc5 resources.qrc -o icon.py [main.py] import icon ... label=QLabel(Form) label.setPixmap( QPixmap(":/images/icon.png") ) # qrc์์ ์ ์ ๊ฒฝ๋ก๋ช label.resize(label.pixmap().width(), label.pixmap().height()) ... ์ถ์ฒ: https://m.blog.naver.com/PostView.naver?isHttpsRedirect=true&blogId=browniz1004&logNo=221373310.. 2022. 5. 31. ํ์ด์ฌ - ํ์ฌ ๋ผ์ธ๋ฒํธ ์ถ๋ ฅ import inspect def lineno(): """ ์ด ํจ์๋ฅผ ํธ์ถํ ๊ณณ์ ๋ผ์ธ๋ฒํธ๋ฅผ ๋ฆฌํดํ๋ค. """ return inspect.getlineno(inspect.getouterframes(inspect.currentframe())[-1][0]) print( lineno() ) try: " " except Exception as e: self.print_log( '[' + str(lineno()) + ']' '์์ธ: ' + str(e), err=True) ์ถ์ฒ: https://technote.luminance.kr/entry/python-%EB%94%94%EB%B2%84%EA%B7%B8-line-%EB%B2%88%ED%98%B8-%EC%B0%8D%EA%B8%B0 python ๋๋ฒ๊ทธ: line ๋ฒํธ.. 2022. 5. 25. ์ ๋ ๋์ - chromedriver ์๋ ์ ๋ฐ์ดํธ ๋ฐ ์ค์น pip install chromedriver_autoinstaller from selenium import webdriver import chromedriver_autoinstaller def driverAutoInstall(): chromedriver_autoinstaller.install() driver = webdriver.Chrome() return driver driver = driverAutoInstall() driver.get('http://google.com') ์ถ์ฒ: https://dev-guardy.tistory.com/78 [Python] chromedriver selenium ์๋์ค์น [์ ๋ ๋์, ํฌ๋กฌ๋๋ผ์ด๋ฒ] Python , chromedrvier, Selenium, ์ ๋ ๋์, ํฌ.. 2022. 5. 23. OpenCV - ์ปค์คํ Cascade ๋ง๋ค๊ธฐ(CASCADE TRAINER GUI) ๋ฐ ๋ฌผ์ฒด ํ์ง ์๋ ๋งํฌ์์ Cascade Trainer GUI๋ฅผ ์์ ์ ์ปดํจํฐ ํ๊ฒฝ์ ๋ง๋ ๋ฒ์ ์ผ๋ก ์ค์น(64๋นํธ๊ฐ 32๋นํธ ๋ฒ์ ์ผ๋ก ์ค์นํ๋ฉด ์ค๊ฐ์ ์ค๋ฅ๊ฐ ์๊น) https://amin-ahmadi.com/cascade-trainer-gui/ Cascade Trainer GUI - Amin Cascade Trainer GUI 1. Introduction Cascade Trainer GUI is a program that can be used to train, test and improve cascade classifier models. It uses a graphical interface to set the parameters and make it easy to use OpenCV tools for training.. 2022. 5. 19. ์ด์ 1 ยทยทยท 6 7 8 9 10 11 12 ยทยทยท 14 ๋ค์ 728x90