개발은 너무해

개발은 너무해

  • Total (377)
    • Introduction to the applica.. (7)
    • MySQL (53)
      • Class (43)
      • secret (0)
      • etc (10)
    • Oracle (98)
      • Oracle Study (43)
      • Oracle Error (19)
      • Oracle Meta (0)
      • Oracle Scrap (18)
      • Oracle Backup (0)
      • Oracle Recovery (5)
      • Oracle Tip (10)
      • Oracle Dictionary (3)
    • Unix & Linux (36)
    • Programming (133)
      • python (2)
      • PHP (10)
      • HTML (4)
      • JavaScript (4)
      • CSS (1)
      • Git (1)
      • Swift (94)
      • CodeIgniter (17)
    • BigData (4)
      • mongoDB (2)
      • kafka (0)
      • Hadoop (2)
    • Apple(iPhone|Mac) (21)
    • Windows (19)
    • 보지않는 막소스 (0)
    • etc (6)
  • Home
  • Write
  • Admin
  • 방명록
  • 개미의 주식 정보 공유
RSS 피드
로그인
로그아웃 글쓰기 관리

개발은 너무해

컨텐츠 검색

태그

linux Swift 생활코딩짱 티스토리챌린지 oracle jqplot MAC mysql recovery docker IncompleteRecovery 실패 M2 잠만보 xcode CI Model 오블완 percona-toolkit xtrabackup vmware

최근글

댓글

공지사항

아카이브

Programming/python(2)

  • 동적변수

    for i in range(0,20): globals()['value_{}'.format(i)] = i print(value_1) print(value_19) 참고로 동적변수를 print 하였을 때 계속 null값이 나와서 당황하였으나, 이후 알고 보니 변수 선언을 해줘서 발생했던 문제이다. 아래는 잘못된 표현이다. value_1 = value_2 = ....... value_19 = '' => 잘못된 선언 for i in range(0,20): globals()['value_{}'.format(i)] = i print(value_1) print(value_19) 위 잘못된 선언을 하고자 한다면 globals() 대신 locals()를 사용하면된다. value_1 = value_2 = ....... va..

    2022.07.28
  • bz2

    >> import bz2 >> str = b"sqlplus scott/tiger" # compress >> compress_str = bz2.compress(str) >> print(compress_str) b'BZh91AY&SYY\xf9\xdb\xc5\x00\x00\x07\x11\x80@\x00\x8a\xa4\xfe\x00 \x001\x00\x00\x08@d\xf0\xa1X\xedh\x9b\x14\x18~N\xfe.\xe4\x8ap\xa1 \xb3\xf3\xb7\x8a' # decompress >> decompress_str = bz2.decompress(compress_str) >> print(d) b"sqlplus scott/tiger" >> print(d.decode()) sqlplus scott..

    2022.07.20
이전
1
다음
티스토리
© 2018 TISTORY. All rights reserved.

티스토리툴바