Language

base 64 ์›ํ•˜๋Š” ํšŸ์ˆ˜๋งŒํผ decoding ํ•˜๊ธฐ python (ํŒŒ์ผ ๋„ฃ์–ด์„œ)

๐“›๐“พ๐“ฌ๐“ฎ๐“ฝ๐“ฎ_๐“ข๐“ฝ๐“ฎ๐“ต๐“ต๐“ช 2016. 12. 22.
728x90
๋ฐ˜์‘ํ˜•

# -*- coding:utf-8 -*-
import base64


f = open("")#ํŒŒ์ผ ๋ช… (๊ฒฝ๋กœ)
Buff = f.readlines()
Buff = str(Buff)

for x in range(0, 50): #50์ž๋ฆฌ์— ๋ฐ˜๋ณตํ•˜๊ณ  ์‹ถ์€ ํšŸ์ˆ˜
Buff = base64.decodestring(Buff)

print Buff


728x90
๋ฐ˜์‘ํ˜•

'Language' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๋‹ค๋ฅธ ๊ธ€

Notepad ๋„์šฐ๊ธฐ - Process  (0) 2022.11.07
Changes in Python 3.6  (0) 2016.12.24
individual bands of image.py  (0) 2016.12.21
RGB image analysis.py  (0) 2016.12.21
image GPS.py  (0) 2016.12.21

๋Œ“๊ธ€