Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.

Por que você deveria aprender python?

452 vues

Publié le

Publié dans : Logiciels
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Répondre 
    Voulez-vous vraiment ?  Oui  Non
    Votre message apparaîtra ici
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Répondre 
    Voulez-vous vraiment ?  Oui  Non
    Votre message apparaîtra ici
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Répondre 
    Voulez-vous vraiment ?  Oui  Non
    Votre message apparaîtra ici
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Répondre 
    Voulez-vous vraiment ?  Oui  Non
    Votre message apparaîtra ici
  • parabéns,muito boa apresentação
       Répondre 
    Voulez-vous vraiment ?  Oui  Non
    Votre message apparaîtra ici

Por que você deveria aprender python?

  1. 1. por que você deveria aprender python?
  2. 2. @felipevolpone github.com/felipevolpone
  3. 3. história quem usa referências onde é usado comunidade características por que aprender uma nova linguagem? o que vai rolar
  4. 4. por que aprender uma nova linguagem?
  5. 5. uma linguagem não resolve todos os problemas
  6. 6. novo modo de pensar ! paradigmas diferentes ! novas características ! linguagens possuem maneiras diferentes de resolver os mesmos problemas ! diferentes ferramentas ! nova comunidade
  7. 7. Programas se tornaram complexos e grandes demais para caber na mente humana. […], a ciência da computação pode ensinar como disciplinar seus trabalhos para que 500 programadores medianos, consigam juntos, produzir um software segundos suas necessidades. conservativo Simply Scheme: Introducing Computer Science
  8. 8. Programas se tornaram grandes e complexos demais para caber na mente humana. […], a ciência da computação pode ensinar como expandir a mente dos desenvolvedores para que os programas caibam. Ensinando como pensar em um vocabulário maior, mais poderoso e mais flexível. radical
  9. 9. escolha PYTHON
  10. 10. história
  11. 11. Guido van Rossum @gvanrossum baseada em ABC começou em 1989
  12. 12. características
  13. 13. expressiva dinâmica orientadaaobjetos fácil legível simples é melhor que complexo expansível produtividade em evolução bonito é melhor que feio
  14. 14. $ python >>> import this ! 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. Unless explicitly silenced. There should be one-- and preferably only one --obvious way to do it. Now is better than never.
  15. 15. vs
  16. 16. x = 10 w = x + y Traceback: w = x + y NameError: name 'y' is not defined numero = 27 nome = 'python' resultado = nome + numero Traceback: resultado = nome + numero TypeError: cannot concatenate ‘str' and ‘int' objects
  17. 17. public class HelloWorld { ! public static void main(String[] args) { System.out.println("Hello, World"); } } print 'Hello, World' for(int i = 1; i < 10; i++) { System.out.println(i); } for i in range(1,10): print i !
  18. 18. ! def somar(a=0, b=1): return a+b ! somar() # 1 somar(a=5, b=3) # 8 !
  19. 19. class Colaborador { private String nome; private int salario = 1000; private String cargo = “"; public Employee(String nomeColaborador) { this(nomeColaborador, 1000); } ! public Employee(String nomeColaborador, int salario) { this(nomeColaborador, salario, "dev"); } ! public Employee(String nomeColaborador, int salario, String cargo) { this.nome = nomeColaborador; this.salario = salario; this.cargo = cargo; } } class Colaborador(): ! def __init__(self, nomeColaborador, salarioColaborador =1000, cargoColaborador ="dev"): ! self.__nome = nomeColaborador self.__salario = salarioColaborador self.__cargo = cargoColaborador
  20. 20. objetos everywhere
  21. 21. ! def dobrar(numero): return numero*2 ! def funcao_invocadora(funcao, valor): return funcao(valor) ! funcao_invocadora(dobrar, 2) # 4 ! !
  22. 22. def somar(a=0, b=1): return a+b ! print dir(somar) ['__call__', ‘__class__’, '__defaults__', '__delattr__', '__dict__', '__doc__', '__format__', '__get__', '__getattribute__', '__globals__', '__hash__', '__init__', '__module__', '__name__', '__new__', '__repr__', '__setattr__', '__sizeof__', ‘__str__', 'func_code', 'func_defaults', 'func_dict', 'func_doc', 'func_globals', ‘func_name'] ! somar.func_name # “somar" ! somar.func_defaults # (0, 1)
  23. 23. CPython (padrão) ! PyPy (jit) ! IronPython (.net) ! Jython (jvm)
  24. 24. como pode ser usado?
  25. 25. web desktop redes sysadmin computação
 gráfica computação científica web crawling machine learning big data
  26. 26. como onde pode ser usado?
  27. 27. linux windows unix mac androidraspberry Python without an operating system http://lwn.net/Articles/641244/ iOS
  28. 28. quem usa
  29. 29. lugar no langpop.com lugar no tiobe.com popularidade 6º 8º
  30. 30. brasil.gov.br FBI CIA civilization IV yahoomaps yahoo disney blender 3D NASA IBM https://wiki.python.org/moin/OrganizationsUsingPython
  31. 31. como começar?
  32. 32. linux/mac $ python Python 2.7.5 (default, Mar 9 2014, 22:15:05) [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin Type "help", "copyright", "credits" or "license" for more information. ! >>> https://www.python.org/downloads/windows/ windows
  33. 33. bottle django flask tornado webapp web2py cherrypy pyramid web.py frameworks web plone turbogears
  34. 34. from bottle import route, run ! @route('/hello') def hello(): return "Hello World!" ! run(host='localhost', port=8080, debug=True)
  35. 35. https://docs.python.org/2/tutorial/ https://developers.google.com/edu/python/ https://cloud.google.com/appengine/docs/python/gettingstartedpython27/introduction
  36. 36. http://www.dextraining.com.br/
  37. 37. comunidade
  38. 38. eventos RuPy pythonbrasil[11] dev
 camp
  39. 39. https://groups.google.com/forum/#!forum/python-brasil grupo python brasil https://mail.python.org/mailman/listinfo listas de email do python
  40. 40. referências
  41. 41. Fluent Python, Luciano Ramalho http://importpython.com/books/ Python in a Nutshell, Alex Martelli
  42. 42. @felipevolpone

×