0% found this document useful (0 votes)
6 views

Lecture01 - Intro Python Programming

The document outlines a Python programming course taught by Kisoo Kim at Kyung Hee University, focusing on understanding programming concepts and developing applications using Python. It includes information on course structure, learning goals, evaluation criteria, and recommended resources for learning Python. The document also discusses various Integrated Development Environments (IDEs) for Python, such as Jupyter Notebook and Google Colab.

Uploaded by

dtp09121
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

Lecture01 - Intro Python Programming

The document outlines a Python programming course taught by Kisoo Kim at Kyung Hee University, focusing on understanding programming concepts and developing applications using Python. It includes information on course structure, learning goals, evaluation criteria, and recommended resources for learning Python. The document also discusses various Integrated Development Environments (IDEs) for Python, such as Jupyter Notebook and Google Colab.

Uploaded by

dtp09121
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 20

Introduction: Python Programming

Instructor: Kisoo Kim

Department of Biomedical Engineering


Kyung Hee University

1
Course Introduction
• Lecture + Study + Exercise

• Bring your laptop (recommended) or tablet PC

• Will learn “Python” programming language

• Learning Goals
- Understand a computer programming
- Learn basic skills for being a software developer
- Learn developing “an application” with Python
- Have Fun Programming

2
Reference
• Developer platform
https://stackoverflow.com/

• Online Education websites


https://www.w3schools.com
https://www.inflearn.com/
https://anu-rses-education.github.io/EMSC-4033

• Googling (python exercise)


• Google Colab
• AI & ML Community
https://www.kaggle.com/

3
정량적 정성적
목표 목표
• 중간에 빠지는 것 없이 수업 내용을 잘 따라왔음
성적: A+, A0, A-, …
• 이 과목을 통해 파이썬 프로그래밍에 대해 잘
이해했음
• 소프트웨어 개발자로써 프로그래밍적 사고, 활용
능력 확보
• 다른 프로그램 개발에 참여할 수 있는 능력이 있음
• 코딩에 재미가 생김

4
중간고사, 기말고사: 60점
정량적 과제보고서:
출석:
40점
10점
목표 결석 시 -2점, 4회 이상 결석: F
지각 또는 조퇴 3회 = 결석 1회
성적: A+, A0, A-, …

과제보고서 제출: 구글 클래스

https://classroom.google.com/c/NzU2
MzUwOTQxNjQ3?cjc=w4rbqkw

5
Programming
Language

Language Application Strengths Weaknesses


JavaScript Web, Mobile, Server Versatile, Strong Ecosystem Runtime Errors
Python AI, Data Science, Web Easy, Extensive Libraries Slower Execution
HTML/CSS Web Development Core Web Tech Not a Language
SQL Databases Efficient Queries Limited Use
Java Enterprise, Android Portable, Secure Verbose Syntax
C# Windows, Unity Games Strong .NET Support Microsoft-Focused
C/C++ System, Gaming High Performance Complex Syntax
TypeScript Web, Large Apps Type-Safe JS Needs Compilation
Swift iOS/macOS Fast, Safe Apple-Only
PHP Web Backend Easy Deployment Security Issues
Go Cloud, Networking Scalable, Fast Few Libraries
Kotlin Android Modern Android Small Community
R Data Analysis Great for Stats Not General Use
Rust System Programming Memory Safe Steep Learning Curve
Ruby Web Friendly Syntax Declining Popularity
Dart Mobile, Web Flutter Support Smaller Ecosystem
Scala Big Data Functional + OOP Complex Learning
Perl Scripting Text Processing Outdated Use
6
Python
Python Version
• Guido van Rossum published the code in 1991
• Intuitive and easy grammar
• Extensive set of library and strong opensource community
• Interpreter, Script language (no need for compile) -> Slow
performance

• No declaring a variable (called Dynamic type)

• High productibility
• High expandable and applicable

https://en.wikipedia.org/wiki/History_of_Python 7
How to use the ‘Python’ in the computer ???
(1) Python Website

But, for practice, we need Integrated Development Environment (IDE) 8


Python IDE

Integrated Development Environment (IDE)

• VS Code
• Anaconda
• Colab
• Pycharm
• Spyder
• Atom

9
How to use the ‘Python’ in the computer ???
(2) Anaconda distribution

• Easy to manage coding scripts (e.g., Library)


• Include many packages
• Install Python, Jupyter Notebook, …

10
Website download
How to use the ‘Python’ in the computer ???

11
How to use the ‘Python’ in the computer ???

Jupyter Notebook, Jupyterlab -> Web based computing

1. User Interface
•Jupyter Notebook: Simple, easy-to-learn interface; ideal for
beginners.
•Jupyter Lab: More flexible and customizable; better suited
for large or complex projects.

2. File Management
•Jupyter Notebook: Each notebook is saved as a separate
file, requiring manual organization.
•Jupyter Lab: Includes a file browser, allowing easy creation,
editing, and management of files and directories.

3. Document Support
•Jupyter Notebook: Primarily focused on notebook (.ipynb)
files.
•Jupyter Lab: Supports multiple document types, including
notebooks, scripts, and markdown files, making it more
useful for data science and machine learning workflows.

4. Use Cases
•Jupyter Notebook: Best for beginners, small-scale projects,
and quick experiments.
•Jupyter Lab: Designed for advanced users handling
complex projects, providing a more powerful and extensible
workspace.
12
How to use the ‘Python’ in the computer ???
(3) VS Code
• Free open source
editor by Microsoft
• Support many
languages
• Good for debugging,
highlight, auto-filling,
etc

13
How to use the ‘Python’ in the computer ???
(3) VS Code
Install Python
1) Open VS code
2) Search ‘python’ →
3) Create a new file↓

14
How to use the ‘Python’ in the computer ???

15
How to use the ‘Python’ in the computer ???
(4) Google Colab

• Jupyter-based web service


• Available Google server and GPU server -> Cloud computing
• Most of libraries are available through the google server
• Good for collaboration, testing before going into a project
• Still developing …

16
How to use the ‘Python’ in the computer ???
(4) Google Colab

17
Quiz

• Write advantages of Python

• Write a list of Python IDE

18
Introduction: How to write a report?
Conventional Journal-style report

<Title> <Optional>
• Table of contents
• Abstract
<Name> <Date>

• Figure Captions (Figure 1, Figure 2, …)


<Introduction or problem>
… • Table Captions (Table 1)

<Method>

<Results>

<Discussion>

<Conclusion>

19
Introduction: How to write a report?
For this class

<Title> <Optional>
• Table of contents
• Abstract
<Name> <Date>

• Figure Captions (Figure 1, Figure 2, …)


<Introduction or problem>
… • Table Captions

<Method & Results> Code…


Explain all functions that you used

Code…
Explain all functions that you used

<Discussion> …

<Conclusion>

20

You might also like