chapter 4: Writing Your First Application

이 장에서는 다음을 배우게 된다.

▶ Working with the Integrated DeveLopment Environment (IDLE)
▶ Getting started with IDLE
▶ Writing the first application
▶ Seeing how the first application works
▶ Formatting your application code
▶ Using comments effectively
▶ Working with existing applications
▶ Ending your IDLE session

4.1 Understanding the Integrated DeveLopment Environment

IDLE은 다음과 같은 기능을 가지고 있다.

✓ Write Python code.
✓ Recognize and highlight keywords and certain types of special text.
✓ Perform both simple editing (such as cut, copy, and paste) and codespecific
editing (such as showing the parentheses that surround an
expression).
✓ Save and open Python files.
✓ Browse the Python path to make locating files easy.
✓ Browse and locate Python classes.
✓ Perform simple debugging tasks (removing errors from the code).

4.2 Starting IDLE

실습을 해보자.

Next time I will upate contents.

4.3 Creating the Application

실습을 해보자.

Next time I will upate contents

4.4 Running the Application

실습을 해보자.

FirstApp.py 를 만들어 보자.

print("This is a simple Python application.")

4.5 Understanding the Use of Indentation

실습을 해보자.

Next time I will upate contents.

4.6 Adding Comments

실습을 해보자.

Next time I will upate contents.

4.7 Loading and Running Existing Applications

실습을 해보자.

Next time I will upate contents.

4.8 Closing IDLE

실습을 해보자.

Next time I will upate contents.

Algorithms Train

02.read_the_number_n.py

03.read_the_number2.py

05.inverted_star_pattern.py

06.read_primes.py

07.are_they_the_same.py

08.array_dot_diff.py

09.buying_a_car.py

10.calculate_string_rotation.py

11.character_frequency_1.py

12.checking_groups.py

13.python_switch.py

FirstApp.py

LongLine.py