Anton Kasyanov, Introduction to Python, Lecture1Presentation Transcript
Introduction to Python Lecture 1 Kasyanov Anton IASA 2011
Why do I do this? I like Python and English I want to do something useful for you I want to share my knowledge Summer school experience
Why English? New different experience Good job needs good English Language of IT is English I want it to be so
Course details Every Wednesday 16.15 oclock One hour length Breaks? Ask questions even in Russian/Ukrainian Practice here and at home
Contacts Group KA-05 Phone: 066-595-23-25 E-mail: firstname.lastname@example.org Vk: vkontakte.ru/mindmaster
Again Ask questions Dont be shy Dont be afraid if your English is not perfect I do mistakes too
What is Python? Python is a high-level programming language whose design philosophy emphasizes code readability. Python supports multiple programming paradigms. It features a fully dynamic type system and automatic memory management. Scripting language but can be packaged into executable files (e.g. py2exe).
What else? Python is cross-platform. Very strong but elegant. Batteries included – Python is served with libraries for almost everything. Developers describe it like “beautiful”, “explicit” and “simple”.
Integration Python can integrate with COM, .NET, and CORBA objects. For Java libraries, use Jython, an implementation of Python for the Java Virtual Machine. For .NET, try IronPython , Microsofts new implementation of Python for .NET Modules for Python can be written using C/C++
Available platforms Windows Linux/Unix OS/2 Mac Nokia S60 Android
Web development CGI scripts Creating sites/web apps using frameworks like Django or TurboGears Extensive support for HTML and XML E-mail processing Support for many other Internet protocols. Low-level network programming (Twisted).
Database acess Libraries to simply interact with MySQL, Oracle, MS SQL Server, PostgreSQL
Desktop GUI Tk WxWidgets GTK+ Qt
Who uses Python? Google BitTorrent Yahoo! CERN NASA IBM DreamWorks
Python 2 and 3 Two actual versions Python 3 is more developed No backports! Not all Python 2 libraries are ported to Python 3 Ill tell about Python 2
IDEs Terminal Gedit/TextMate/Notepad++ or any other notepad application Netbeans (plugin) PyDev (plugin for Eclipse) XCode PyCharm