{"course":{"productid":36616,"modality":1,"active":true,"language":"fr","title":"Python for Beginners 2","productcode":"PYFUN2","vendorcode":"IC","vendorname":"Innovator Class","fullproductcode":"IC-PYFUN2","courseware":{"has_ekit":false,"has_printkit":true,"language":""},"url":"https:\/\/portal.flane.ch\/course\/innovator-pyfun2","essentials":"<p><a class=\"fl-href-prod\" href=\"\/swisscom\/fr\/course\/innovator-pyfun1\">Python for Beginners 1 <span class=\"fl-prod-pcode\">(PYFUN1)<\/span><\/a> or equivalent knowledge<\/p>","contents":"<h4>1. Advanced Strings &amp; Data Structures<\/h4><ul>\n<li>String formatting: f-strings, .format(), %<\/li><li>String methods: split, join, replace, find, etc.<\/li><li>Nested structures: lists of dicts, dicts of lists<\/li><li>List, dict, and set comprehensions<\/li><li>Conditional expressions<\/li><li>Lambda functions with map, filter, reduce<\/li><\/ul><h4>2. File Handling<\/h4><ul>\n<li>Opening and reading files (open, read, readlines)<\/li><li>Writing to files (write, writelines)<\/li><li>Using with open(...) and context managers<\/li><li>Handling encoding and file errors<\/li><li>Working with JSON: json.load(), json.dump()<\/li><li>Reading and writing CSV: csv.reader(), csv.DictWriter()<\/li><li>Real-world examples: config files, data export<\/li><\/ul><h4>3. Iterators &amp; Generators and decorators<\/h4><ul>\n<li>iter() and next()<\/li><li>Generator functions using yield<\/li><li>Generator expressions<\/li><li>Custom iterable objects<\/li><li>Functions as objects<\/li><li>Writing decorators<\/li><li>Use cases: logging, timing, access control<\/li><\/ul><h4>4. Object-Oriented Programming (OOP)<\/h4><ul>\n<li>Classes and objects<\/li><li>Attributes and methods<\/li><li>Inheritance and polymorphism<\/li><li>Magic methods: __init__, __str__, etc.<\/li><\/ul><h4>5. Web Scraping<\/h4><ul>\n<li>Using requests to fetch web pages<\/li><li>Parsing HTML with BeautifulSoup<\/li><li>Extracting and cleaning data<\/li><li>Handling errors and edge cases<\/li><\/ul><h4>6. Final Project<\/h4>","essentials_plain":"Python for Beginners 1 (PYFUN1) or equivalent knowledge","contents_plain":"1. Advanced Strings & Data Structures\n\n\n- String formatting: f-strings, .format(), %\n- String methods: split, join, replace, find, etc.\n- Nested structures: lists of dicts, dicts of lists\n- List, dict, and set comprehensions\n- Conditional expressions\n- Lambda functions with map, filter, reduce\n2. File Handling\n\n\n- Opening and reading files (open, read, readlines)\n- Writing to files (write, writelines)\n- Using with open(...) and context managers\n- Handling encoding and file errors\n- Working with JSON: json.load(), json.dump()\n- Reading and writing CSV: csv.reader(), csv.DictWriter()\n- Real-world examples: config files, data export\n3. Iterators & Generators and decorators\n\n\n- iter() and next()\n- Generator functions using yield\n- Generator expressions\n- Custom iterable objects\n- Functions as objects\n- Writing decorators\n- Use cases: logging, timing, access control\n4. Object-Oriented Programming (OOP)\n\n\n- Classes and objects\n- Attributes and methods\n- Inheritance and polymorphism\n- Magic methods: __init__, __str__, etc.\n5. Web Scraping\n\n\n- Using requests to fetch web pages\n- Parsing HTML with BeautifulSoup\n- Extracting and cleaning data\n- Handling errors and edge cases\n6. Final Project","version":"2.3","duration":{"unit":"d","value":2,"formatted":"2 jours"},"pricelist":{"List Price":{"DE":{"country":"DE","currency":"EUR","taxrate":19,"price":1490},"CH":{"country":"CH","currency":"CHF","taxrate":8.1,"price":1490}}},"lastchanged":"2026-03-04T14:02:48+01:00","parenturl":"https:\/\/portal.flane.ch\/swisscom\/fr\/json-courses","nexturl_course_schedule":"https:\/\/portal.flane.ch\/swisscom\/fr\/json-course-schedule\/36616","source_lang":"fr","source":"https:\/\/portal.flane.ch\/swisscom\/fr\/json-course\/innovator-pyfun2"}}