LINUX CATEGORIES:
GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
|
|
|
|
WEEK'S BEST
BackTrack 5 R1Wine 1.2.3 / 1.4 RC3Mozilla Firefox 10...Ubuntu 11.04Angry Birds 1.1.2.1Ubuntu 10.04.3 LTSLinux Kernel 3.2.6Ubuntu Manual 10.10Adobe Flash Player...Pidgin 2.10.1 |
7-DAY TOP DOWNLOAD
# |
Program |
 | Comice OS 4.0 Beta 1 2,712 downloads |  | Phorum 5.2.17 2,681 downloads |  | Wine 1.2.3 / 1.4 RC3 2,460 downloads |  | BackTrack 5 R1 2,417 downloads |  | VLC 1.1.13 / 2.0.0 RC1 2,285 downloads |  | Adobe Flash Player for Linux 11.1.102.55 1,677 downloads |  | Yahoo Messenger 1.0.4 1,474 downloads |  | Fedora 16 1,414 downloads |  | Thunderbird PST Import plugin 1.2 1,323 downloads |  | Google Chrome 17.0.963.46 / 19.0.1036.7 Alpha 1,195 downloads |
|
TOP 10 LINUX DISTROS
# |
Distribution |
 | BackTrack 5 R1 753,566 downloads |  | Fedora 16 443,918 downloads |  | Mandriva Linux 2011 374,278 downloads |  | KNOPPIX Live DVD 6.7.1 327,171 downloads |  | Yellow Dog Linux 6.2 244,068 downloads |  | Kororaa AIGLXgl Live CD 0.3 201,720 downloads |  | openSUSE Linux 12.1 / 12.2 Milestone 1 184,911 downloads |  | Red Hat Enterprise Linux 6.2 172,819 downloads |  | Slackware 13.37 147,959 downloads |  | Ubuntu 9.10 121,802 downloads |
|
|
Home > Linux > Latest user reviews
|
|
| Pages: 1 2 3 4 5 6 7 |
| Eclipse 3.7.1 | Reviewer: aaaa
Date: 13 Feb 2012, 12:18 GMT Overall rating:      | GUI:     Features:     Ease of use:     Value:     

Eclipse project is an open source community whose projects are focused on providing an extensible development platform and application frameworks for building software.
Eclipse provides extensible tools and frameworks that span the software development lifecycle, including support for modeling, language development environments for Java, C/C and others, testing and performance, business intelligence, rich client applications and embedded development.
A large, vibrant ecosystem of major technology vendors, innovative start-ups, universities and research institutions and individuals extend, complement and support the Eclipse Platform |
| pyflakes3k 0.4.2 | Reviewer: Roy
Date: 08 Feb 2012, 20:13 GMT Overall rating:      | GUI:     Features:     Ease of use:     Value:     

The installation and use of pyFlakes is not well documented IMO… here is my attempt.
As of 2012/02/08, there are two flavors pyflakes3k-0.4.2 and pyflakes-0.5.0;
The former works under python 3.x and the later under 2.x
Unzip the appropriate flavor to your drive and run “python setup.py –install”.
This will install pyFlakes onto your local Python installation as a package under
the “…\Lib\site-packages” (e.g. “C:\Python3\Lib\site-packages\pyflakes”) directory.
Here’s what you need to do for Windows (no experience w/ other OSs):
1) Copy the “…\\bin\pyflakes”
(i.e. “P:\pyflakes3k-0.4.2\bin\pyflakes”) file to a directory on the Path;
I suggest the directory where python.exe resides.
2) Create a file named “pyflakes.bat in the same directory with the following
content (which was NOT original with me):
@echo off
rem pyflakes doesn't install an executable at all on windows.
rem It (you) should install a pyflakes.bat with the following content:
rem Use python to execute the python script having the
rem same name as this batch file (without any extension),
rem located in the same directory as this batch file.
python "%~dpn0" %*
rem d = drive; p = path; n = name
rem "%0" is the parameter zero of a batch, i.e. the name of the batch.
rem Note that %0 may or may not comprehend the file extension
rem (depending on how it was called), "%~dpn0" does NOT
rem include the extension anyway ("%~dpnx0" does, however).
================================================================================
3) Edit the local Python installation’s
“…\Lib\site-packages\pyflakes\scripts\pyflakes.py” script to add lines as follows:
...
def check(codeString, filename):
...
# First, compile into an AST and handle syntax errors.
try:
# ==== Added the following lines to convert Windows EOL characters
# See "Python v3.1.2 documentation" --> "The Python Standard Library"
# --> "2. Built-in Functions" under the compile() function:
# "Note: When compiling a string with multi-line statements,
# line endings must be represented by a single newline
# character ('\n'), and the input must be terminated
# by at least one newline character.
# If line endings are represented by '\r\n',
# use str.replace() to change them into '\n'."
# See also "http://www.jeetworks.org/node/67"
winEnd = '\r\n'
unxEnd = '\n'
utfStr = str(codeString, "utf-8")
codeString = utfStr.replace(winEnd, unxEnd)
# ==== End of added code
tree = compile(codeString, filename, "exec", _ast.PyCF_ONLY_AST)
except SyntaxError as value:
msg = value.args[0]
...
4) Now you can check your Python scripts from the command line as follows:
> pyflakes .py |
|
|
|