Sin prisa, pero sin pausa.

  • 홈
  • 태그
  • 방명록

Python/Python Programming 1

[ Python - String ] strip() / lstrip() / rstrip()

※ 해당 글을 작성하게 된 이유, 문자열 관련 함수를 제대로 익히고 싶어 글로 남깁니다. strip() / lstrip() / rstrip() 각각 문자열의 양끝에서 / 앞쪽에서 / 뒤쪽에서 공백 또는 문자(열)를 제거해 새로운 문자열을 반환하는 함수 쓰임 1. 공백 제거 str.strip() 문자열의 앞과 뒤의 공백 제거 string = " Mathematical think " print(f"[{string.strip()}]") # [Mathematical think] str.lstrip() 문자열의 앞의 공백 제거 string = " Mathematical think " print(f"[{string.lstrip()}]") # [Mathematical think ]​ str.rstrip() 문자열의 ..

Python/Python Programming 2023.01.24
이전
1
다음
더보기
프로필사진

Sin prisa, pero sin pausa.

저를 2가지 형태의 "뚜벅이"로 소개합니다. 하나, 느려도 착실하게 저만의 스토리를 꾸려가는 것을 즐깁니다. 둘, 제 커리어에 하나의 스토리를 추가한 후 홀로 걷기 여행 가는 것을 좋아합니다.

  • 분류 전체보기 (16)
    • Python (2)
      • Effective Python (1)
      • Python Programming (1)
    • Deep Learning (0)
      • Basic AI (1)
      • Computer Vision (6)
      • Natural Language Processing (1)
    • Useful Information (4)
      • Colab (1)
      • VSCode (2)
      • Git (1)
    • A brief knowledge (2)
      • AI(Light version) (2)

Tag

debugging, Semantic Segmentation, git, Transformer, FCN, U-Net, vlmaps, Human Parsing, machine translation, ResNet, A-CE2P, visual language navigation, SCHP, zero-shot learning, One-shot learning, few-shot learning, VLN, CE2P, vscode, natural language processing, nlp, Computer Vision, LSEG,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/08   »
일 월 화 수 목 금 토
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바