Grupo: Bruno W. Gonçalves, Michelle C. Colin, Vanessa S. Conceição
Linguagem Orientada a Objetos Open Source Multiplataforma Scripting e Aplicações WEB com Django
Lançado por Guido Van Rossum em 1991 Computer Programming for Everybody Versão atual Modelo de desenvolvimento comunitário – Python Software Foundation
Sintaxe clara e fácil de ler Um bloco de código é feito através da identação Orientação a Objetos intuitiva Tudo é objeto Tipagem dinâmica forte Pode-se atribuir a uma variável qualquer tipo de valor Multiplataforma Linguagem interpretada Rápido desenvolvimento Dont Repeat Yourself Keep It Simple Stupid
Extensa biblioteca padrão Módulos de terceiros para praticamente todas as tarefas Grande variedade de Frameworks Desenvolvimento para diversos tipos de arquitetura WEB Desktop Mobile Linguagem amigável
Componente padrão para diversos SO Linux Mac OSX Java Virtual Machine Jython.NET ironPython
YouTube Google Yahoo NASA GIMP Indústria de segurança da informação Industrial Light & Magic – Computação gráfica
Linguagens bastante diferentes editar-executar X editar-compilar-executar Estruturas nativas de dados Listas Dicionários Mais produtivo (de 5 a 10 vezes) Tipagem dinâmica X tipagem estática Conciso X prolixo compacto
JAVAPython if ( a > b ) { a = b; b = c; } if a > b : a = b b = c
Escrever na tela hello world JavaPython public class HelloWorld { public static void main (String[] args) { System.out.println(Hello World); } Print Hello World
Para abrir um arquivo JAVAPython import java.io.*;... BufferedReader myFile = new BufferedReader( new FileReader(argFilename)); # open an input file myFile = open(argFilename)
The Zen of Python, by Tim Peters Beautiful is better than ugly. Explicit is better than implicit. Simple is better than complex. Complex is better than complicated. Flat is better than nested. Sparse is better than dense. Readability counts. Special cases aren't special enough to break the rules. Although practicality beats purity. Errors should never pass silently. Unless explicitly silenced. In the face of ambiguity, refuse the temptation to guess. There should be one-- and preferably only one --obvious way to do it. Although that way may not be obvious at first unless you're Dutch. Now is better than never. Although never is often better than *right* now. If the implementation is hard to explain, it's a bad idea. If the implementation is easy to explain, it may be a good idea. Namespaces are one honking great idea -- let's do more of those!
mo-python-a-usado/ mo-python-a-usado/ romAddiction romAddiction
arisons arisons