{"id":819,"date":"2018-08-22T19:41:38","date_gmt":"2018-08-22T22:41:38","guid":{"rendered":"https:\/\/caem.ufpr.br\/?p=819"},"modified":"2020-09-29T23:31:53","modified_gmt":"2020-09-30T02:31:53","slug":"python-intermediario","status":"publish","type":"post","link":"https:\/\/caem.ufpr.br\/index.php\/2018\/08\/22\/python-intermediario\/","title":{"rendered":"WORKSHOP PYTHON INTERMEDI\u00c1RIO"},"content":{"rendered":"<div class=\"l-subsection\"><div class=\"l-subsection-h\"><div class=\"l-subsection-hh g-html i-cf\"><p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/caem.ufpr.br\/wp-content\/uploads\/2018\/08\/Python.jpg\" alt=\"gagaga (1)\" width=\"275\" height=\"183\" class=\"alignnone size-full wp-image-661\" \/><\/p>\n<p><strong>WORKSHOP PYTHON INTERMEDI\u00c1RIO<\/strong><\/p>\n<p><strong>CURSO OFERECIDO POR:<strong> YAPIRA.<br \/>\n<strong>DATA<\/strong>: Sexta (23\/10)<br \/>\n<strong>HORA<\/strong>: 14:00-19:00<\/p>\n<p><strong>DESCRI\u00c7\u00c3O:<\/strong> Manipulando texto usando strings: Introdu\u00e7\u00e3o \u00e0s strings Concatenando strings M\u00e9todos como .title(), .count() e .replace() (Introdu\u00e7\u00e3o aos m\u00e9todos) Extraindo informa\u00e7\u00f5es alg\u00e9bricas de strings: int(), float(), fun\u00e7\u00e3o eval() Fun\u00e7\u00e3o input() e seu valor de retorno Fun\u00e7\u00e3o print() e seus argumentos ( m\u00e9todo .format() ) Acessando os caracteres de uma string por indexa\u00e7\u00e3o (Introdu\u00e7\u00e3o aos tipos imut\u00e1veis) Listas: M\u00e9todo .split() para strings Fatiamento de listas e strings; List slicing C\u00f3pia de listas e seus problemas (ponteiros) Tuplas: Tuplas e suas declara\u00e7\u00f5es Tuplas como meio de atribui\u00e7\u00e3o ; Despacotando tuplas Conjuntos: Conjuntos e seus usos ( .add() e .remove() ) Iterando por lista de tuplas e conjuntos (despacotando tuplas em for loops) Compreens\u00e3o de listas ; List comprehension (?????) Dicion\u00e1rios: Pares de (chave, valor) Adicionando e removendo itens em dicion\u00e1rios KeyError: usando \u2018in\u2019 e m\u00e9todo .get() Iterando por dicion\u00e1rios usando for loops Classes como agrupamento de dados M\u00e9todo construtor Membros como vari\u00e1veis locais Modulariza\u00e7\u00e3o e importa\u00e7\u00e3o de c\u00f3digo: Modos de importa\u00e7\u00e3o Exemplo: usando o m\u00f3dulo datetime Manipulando arquivos em Python: \u2018with open() as\u2019 e file paths Leitura de arquivos usando .read(), .readline() e for loops Escrevendo em arquivos: argumento mode e .write()<\/p>\n<\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>WORKSHOP PYTHON INTERMEDI\u00c1RIO CURSO OFERECIDO POR: YAPIRA. DATA: Sexta (23\/10) HORA: 14:00-19:00 DESCRI\u00c7\u00c3O: Manipulando texto usando strings: Introdu\u00e7\u00e3o \u00e0s strings Concatenando strings<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-819","post","type-post","status-publish","format-standard","hentry","category-sem-categoria"],"_links":{"self":[{"href":"https:\/\/caem.ufpr.br\/index.php\/wp-json\/wp\/v2\/posts\/819"}],"collection":[{"href":"https:\/\/caem.ufpr.br\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/caem.ufpr.br\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/caem.ufpr.br\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/caem.ufpr.br\/index.php\/wp-json\/wp\/v2\/comments?post=819"}],"version-history":[{"count":7,"href":"https:\/\/caem.ufpr.br\/index.php\/wp-json\/wp\/v2\/posts\/819\/revisions"}],"predecessor-version":[{"id":1410,"href":"https:\/\/caem.ufpr.br\/index.php\/wp-json\/wp\/v2\/posts\/819\/revisions\/1410"}],"wp:attachment":[{"href":"https:\/\/caem.ufpr.br\/index.php\/wp-json\/wp\/v2\/media?parent=819"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/caem.ufpr.br\/index.php\/wp-json\/wp\/v2\/categories?post=819"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/caem.ufpr.br\/index.php\/wp-json\/wp\/v2\/tags?post=819"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}