Python

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 8

www.ibp.

ir

www.pylearn.com
.

:
" "
:


www.naghoospress.ir

:

:
babakbabaabasi@gmail.com


1990 . )(
.


2,4,2
.
28 2005 .

2
2,1 o
2,2 o
2,3 o
2,4 o
2,5 o
2,6 o

2
2,1 o ActivePython
2,2 o

3 rpm

4 deb

5 ( )


1990 .
. ) 1998(
) (CWI . CWI
. 1991 .
) (CNRI
. 2000 .
.




... .

.

.
.



. ) ( .

.

) : (
) : ( .
.


.
.
API COM . )(
. ) (



.
. .
World Hello :
Hello World
>#include <stdio.h
)(int main
{
;)" printf(" Hello world
;return 0
}

Hello World
"!! print "Hello World

) : ( BitTorrent ...

) : (Blender 3

) : (Chandler ...

: Civilization IV boost.python

) : (Mailman

: Kombilo go

) : (MoinMoin

) : (Plone

) : (Portage .

) : (zope .

) : (SPE IDE
)wxGlade () PyChecker, ( (Blender(3D .

:


.
.
.
. .

.
BeOS OS/2 Amiga AS/400 PlayStation
iPodLinux Pocket PC Symbian OS Palm OS )
( .

. .


ActiveState ActivePython
) (IDE .
.
API ... ActivePython .
.
.

.
.

ActivePython
.
. ActivePython .1
Windows Installer 2.0 ME 98 95 .2
.
. . .3
ActiveState <Programs<Start) .4
. ( PythonWin IDE<ActivePython 2.2
:
PythonWin 2.2.2 (#37, Nov 26 2002, 10:24:37) [MSC 32 bit (Intel)] on
win32.
Portions Copyright 19942001 Mark Hammond
(mhammond@skippinet.com.au)
see 'Help/About PythonWin' for further copyright information.
>>>


. python.org ftp .1
. Python2.xxx.yyy.exe .2
.3
( IDLE (Python GUI<Python 2.4<Programs<Start
:
Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit (Intel)]
on win32
Type "copyright", "credits" or license() for more information.
****************************************************************
Personal firewall software may warn about the connection IDLE
makes to its subprocess using this computer's internal loopback
interface. This connection is not visible on any external
interface and no data is sent to or received from the Internet.
****************************************************************
IDLE 1.1.3
>>>

rpm

)(
. .
.
! !

) ( .
rpm .
# rpm Uvh python-2.5-12.i586.rpm
Preparing...
]########################################### [100%
1:python-2.5
]########################################### [100%

python ) ( .
$ python
)Python 2.4.3 (#1, Jun 13 2006, 11:46:08
[GCC 4.1.1 20060525 (Red Hat 4.1.1-1)] on linux2
Type "help", "copyright", "credits" or "license" for more
information.
>>>

.
Ctrl+D .

deb
apt .
# aptget install python
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
python2.3
Suggested packages:
pythontk python2.3doc
The following NEW packages will be installed:
python python2.3
0 upgraded, 2 newly installed, 0 to remove and 3 not upgraded.
Need to get 0B/2880kB of archives.
After unpacking 9351kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Selecting previously deselected package python2.3.
(Reading database ... 22848 files and directories currently
)installed.
Unpacking python2.3 (from .../python2.3_2.3.11_i386.deb) ...
Selecting previously deselected package python.

Unpacking python (from .../python_2.3.11_all.deb) ...


Setting up python (2.3.11) ...
Setting up python2.3 (2.3.11) ...
Compiling python modules in /usr/lib/python2.3 ...
Compiling optimized python modules in /usr/lib/python2.3 ...

python . .
$ python
)Python 2.4.3 (#2, Apr 27 2006, 14:43:32
[GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)] on linux2
Type "help", "copyright", "credits" or "license" for more
information.
>>>

Ctrl+D .

)(

ftp python.org ) tgz ( .
. make install , make ,
configure . )
( .
. .


.
)/( .

http://www.python.org

-
http://www.python.ir/index.php

http://www.pylearn.com

You might also like