<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://www.garamx.com/dokuwiki/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://www.garamx.com/dokuwiki/feed.php">
        <title>GaramX python</title>
        <description></description>
        <link>https://www.garamx.com/dokuwiki/</link>
        <image rdf:resource="https://www.garamx.com/dokuwiki/lib/tpl/darkblue/images/favicon.ico" />
       <dc:date>2026-05-06T13:37:19+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=python:boolean&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=python:built-in&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=python:crypto&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=python:datastructure&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=python:dictionary&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=python:django&amp;rev=1760795538&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=python:home&amp;rev=1744901675&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=python:install_error&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=python:json&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=python:list&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=python:operator&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=python:pip&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=python:string&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=python:variable&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=python:venv&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=python:windows&amp;rev=1744711518&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://www.garamx.com/dokuwiki/lib/tpl/darkblue/images/favicon.ico">
        <title>GaramX</title>
        <link>https://www.garamx.com/dokuwiki/</link>
        <url>https://www.garamx.com/dokuwiki/lib/tpl/darkblue/images/favicon.ico</url>
    </image>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=python:boolean&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>python:boolean</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=python:boolean&amp;rev=1744711518&amp;do=diff</link>
        <description>boolean



coffee = 5
while True:
    money = int(input(&quot;돈을 넣어 주세요: &quot;))
    if money == 300:
        print(&quot;커피를 줍니다.&quot;)
        coffee = coffee -1
    elif money &gt; 300:
        print(&quot;거스름돈 %d를 주고 커피를 줍니다.&quot; % (money -300))
        coffee = coffee -1
    else:
        print(&quot;돈을 다시 돌려주고 커피를 주지 않습니다.&quot;)
        print(&quot;남은 커피의 양은 %d개 입니다.&quot; % coffee)
    if coffee == 0:
        print(&quot;커피가 다 떨어졌습니다. 판매를 중지 합니다.&quot;)
        break…</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=python:built-in&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>python:built-in</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=python:built-in&amp;rev=1744711518&amp;do=diff</link>
        <description>python의 data type을 알아 볼까요

&lt;https://docs.python.org/3/library/stdtypes.html&gt;

Built-In type

Boolean

	*  bool

Numeric

	*  int
	*  float
	*  complex

String

	*  str

Sequence

	*  list
	*  tuple
	*  range

Set

	*  set
	*  frozenset

Mapping

	*  dict

Iterator

	* ___iter__()
	* _</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=python:crypto&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>python:crypto</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=python:crypto&amp;rev=1744711518&amp;do=diff</link>
        <description>파이썬에서 암호화에 대하여

	*  bcrypt를 이용한 암호화 하기

PyCrypto

PyCrypto(Python Cryptography Toolkit) 모듈은 2004년에 정식 버전이 배포된 오래된 암호화 모듈이다.

하지만 pip에는 2013년 10월 18일에 마지막 버전인 pycrypto 2.6.1을 배포한 이후 더이상 업데이트되지 않고 있다.</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=python:datastructure&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>python:datastructure</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=python:datastructure&amp;rev=1744711518&amp;do=diff</link>
        <description>기초자료형

Hello World!


# numeric
a = -1
b = 1.0
print(f&quot;{type(a)} {a}&quot;)
print(f&quot;{type(b)} {b}&quot;)
c = complex(101, 2)
print(f&quot;{type(c)} {c}&quot;)

# string
s1 = &quot;&quot;&quot;0123456789-abcd&quot;&quot;&quot;
print(f&quot;{type(s1)} {s1} {s1[0::5]}&quot;)

# boolean
print(f&quot;{type(False)} {True} {1 != 1}&quot;)

# List
kk = [&#039;k&#039;, &#039;asdf&#039;, &quot;김재성&quot;]
print(f&quot;{type(kk)} {kk}&quot;)

# Tuple
kk = (&#039;k&#039;, &#039;asdf&#039;, &quot;김재성&quot;)
print(f&quot;{type(kk)} {kk}&quot;)

# Dictionary
kk = {&#039;name&#039;:&#039;maro&#039;, &#039;nation&#039;:&#039;Korea&#039;}
print(f&quot;{type(kk)} {kk}, len: {len(kk)}&quot;)…</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=python:dictionary&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>python:dictionary</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=python:dictionary&amp;rev=1744711518&amp;do=diff</link>
        <description>Dictionary

기본

# JSON
# 연관배열
# Hash


dic = {&quot;name&quot;:&quot;eric&quot;, &quot;age&quot;:4,  100: 1000, &quot;sort_field&quot;:&quot;kk,d&quot;}
print (dic)
dic[&quot;city&quot;] = &quot;seoul&quot;
print (dic)
print (dic.keys())

for k in dic.keys():
	print(f&quot; Key:={k}:{dic[k]}&quot;)
if &#039;sort_field&#039; in dic:
    print(dic[&#039;sort_field&#039;])</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=python:django&amp;rev=1760795538&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-10-18T13:52:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>python:django</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=python:django&amp;rev=1760795538&amp;do=diff</link>
        <description>Django

	*  Django Home
	*  서버구축부터 Django Site오픈까지
	*  runserver로 실제 서버를 돌리면 안되는 이유

	*  Graphene-Django
	*  VSCode에서 Django사용
	*  nginx 및 uWSGI연동
	*  Ubuntu에서 wsgi와 Apache설정
	*  uWSGI

문서

Django의 LTS버전은 X.2로 배포됨.( 3.2, 4.2, 5,2 )

	*  Django 문서 3.2
	*  Django 문서 3.2
	*  Django 문서 4.2
	*  Django 문서 5.1

장고 사용

	*  Django Server관리
	*  Django App
	*  SECRET_KEY?
	*  Hide Key Value
	*  TestCase
	*  view만들기
	*  urls.py
	*  settings.py
	*  Models
	*  Models.filter

	*  models.py
	*  Admin 기능 사용하기
	*…</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=python:home&amp;rev=1744901675&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-17T14:54:35+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>python:home</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=python:home&amp;rev=1744901675&amp;do=diff</link>
        <description>python

이제는 오래된 언어인가?

	*  Python Django
	*  venv
	*  Ubuntu에서 wsgi와 Apache설정

	*  파이썬 Crypto
	*  Windows 환경에서 python사용

	*  Built-In
	*  기초자료형
	*  리스트
	*  문자열
	*  변수
	*  불
	*  집합
	*  튜블
	*  Dictionary
	*  JSON자료처리
	*  Python Module 관리

제어문

	*  연산자
	*  SHELL에서 사용하기

파이썬 가상 환경 구성

아직 버전별로 무슨 차이가 있는지 python2, python3의 차이는 많이 있는 것같은데,
python2는 호환성을 위해서 사용하는 듯.. 현재는 대부분 python3를 사용하는 것으로 개인적으로 생각된다.…</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=python:install_error&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>python:install_error</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=python:install_error&amp;rev=1744711518&amp;do=diff</link>
        <description>python설치오류

	*  WARNING: The Python ctypes extension was not compiled. Missing the libffi lib?


sudo apt install libffi-dev


	*  WARNING: The Python tkinter extension was not compiled and GUI subsystem has been detected. Missing the Tk toolkit?</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=python:json&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>python:json</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=python:json&amp;rev=1744711518&amp;do=diff</link>
        <description>JSON

기초


import json
from io import StringIO
d = [{&#039;name&#039;: &#039;홍길동&#039;, &#039;birth&#039;: &#039;0525&#039;, &#039;age&#039;: 30},
     {&#039;name&#039;: &#039;홍길동&#039;, &#039;birth&#039;: &#039;0525&#039;, &#039;age&#039;: 30},
     ]
json_data = json.dumps(d, ensure_ascii=False)
print(json_data)
print(d)

io = StringIO(json_data)
print(io)
my = json.load(io)
print(my)

print(type(my))
print(&#039;length&#039;, len(my), sep=&#039;:&#039;)</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=python:list&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>python:list</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=python:list&amp;rev=1744711518&amp;do=diff</link>
        <description>리스트

리스트는 데이터들을 잘 관리하기 위해서 묶어서 관리할 수 있는 자료형 중의 하나 입니다.

	*  파이썬 리스트

선언과 사용

대괄호를 이용하는 방법

a = [1, 2, 3, 4, 5]b = [&#039;blockdmask&#039;, 2, 4, &#039;blog&#039;]c = []
이렇게 대괄호를 이용해서 리스트를 만들 수 있으며, 리스트 내부에 값은 스트링이 오든, 숫자가 오든 데이터 타입이 통일되지 않아도 상관없습니다.또한, c를 보면 아무것도 넣지 않은 [] 대괄호만 있는걸 보실수 있는데, 이것은 위에서 말했듯, 요소가 없는 비어있는 리스트를 말합니다.…</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=python:operator&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>python:operator</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=python:operator&amp;rev=1744711518&amp;do=diff</link>
        <description>연산자

	*  and
	*  or
	*  not

	*  ==
	*  !=
	*  &gt;
	*  &gt;=
	*  &lt;
	*  &lt;=

	*  &amp;
	*  |

	*  ~</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=python:pip&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>python:pip</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=python:pip&amp;rev=1744711518&amp;do=diff</link>
        <description>Python Module 관리

pip를 이용한 특정 버전 패키지 설치 명령어는 아래와 같다.
pip install [package_name]==[package version]
특정 패키지를 업데이트 하는 경우의 명령어는 아래와 같다.
pip install --upgrade [package_name]</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=python:string&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>python:string</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=python:string&amp;rev=1744711518&amp;do=diff</link>
        <description>문자열

문자열을 리스트로 바꾸는 2가지 방법

	*  list() 함수


string = &#039;I became a zombie&#039;
list(string) # 공백을 포함 한 문자씩 모두 나눔


	*  split() 함수


string.split() # 공백문자로 쪼갭니다.

# &#039;a&#039;를 구분자로 쪼갭니다.
string.split(&#039;a&#039;)</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=python:variable&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>python:variable</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=python:variable&amp;rev=1744711518&amp;do=diff</link>
        <description>변수(variable)의 정의, 선언, 교환방법

	*  변수설명</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=python:venv&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>python:venv</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=python:venv&amp;rev=1744711518&amp;do=diff</link>
        <description>venv

venv란?

venv는 Python의 표준 라이브러리 중 하나로, 별도의 패키지나 모듈 환경을 제공하는 가상 환경을 만들기 위해 사용할 수 있다. 즉, 프로젝트마다 다른 버전의 패키지를 사용하고 싶을 때, 이를 격리된 환경에서 관리할 수 있게 도와준다.</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=python:windows&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>python:windows</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=python:windows&amp;rev=1744711518&amp;do=diff</link>
        <description>Windows환경에서 Python사용

기본설정

1. Python설치
앱스토어에서 파이썬설치
1.1. venv설정


python -m venv maro


2. VS Code설치
3. WSL설치


ms-windows-store://pdp/?productid=9NJ46SX7X90P


pip Error</description>
    </item>
</rdf:RDF>
