ํŒŒ์ด์ฌ

    [py] ๊ฑฐ๋ถ์ด ๊ทธ๋ž˜ํ”ฝ

    [py] ๊ฑฐ๋ถ์ด ๊ทธ๋ž˜ํ”ฝ

    turtle --- ํ„ฐํ‹€ ๊ทธ๋ž˜ํ”ฝ — ํŒŒ์ด์ฌ ์„ค๋ช…์„œ ์ฃผ์„ํŒ (flowdas.com) turtle --- ํ„ฐํ‹€ ๊ทธ๋ž˜ํ”ฝ — ํŒŒ์ด์ฌ ์„ค๋ช…์„œ ์ฃผ์„ํŒ turtle --- ํ„ฐํ‹€ ๊ทธ๋ž˜ํ”ฝ ์†Œ์Šค ์ฝ”๋“œ: Lib/turtle.py ์†Œ๊ฐœ ํ„ฐํ‹€(๊ฑฐ๋ถ์ด) ๊ทธ๋ž˜ํ”ฝ์€ ์•„์ด๋“ค์—๊ฒŒ ํ”„๋กœ๊ทธ๋ž˜๋ฐ์„ ์†Œ๊ฐœํ•˜๋Š” ๋ฐ ๋„๋ฆฌ ์‚ฌ์šฉ๋˜๋Š” ๋ฐฉ๋ฒ•์ž…๋‹ˆ๋‹ค. 1967๋…„ Wally Feurzeig, Seymour Papert ๋ฐ Cynthia Solomon์ด ๊ฐœ๋ฐœํ•œ python.flowdas.com import turtle t = turtle.Turtle() t.speed("slowest") t.shape("turtle") t.turtlesize(2) t.color("green") t.pencolor("blue") t.screen.bgcolor("aqua") for..

    [opencv์„ค์น˜] No module named 'cv2' ํ•ด๊ฒฐ

    line 1, in import cv2 ModuleNotFoundError: No module named 'cv2' ์—๋Ÿฌ๋ฅผ ๋งŒ๋‚˜๊ณ  pip install opencv-python ๋ช…๋ น์–ด๋กœ ํ•ด๊ฒฐ ์•ˆ ๋  ๋•Œ, https://bobbyhadz.com/blog/python-no-module-named-cv2 ModuleNotFoundError: No module named 'cv2' in Python | bobbyhadz The Python ModuleNotFoundError: No module named 'cv2' occurs when we forget to install the `opencv-python` module before importing it or install it in an incorrect e..

    [conda] vscode base์—์„œ ๊ฐ€์ƒํ™˜๊ฒฝ my_env๋กœ ๊ฐˆ์•„ํƒ€๊ธฐ

    # To activate this environment, use # # $ conda activate my_env # # To deactivate an active environment, use # $ conda deactivate (base) PS C:\Users\User\gitprogect\pythooo\> conda create -n my_env python=3.8 Collecting package metadata (current_repodata.json): done Solving environment: done ## Package Plan ## environment location: C:\Users\User\anaconda3\envs\my_env added / updated specs: - pyt..

    [์˜ค๋ฅ˜] ‘Conda’๋Š” ๋‚ด๋ถ€ ๋˜๋Š” ์™ธ๋ถ€ ๋ช…๋ น์œผ๋กœ ์ธ์‹๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

    conda ๋ช…๋ น์–ด๊ฐ€ cmd ์ฐฝ์—์„œ๋Š” ๋˜๋Š”๋ฐ, vscode ํ„ฐ๋ฏธ๋„์—์„œ๋Š” ๋จนํžˆ์ง€ ์•Š์œผ๋ฉด์„œ ‘Conda’๋Š” ๋‚ด๋ถ€ ๋˜๋Š” ์™ธ๋ถ€ ๋ช…๋ น์œผ๋กœ ์ธ์‹๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ๋ผ๋Š” ์—๋Ÿฌ๋ฉ”์‹œ์ง€๋ฅผ ๋งŒ๋‚ฌ๋‹ค. ์•„๋ž˜ ํฌ์ŠคํŒ…์„ ์ฐธ๊ณ ํ•˜๊ณ  [python] 'Conda'๋Š” ๋‚ด๋ถ€ ๋˜๋Š” ์™ธ๋ถ€ ๋ช…๋ น์œผ๋กœ ์ธ์‹๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - ๋ฆฌ๋ทฐ๋‚˜๋ผ Windows 7 Professional ์ปดํ“จํ„ฐ์— Anaconda3 4.4.0 (32 ๋น„ํŠธ)์„ ์„ค์น˜ํ•˜๊ณ  Jupyter ๋…ธํŠธ๋ถ์—์„œ NumPy ๋ฐ Pandas๋ฅผ ๊ฐ€์ ธ ์™”์œผ๋ฏ€๋กœ Python์ด ์˜ฌ๋ฐ”๋ฅด๊ฒŒ ์„ค์น˜๋˜์—ˆ๋‹ค๊ณ  ๊ฐ€์ •ํ•ฉ๋‹ˆ๋‹ค. ํ•˜์ง€๋งŒ ๋ช…๋ น ํ”„๋กฌํ”„ํŠธ๋ฅผ ์ž…๋ ฅ conda listํ•˜ daplus.net ํ„ฐ๋ฏธ๋„ settings.json์„ ์•„๋ž˜์™€ ๊ฐ™์ด ๋ณ€๊ฒฝํ•ด์ฃผ์—ˆ๋”๋‹ˆ conda install ๋ช…๋ น์–ด๊ฐ€ ์ž˜ ๋จนํ˜”๋‹ค. { "python.termin..

    python -m SimpleHTTPServer 8000 ์˜ค๋ฅ˜

    python -m SimpleHTTPServer 8000 ๋ฅผ ํ„ฐ๋ฏธ๋„์— ์ณค์„ ๋•Œ No module named SimpleHTTPServer ๋ผ๋Š” ์—๋Ÿฌ๋ฉ”์‹œ์ง€๋ฅผ ๋ฐ›๋Š” ์ด์Šˆ์— ๋Œ€ํ•œ ํ•ด๊ฒฐ์€ ์•„๋ž˜ ๋ธ”๋กœ๊ทธ ํŒŒ์ด์ฌ(python)์„ ์ด์šฉํ•œ ๊ฐ„๋‹จํ•œ ํŒŒ์ผ ์„œ๋ฒ„ ๋ช…๋ น (daum.net) ํŒŒ์ด์ฌ(python)์„ ์ด์šฉํ•œ ๊ฐ„๋‹จํ•œ ํŒŒ์ผ ์„œ๋ฒ„ ๋ช…๋ น ํŒŒ์ด์ฌ(python)์„ ์ด์šฉํ•œ ๊ฐ„๋‹จํ•œ ํŒŒ์ผ ์„œ๋ฒ„ ๋ช…๋ น ๊ธ€. ์˜ค์ƒ๋ฌธ (sualchi@daum.net) ํŒŒ์ด์ฌ์ด ์„ค์น˜๋˜์–ด ์žˆ๊ณ  PATH๊นŒ์ง€ ์„ค์ •๋˜์–ด ์žˆ๋‹ค๋ฉด ๋‹ค์Œ์ฒ˜๋Ÿผ ํ•œ ์ค„๋งŒ ์ž…๋ ฅํ•˜๋ฉด ํŒŒ์ผ ์„œ๋ฒ„๋กœ ๋™์ž‘ํ•˜๊ฒŒ ๋งŒ๋“ค ์ˆ˜ ์žˆ๋‹ค. ์˜ˆ blog.daum.net ํŒŒ์ด์ฌ์ด ์„ค์น˜๋˜์–ด ์žˆ๊ณ  PATH๊นŒ์ง€ ์„ค์ •๋˜์–ด ์žˆ๋‹ค๋ฉด ๋‹ค์Œ์ฒ˜๋Ÿผ ํ•œ ์ค„๋งŒ ์ž…๋ ฅํ•˜๋ฉด ํŒŒ์ผ ์„œ๋ฒ„๋กœ ๋™์ž‘ํ•˜๊ฒŒ ๋งŒ๋“ค ์ˆ˜ ์žˆ๋‹ค. [ํŒŒ์ผ ์„œ๋ฒ„ ๊ตฌ์ถ• ๋ฐฉ๋ฒ•] ํŒŒ์ด์ฌ..