본문 바로가기
목차
Pages

[Python] String : 문자열

by ds31x 2023. 10. 6.
728x90
반응형

String(문자열)이란?

https://dsaint31.tistory.com/515

 

[Python] (Data) Type: Summary

1. Type 이란?Programming에서 사용되는 모든 value 혹은 object 들의 종류 를 (data) type이라고 부름.수학에서 숫자의 종류(type)를 실수, 정수, 자연수 등으로 나누는 것을 생각하면 쉽다.Programming에서는 문

dsaint31.tistory.com


string formatting

2024.09.04 - [Python] - [Py] Python에서 string formatting.

 

[Py] Python에서 string formatting.

Python에서 문자열에서 변수의 값을 출력하는 방법(string formatting)에는다음과 같은 세 가지 주요 방법이 있음:% 포맷팅 (%-formatting):공식 명칭: Percent formatting도입 버전: Python 초기 버전부터 사용 가

ds31x.tistory.com

 

f-string

https://dsaint31.tistory.com/532

 

[Python] f-String

Python : f-StringPython 3.6 이후 도입됨.기존의 중괄호 {}과 format 메소드를 사용하여 문자열 포매팅을 설정하는 방식(Python 2.6 이후)과 유사하지만, 더 직관적으로 문자열을 포맷팅할 수 있는 기능으로

dsaint31.tistory.com

 


String의 기본 methods

https://dsaint31.tistory.com/533

 

[Python] Basic Methods of String

Basic Methods of String 프로그래밍에서 가장 많이 다루는 데이터는 text라고 할 수 있다.Raw data에서 str(string)은 numerical data 이상으로 가장 애용되는 데이터임.preprocessing 등을 통해 해당 text data는 numerica

dsaint31.tistory.com


String 관련 overloaded operators

https://dsaint31.tistory.com/547

 

[Python] str: Overloaded Operators

Operands의 Data type에 따라 연산자의 동작이 달라지는 대표적인 예임.Overloaded Operators주어진 operands(피연산자)의 종류에 따라 operator의 동작이 달라지는 것을 가리켜 overloaded opeartor라고 부름https://ds3

dsaint31.tistory.com


Regular Expression (정규표현식)

2023.07.03 - [Python] - [Python] Regular Expression : 표현식 요약: 정규표현식 문법을 간단히 다룸.

 

[Python] Regular Expression: 표현식 기초 및 요약

Regular Expression : 정규표현식 요약Regular Expression (re) 의 기본적인 operator는 다음과 같음.Basic operatorDescription.Any character except `\n` (newline)aThe character a itselfabThe string ab itselfx|yx or y\yEscapes a special characte

ds31x.tistory.com

 

https://dsaint31.tistory.com/548: Python의 re 패키지를 간단히 다룸.

 

[Python] Regular Expression : re 요약

Regular Expression : re 요약 정규표현식(正規表現式, Regular Expression)은문자열을 처리하는 방법 중의 하나로특정한 조건의 substring(문자열)을 'searching(검색)'하거나 'substition(치환)'하는 과정을특정 문

dsaint31.tistory.com


같이보면 좋은 자료들

2023.10.06 - [분류 전체보기] - [Summary] Python 정리

 

[Summary] Python 정리

Programming Language and Python 소개2023.10.23 - [Python] - [Python] Programming Language and Introduction of Python. [Python] Programming Language and Introduction of Python.Computer and Programhttps://dsaint31.tistory.com/436: computer 의 정의와 pr

ds31x.tistory.com

 

728x90

'Pages' 카테고리의 다른 글

(바이오) 영상처리 실습 (29251217)  (0) 2025.12.17
[Python] Control Structure and Control Flow  (1) 2023.10.06
[Python] function 과 Scope, Name Space 정리 - Summary  (0) 2023.10.06
[Python] Collections  (0) 2023.10.06
Shell 관련 정리  (0) 2023.10.02