Python-wingide

WingIDE 5.0注册机

在wingIDE下开发python非常方便,但IDE不是免费的,网上有破解的方法,请支持正版。

把下列文件CalcActivationCode.py加载到wingIDE中。LicenseID可以随便给一个,但也有一定的规则,如下
ENX27-HWM6G-XYVFA-165VM。RequestCode在注册时会给出的,每台机器上的都不一样,填入LicenseID和
RequestCode后运行文件即可。

import sha
import string
BASE2 = ‘01‘
BASE10 = ‘0123456789‘
BASE16 = ‘0123456789ABCDEF‘
BASE30 = ‘123456789ABCDEFGHJKLMNPQRTVWXY‘
BASE36 = ‘0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ‘
BASE62 = ‘ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz‘
BASEMAX = string.printable
def BaseConvert(number, fromdigits, todigits, ignore_negative = True):
    """ converts a "number" between two bases of arbitrary digits
    
    The input number is assumed to be a string of digits from the
    fromdigits string (which is in order of smallest to largest
    digit). The return value is a string of elements from todigits
    (ordered in the same way). The input and output bases are
    determined from the lengths of the digit strings. Negative 
    signs are passed through.
    
    decimal to binary
    >>> baseconvert(555,BASE10,BASE2)
    ‘1000101011‘
    
    binary to decimal
    >>> baseconvert(‘1000101011‘,BASE2,BASE10)
    ‘555‘
    
    integer interpreted as binary and converted to decimal (!)
    >>> baseconvert(1000101011,BASE2,BASE10)
    ‘555‘
    
    base10 to base4
    >>> baseconvert(99,BASE10,"0123")
    ‘1203‘
    
    base4 to base5 (with alphabetic digits)
    >>> baseconvert(1203,"0123","abcde")
    ‘dee‘
    
    base5, alpha digits back to base 10
    >>> baseconvert(‘dee‘,"abcde",BASE10)
    ‘99‘
    
    decimal to a base that uses A-Z0-9a-z for its digits
    >>> baseconvert(257938572394L,BASE10,BASE62)
    ‘E78Lxik‘
    
    ..convert back
    >>> baseconvert(‘E78Lxik‘,BASE62,BASE10)
    ‘257938572394‘
    
    binary to a base with words for digits (the function cannot convert this back)
    >>> baseconvert(‘1101‘,BASE2,(‘Zero‘,‘One‘))
    ‘OneOneZeroOne‘
    
    """
    if not ignore_negative and str(number)[0] == ‘-‘:
        number = str(number)[1:]
        neg = 1
    else:
        neg = 0
    x = long(0)
    for digit in str(number):
        x = x * len(fromdigits) + fromdigits.index(digit)

    res = ‘‘
    while x > 0:
        digit = x % len(todigits)
        res = todigits[digit] + res
        x /= len(todigits)

    if neg:
        res = ‘-‘ + res
    return res

def SHAToBase30(digest):
    """Convert from a hexdigest form SHA hash into a more compact and
    ergonomic BASE30 representation.  This results in a 17 ‘digit‘ 
    number."""
    tdigest = ‘‘.join([ c for i, c in enumerate(digest) if i / 2 * 2 == i ])
    result = BaseConvert(tdigest, BASE16, BASE30)
    while len(result) < 17:
        result = ‘1‘ + result

    return result
def AddHyphens(code):
    """Insert hyphens into given license id or activation request to
    make it easier to read"""
    return code[:5] + ‘-‘ + code[5:10] + ‘-‘ + code[10:15] + ‘-‘ + code[15:]

LicenseID=‘ENX27-HWM6G-XYVFA-165VM‘
#Copy the Request Code from the dialog, 
RequestCode=‘RW53F-DDQ27-BCKPY-WAC76‘
hasher = sha.new()
hasher.update(RequestCode)
hasher.update(LicenseID)
digest = hasher.hexdigest().upper()
lichash = RequestCode[:3] + SHAToBase30(digest)
lichash=AddHyphens(lichash)

#Calculate the Activation Code
data=[7,123,23,87]
tmp=0
realcode=‘‘
for i in data:
    for j in lichash:
        tmp=(tmp*i+ord(j))&0xFFFFF
    realcode+=format(tmp,‘=05X‘)
    tmp=0

act30=BaseConvert(realcode,BASE16,BASE30)
while len(act30) < 17:
    act30 = ‘1‘ + act30
act30=‘AXX‘+act30
act30=AddHyphens(act30)
print "The Activation Code is: "+act30

Python-wingide

时间: 2024-08-06 07:04:11

Python-wingide的相关文章

python wingIDE 5.0 安装和破解

之前网上的破解方法多是以替换pyo文件为主. 经在win7和win8 下经验发现,替换后,ide就启动不起来了. 除此之外还有大把的反编译破解教程,对于时间不宽裕的孩子,估计更是没心情看. 几经折腾,最后发现这个计算注册码的脚本. 整理后的安装包,破解脚本和破解方法描述文本,整理打包放在百度云盘上.下面是下载链接. http://pan.baidu.com/s/1kTFUwsB   最后,尊重别人的劳动和原创. http://lovesoo.org/wingide-zhu-ce-po-jie-f

Python 集成开发环境——WingIDE License Creater

STEP 1: 安装WingIDE(下载地址:http://wingide.com/downloads): STEP 2: 新建后缀名为.py的文件(名称随便),将以下代码添加进去,保存: import sha import string BASE2 = '01' BASE10 = '0123456789' BASE16 = '0123456789ABCDEF' BASE30 = '123456789ABCDEFGHJKLMNPQRTVWXY' BASE36 = '0123456789ABCDE

Windows下Python开发工具推荐

*  如果只是纯Python开发人员,WingIDE 是不二之选. 优点:短小精悍,启动快.调试快.反应快.Auto-completion快. 没有Eclispe的巨大臃肿.反应迟钝.跛脚的调试功能. 快捷键可以在Emacs,VS,Eclipse等之间自己选择. 个人最喜欢的功能是 Debug Probe,简直是交互式开发的利器. Linux和Wingows下都能用,一个安装包搞定. *  如果是Python和C的混合编程,需要进行mixed-mode C/Python debugging, 则

python 反编译模块uncompyle2的使用--附破解wingide5 方法

原来一直用pycharm,无奈它常常无法使用.来訪问一些模块的属性,朋友推荐了wingide,于是去官网下载了wingide5的最新版本号,仅仅有10天的试用期,就想能否用python的uncompyle2来反编译一下注冊文件: 首先下载uncompyle2 sudo pip2.7 install uncompyle2 成功安装后就能够在命令行下使用uncompyle2了,windows能够去安装路径查找这个exe命令 其次,从wingide中找到注冊文件 bin/2.7/中的src.zip,将

Python主流IDE对比:Eric VS. PyCharm

IDE, 全称是Integrated Development Environment,翻译过来就是集成开发环境.Python的开发从2010年5月算起,不知不觉中,到现在已经是第七个年头. 这六年里,舍得最常用的IDE是Eric6(一开始是5.x版本),也试用过圈内闻名的PyCharm.WingIDE和Eclipse(+PyDev插件),算是有些心得.今天,着重对Eric6和PyCharm 2016.3作一下简单的评测. 颜值 Eric6是基于PyQt开发的,程序运行甚至只用一个BAT文件来调用

(2)在Windows 7 x64端设置Python环境

因Python语言在大数据处理,以及科学计算方向的雄起,另Django等Web框架已经在业界获得共识多年,所以本文拟搭建Python的学习开发环境.由于本人的笔记本及实验室主机系统环境以Windows为主,所以本文意在搭建Windows环境下的Python开发环境. 本文的内容主要分为以下几个部分:1.寻找合适的IDE:2.搭建Django:3.搭建Numpy+matplotlib+Scipy环境 *************************************************

Machine and Deep Learning with Python

Machine and Deep Learning with Python Education Tutorials and courses Supervised learning superstitions cheat sheet Introduction to Deep Learning with Python How to implement a neural network How to build and run your first deep learning network Neur

整合git与wingIDE(加强代码的版本控制)

通过多次被IDE的闪退崩溃甚至无教程调教后,我深刻认识到开发wingIDE这种IDE的小公司,在很多功能方面就是个坑…… 所以,如果你的电脑比较好,运行pycharm无压力,建议略过此文,直接去用pycharm,省了下面的糟心事. 当然,我是属于电脑很烂,用pycharm时一点右键就会整个电脑卡死的那种,只能委曲求全用wingIDE,平时练习写写还好,这次需要做严格版本控制时,傻了眼了. 官方主页上关于版本控制的教程是两段分辨率超低的视频,还得FQ去看,然而看了并没有多少用处,因为他只是告诉你有

Python实践笔记

书中涉及的Python扩展库包括NumPy.SciPy.SymPy.matplotlib.Traits.TraitsUI. Chaco.TVTK.Mayavi.VPython.OpenCV等. 非常适合于网站开发,系统管理以及通用的业务应用程序. Python还在科学计算领域建立了牢固的基础,覆盖了从石油勘探的地震数据处理到量子物理等范围广泛的应用场景. Python是一种面向对象的,动态的程序设计语言,具有非常简洁而清晰的语法,既可以用于快速开发程序脚本,也可以用于开发大规模的软件,特别适合于

python爬虫之中文编码问题

python编码是个博大精深的知识,而我还是出血python,所以我目前所要求自己的仅仅是在自己的爬取网页获取中文信息时不会出错,仅此而已,对于其他更深层次的内容随着知识的积累想必有更深刻的理解.以下并不是我的原创理解,而是在网上查阅很多博主有想法更直观的表达后自己才能对这些编码有更直认识,感谢他们 首先附上中文编码比较,更直观的显示出不同编码对文字输出的影响 编译环境是wingide win8.1 输入#-*- coding:utf-8 -*-s='ab我是中文字符串'ss=u'ab我是中文字