Python part I set up the Python environment

Source: Internet
Author: User

01 Setting up a Python environment

02 Hack wingide

(1) Download Pro version Wingide

Http://wingware.com/downloads/wing-pro/6.0.11-1/binaries&os=linux64

(2) Crack code crack.py

1 Importstring2 ImportRandom3 Importsha4  5BASE16 ='0123456789ABCDEF'6BASE30 ='123456789ABCDEFGHJKLMNPQRTVWXY'                                           #CharSet of License7  8  9 defRandomString (size=20, Chars=string.ascii_uppercase +string.digits):Ten     return "'. Join ((Random.choice (chars) for_inchRange (size))#Generate random License One   A   - defBaseconvert (number, fromdigits, Todigits, ignore_negative=True): -     if  notIgnore_negative andSTR (number) [0] = ='-': theNumber = str (number) [1:] -Neg = 1 -     Else: -Neg =0 +x =Long (0) -      forDigitinchStr (number): +x = x * Len (fromdigits) +fromdigits.index (digit) A   atres ="' -      whileX >0: -digit = x%Len (todigits) -res = Todigits[digit] +Res -X/=Len (todigits) -   in     ifneg: -res ='-'+Res to     returnRes +   -   the defAddhyphens (code): *     returnCode[:5] +'-'+ Code[5:10] +'-'+ code[10:15] +'-'+ code[15:]#Change format $  Panax Notoginseng   - defSHAToBase30 (Digest): theTdigest ="'. join ([C forI, CinchEnumerate (Digest)ifI/2 * 2 = =i]) +result =Baseconvert (Tdigest, BASE16, BASE30) A      whileLen (Result) < 17: theresult ='1'+result +     returnresult -   $   $ defLoop (ECX, Lichash): -Part =0 -      forCinchLichash: thePart = ECX * part + ord (c) & 1048575 -     return PartWuyi   theRNG = Addhyphens ('CN'+ RandomString (18,'123456789ABCDEFGHJKLMNPQRTVWXY')) - Print 'License ID:'+ RNG#generate License ID and write it in Wing WuAct30 = Raw_input ('Enter Request Code:')#GET request code from wing -Lichash =Act30 AboutHasher =sha.new () $Hasher.update (ACT30)#sha Request Code -Hasher.update (RNG)#sha License ID -Lichash = Addhyphens (Lichash[:3] +SHAToBase30 (Hasher.hexdigest (). Upper ())) -  APART5 = Format (loop (Lichash),'05x') + Format (loop (161, Lichash),'05x') + Format (Loop (47, Lichash), +                                                                                       '05x') + Format (Loop (9, Lichash), the                                                                                                       '05x') -Part5 =Baseconvert (Part5.upper (), BASE16, BASE30) $  whileLen (PART5) < 17: thePart5 ='1'+Part5 the   thePart5 ='AXX'+Part5 the Print 'Activation Code:'+ Addhyphens (PART5)#output Activation code and write it in Wing

(3) Break Wing

Step1 run crack.py, get license ID, enter license ID into wing

Step2 copy request code from wing, enter crack.py input box

Step3 get Activation code from crack.py, write to Wing

Python part I set up the Python environment

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.