Wingide is an excellent Python IDE. The ointment is not free. Online there are a lot of cracked version actually only provide a crack file, and the crack file is older, is for the python2.5 version of the production.
The Wingide:http://wingware.com/downloads installation process is skipped.
If you do not want to decompile yourself, here is a ready-made file. http://download.csdn.net/detail/gugu1313/8466937
1. First install the Anti-compilation tool Uncompyle2
sudo apt-get install Python-pip
sudo pip install Uncompyle2
2. View wingide installation directory Whereis Wingide5 mine is/USR/LIB/WINGIDE5.
Find the Src.zip in the registration file/usr/lib/wingide5/bin/2.7/from Wingide (python for 2.7, if it is another version of Python to Bin/xx),
Unzip Src.zip: There is a abstract.pyo file in the folder process.
And then use the command
Uncompyle2 abstract.pyo > abstract.py
This generates the source py file according to the Pyo file, and finds the code related to the usage period as follows:
[Python]View PlainCopy
- def _gettermdaysleft (self, lic = None):
- "" "Get number of days left on license. Returns the days, or 0 if expired,
- -1 if unlimited, or-2 On Error "" "
- <span style="color: #ff0000;" > Return-1 #我们直接在这里将这个函数返回-1</span>
- if Config.ksteam:
- Try:
- return self.__getsteamtermdaysleft ()
- except:
- return-2
- If Lic is None:
- LIC = Self.flicensedata
- If Lic is None:
- return 0
- elif lic[' termdays ']! = ' * ':
- Try:
- Fields = String.Split (lic[' Date '), '/')
- If Len (fields)! = 3:
- Raise ValueError
- M, d, y = Map (string.atoi, fields)
- if M < 1 or M > y or D < 1 or D > + or-< 0:
- Raise ValueError
- if y < :
- y = + y
- Lic_date = Time.mktime ((Y,
- M
- D
- 0,
- 0,
- 0,
- 0,
- 0,
- -1))
- except (ValueError, TypeError, overflowerror):
- return-2
- Cur_date = Time.time ()
- Try:
- lic_secs = Int (lic[' termdays ' ) * *
- except ValueError:
- return-2
- if cur_date > lic_date + lic_secs:
- return 0
- if lic_date > cur_date + 86400:
- return 0
- return Int ((Lic_secs-(cur_date-lic_date))/ 86400)
- Else:
- return-1
3. then regenerate the Pyo file with our modified py file
Python-o-M py_compile abstract.py Place the newly generated abstract.pyo into the/usr/lib/wingide5/bin/2.7/src/process folder. Cracked done. Perform/usr/lib/wingide5/wing start wingide discovery has been cracked successfully.
Wingide5-forlinux cracked