<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://bf2tech.uturista.pt/index.php?action=history&amp;feed=atom&amp;title=Learning_Python</id>
	<title>Learning Python - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://bf2tech.uturista.pt/index.php?action=history&amp;feed=atom&amp;title=Learning_Python"/>
	<link rel="alternate" type="text/html" href="https://bf2tech.uturista.pt/index.php?title=Learning_Python&amp;action=history"/>
	<updated>2026-08-05T23:52:20Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>https://bf2tech.uturista.pt/index.php?title=Learning_Python&amp;diff=3&amp;oldid=prev</id>
		<title>UTurista: Creating page</title>
		<link rel="alternate" type="text/html" href="https://bf2tech.uturista.pt/index.php?title=Learning_Python&amp;diff=3&amp;oldid=prev"/>
		<updated>2017-09-09T22:57:42Z</updated>

		<summary type="html">&lt;p&gt;Creating page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[wikipedia:Python Programming Language|Python]] is an [[wikipedia:Open source|open source]], [[wikipedia:Interpreted language|interpreted]], very [[wikipedia:High-level language|high level]], [[wikipedia:Dynamic programming language|dynamic]], [[wikipedia:Object-oriented_programming|object-oriented]] programming language (&amp;#039;&amp;#039;whew!&amp;#039;&amp;#039;).  A few other languages of this type are [[wikipedia:Perl|Perl]], [[wikipedia:Php|PHP]], and [[wikipedia:Ruby programming language|Ruby]].  Among these languages, Python is particularly good at integrating with lower-level languages such as [[wikipedia:C programming language|C]]/[[wikipedia:C Plus Plus|C++]] and [[wikipedia:Java programming language|Java]] (Python can even [http://www.jython.org/ run on top of] a [[wikipedia:Java virtual machine|Java Virtual Machine]], if you want).&lt;br /&gt;
&lt;br /&gt;
Taking advantage of this ability to integrate with other languages, the Battlefield 2 game includes a core engine written in [[wikipedia:C Plus Plus|C++]] that is inaccessible to developers (other than EA and DICE), and an embedded Python interpreter; non-EA/DICE developers are able to modify many aspects of how BF2 behaves, as well as add new behaviors, by modifying existing Python programs that are part of BF2, or by writing entirely new ones.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Some good resources for information about the Python language itself:&lt;br /&gt;
* [http://python.org python.org]: The main Python website, and includes lots of information and links to other useful sites, including:&lt;br /&gt;
** [http://wiki.python.org/moin/BeginnersGuide Beginner&amp;#039;s Guide to Python]&lt;br /&gt;
** [http://python.org/doc/2.3.4/tut/tut.html Python Tutorial]&lt;br /&gt;
* [http://www.diveintopython.org Dive Into Python]: Full text of a good intro to Python for people who are already fluent in another programming language.&lt;br /&gt;
* [http://www.uselesspython.com Useless Python]&lt;br /&gt;
* [http://code.google.com/edu/languages/google-python-class/ Google&amp;#039;s Python Class]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Python cookbooks, idioms, and design patterns&lt;br /&gt;
* [http://aspn.activestate.com/ASPN/Python/Cookbook/ ActiveState Python Cookbook]&lt;br /&gt;
* [http://jaynes.colorado.edu/PythonIdioms.html Python Idioms and Efficiency]&lt;br /&gt;
* [http://c2.com/cgi/wiki?PythonIdioms Python Idioms]&lt;br /&gt;
* [http://www.thinkware.se/cgi-bin/thinki.cgi/PythonPatterns Python Design Patterns]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Some good printed books on Python:&lt;br /&gt;
* [http://www.oreilly.com/catalog/lpython2/ Learning Python]&lt;br /&gt;
* [http://www.oreilly.com/catalog/pythonian2/ Python in a Nutshell]&lt;br /&gt;
* [http://www.oreilly.com/catalog/pythoncook2/index.html Python Cookbook]&lt;br /&gt;
* [http://diveintopython.org/ Dive Into Python]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Whether you are new to Python or are an experienced Pythonista trying to debug a program, you&amp;#039;ll find that it&amp;#039;s handy to have a regular Python interpreter (as opposed to the one embedded in BF2) installed on your PC to experiment with. The Python embedded in Battlefield 2 is an old version, 2.3.4; if you install a current version to experiment with be aware that there may be some differences between how it behaves and how BF2 Python behaves.  The best places to download Python from are:&lt;br /&gt;
* http://python.org/download (the official repository for Python)&lt;br /&gt;
* http://activestate.com/Products/ActivePython (a nicely packaged version that includes lots of commonly-used add-ons)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are quite a few good IDEs ([[wikipedia:Integrated development environment|Integrated Development Environments]]) for Python.  IDEs are (highly) glorified text editors that offer lots of features that are especially useful to programmers, such as integrated debuggers, class browsers, language documentation, automatic color-coding and line completion, etc. Some of the more noteworthy ones designed for use with Python:&lt;br /&gt;
* [http://www.python.org/idle/ IDLE]: Included with the standard Python distribution; pretty basic, but fine if you&amp;#039;re just starting out.&lt;br /&gt;
* [http://www.stani.be/python/spe/blog/ SPE]: A full-featured open source Python IDE.&lt;br /&gt;
* [http://boa-constructor.sourceforge.net/ Boa Constructor]: Another full-featured open source IDE.&lt;br /&gt;
* [http://activestate.com/Products/Komodo/ Komodo]: A very good commercial IDE (low-cost non-commercial version available).&lt;br /&gt;
* [http://www.thekompany.com/products/blackadder/ BlackAdder]: Another commercial IDE (free non-commercial version available).&lt;br /&gt;
* [http://wingware.com/products Wing IDE]: Yet another commercial IDE (low-cost &amp;quot;personal&amp;quot; version available).&lt;/div&gt;</summary>
		<author><name>UTurista</name></author>
	</entry>
</feed>