Python进制转换(二进制、十进制和十六进制)
摘要:
来源:http://www.cnblogs.com/zhangpengshou/archive/2012/03/12/2392068.html#!/usr/bin/env python# -*- coding: utf-8 -*-# 2/10/16 base trans. wrote by srcdog on 20th, April, 2009# ld elements in base 2, 10, 16.import os,sys# global definition# base = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F]base = 阅读全文
posted @ 2012-03-15 20:28 sysuoyj 阅读(838) 评论(0) 推荐(0) 编辑