All
the languages you've mentioned are Turing Complete, so in theory there is
nothing one can do and another can't. In practice of course, there are
differences, especially in productivity and efficiency. Compared to C, C++ and
Java, which are static typed, Python is a dynamic language and can help you
write the same code in significantly fewer lines. Python has a moto
"batteries included", which means that the standard library offers
all the things needed to build a complex application. Other languages would need
external libraries for this. On top of this, since Python is an old and mature
language (older than Java), many external libraries (for game development and
scientific calculations just to mention a few) have been evolved. So Python can
be used to program desktop applications and in fact in some cases more
efficiently than other traditional languages.
Script Editor for the Python Programming Language.
For the Python programming language, the default
editor is IDLE, which is provided with Python. IDLE provides an integrated
development environment (IDE) with a limited set of features. Many
IDE's are available for the Python programming language. For instance,
on Windows you may choose to use the freely available PythonWin IDE.
To change the script editor for the Python programming language:
- Open the file clientscriptingcfg.ini, located in the directory where IBM® SPSS® Statistics is installed. Note: clientscriptingcfg.ini must be edited with a UTF-16 aware editor, such as SciTE on Windows or the TextEdit application on Mac.
- Under the section labeled [Python], change the value of EDITOR_PATH to point to the executable for the desired editor.
- In that same section, change the value of EDITOR_ARGS to handle any arguments that need to be passed to the editor. If no arguments are required, remove any existing values.
Subscribe to:
Posts (Atom)