{"id":957,"date":"2018-02-16T10:20:39","date_gmt":"2018-02-16T10:20:39","guid":{"rendered":"http:\/\/learnlearn.uk\/python\/?page_id=957"},"modified":"2018-02-16T10:26:39","modified_gmt":"2018-02-16T10:26:39","slug":"external-files","status":"publish","type":"page","link":"https:\/\/learnlearn.uk\/python\/external-files\/","title":{"rendered":"External files &#8211; 1 Dimensional Arrays"},"content":{"rendered":"<p>Challenges<\/p>\n<p><strong>Bronze<\/strong><\/p>\n<ul>\n<li>Random name picker ( create a program that loads a file of student names and picks one.<\/li>\n<\/ul>\n<p><strong>Silver<\/strong><\/p>\n<ul>\n<li>The program should exclude any pupils that have already been picked (but not delete them from the file!)<\/li>\n<\/ul>\n<p><strong>Gold<\/strong><\/p>\n<ul>\n<li>The program should have a nice pretty menu screen<\/li>\n<li>The program should save the names of picked students to a separate file so that the picking program can be run over multiple lessons withouts students being picked again.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Challenges Bronze Random name picker ( create a program that loads a file of student names and picks one. Silver The program should exclude any pupils that have already been picked (but not delete them from the file!) Gold The program should have a nice pretty menu screen The program should save the names of&hellip;&nbsp;<a href=\"https:\/\/learnlearn.uk\/python\/external-files\/\" class=\"\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">External files &#8211; 1 Dimensional Arrays<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","footnotes":""},"class_list":["post-957","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>External files - 1 Dimensional Arrays - Python<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/learnlearn.uk\/python\/external-files\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"External files - 1 Dimensional Arrays - Python\" \/>\n<meta property=\"og:description\" content=\"Challenges Bronze Random name picker ( create a program that loads a file of student names and picks one. Silver The program should exclude any pupils that have already been picked (but not delete them from the file!) Gold The program should have a nice pretty menu screen The program should save the names of&hellip;&nbsp;Read More &raquo;External files &#8211; 1 Dimensional Arrays\" \/>\n<meta property=\"og:url\" content=\"https:\/\/learnlearn.uk\/python\/external-files\/\" \/>\n<meta property=\"og:site_name\" content=\"Python\" \/>\n<meta property=\"article:modified_time\" content=\"2018-02-16T10:26:39+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/learnlearn.uk\/python\/external-files\/\",\"url\":\"https:\/\/learnlearn.uk\/python\/external-files\/\",\"name\":\"External files - 1 Dimensional Arrays - Python\",\"isPartOf\":{\"@id\":\"https:\/\/learnlearn.uk\/python\/#website\"},\"datePublished\":\"2018-02-16T10:20:39+00:00\",\"dateModified\":\"2018-02-16T10:26:39+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/learnlearn.uk\/python\/external-files\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/learnlearn.uk\/python\/external-files\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/learnlearn.uk\/python\/external-files\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Python Unit Home\",\"item\":\"https:\/\/learnlearn.uk\/python\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"External files &#8211; 1 Dimensional Arrays\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/learnlearn.uk\/python\/#website\",\"url\":\"https:\/\/learnlearn.uk\/python\/\",\"name\":\"Python\",\"description\":\"Programming\",\"publisher\":{\"@id\":\"https:\/\/learnlearn.uk\/python\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/learnlearn.uk\/python\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/learnlearn.uk\/python\/#organization\",\"name\":\"Python\",\"url\":\"https:\/\/learnlearn.uk\/python\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/learnlearn.uk\/python\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/learnlearn.uk\/python\/wp-content\/uploads\/sites\/4\/2019\/03\/LearnLearnLogowhite.png\",\"contentUrl\":\"https:\/\/learnlearn.uk\/python\/wp-content\/uploads\/sites\/4\/2019\/03\/LearnLearnLogowhite.png\",\"width\":710,\"height\":98,\"caption\":\"Python\"},\"image\":{\"@id\":\"https:\/\/learnlearn.uk\/python\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"External files - 1 Dimensional Arrays - Python","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/learnlearn.uk\/python\/external-files\/","og_locale":"en_GB","og_type":"article","og_title":"External files - 1 Dimensional Arrays - Python","og_description":"Challenges Bronze Random name picker ( create a program that loads a file of student names and picks one. Silver The program should exclude any pupils that have already been picked (but not delete them from the file!) Gold The program should have a nice pretty menu screen The program should save the names of&hellip;&nbsp;Read More &raquo;External files &#8211; 1 Dimensional Arrays","og_url":"https:\/\/learnlearn.uk\/python\/external-files\/","og_site_name":"Python","article_modified_time":"2018-02-16T10:26:39+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/learnlearn.uk\/python\/external-files\/","url":"https:\/\/learnlearn.uk\/python\/external-files\/","name":"External files - 1 Dimensional Arrays - Python","isPartOf":{"@id":"https:\/\/learnlearn.uk\/python\/#website"},"datePublished":"2018-02-16T10:20:39+00:00","dateModified":"2018-02-16T10:26:39+00:00","breadcrumb":{"@id":"https:\/\/learnlearn.uk\/python\/external-files\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/learnlearn.uk\/python\/external-files\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/learnlearn.uk\/python\/external-files\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Python Unit Home","item":"https:\/\/learnlearn.uk\/python\/"},{"@type":"ListItem","position":2,"name":"External files &#8211; 1 Dimensional Arrays"}]},{"@type":"WebSite","@id":"https:\/\/learnlearn.uk\/python\/#website","url":"https:\/\/learnlearn.uk\/python\/","name":"Python","description":"Programming","publisher":{"@id":"https:\/\/learnlearn.uk\/python\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/learnlearn.uk\/python\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/learnlearn.uk\/python\/#organization","name":"Python","url":"https:\/\/learnlearn.uk\/python\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/learnlearn.uk\/python\/#\/schema\/logo\/image\/","url":"https:\/\/learnlearn.uk\/python\/wp-content\/uploads\/sites\/4\/2019\/03\/LearnLearnLogowhite.png","contentUrl":"https:\/\/learnlearn.uk\/python\/wp-content\/uploads\/sites\/4\/2019\/03\/LearnLearnLogowhite.png","width":710,"height":98,"caption":"Python"},"image":{"@id":"https:\/\/learnlearn.uk\/python\/#\/schema\/logo\/image\/"}}]}},"rttpg_featured_image_url":null,"rttpg_author":{"display_name":"learnlearnadmin","author_link":"https:\/\/learnlearn.uk\/python\/author\/learnlearnadmin\/"},"rttpg_comment":0,"rttpg_category":null,"rttpg_excerpt":"Challenges Bronze Random name picker ( create a program that loads a file of student names and picks one. Silver The program should exclude any pupils that have already been picked (but not delete them from the file!) Gold The program should have a nice pretty menu screen The program should save the names of&hellip;&nbsp;Read&hellip;","_links":{"self":[{"href":"https:\/\/learnlearn.uk\/python\/wp-json\/wp\/v2\/pages\/957","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/learnlearn.uk\/python\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/learnlearn.uk\/python\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/learnlearn.uk\/python\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/learnlearn.uk\/python\/wp-json\/wp\/v2\/comments?post=957"}],"version-history":[{"count":2,"href":"https:\/\/learnlearn.uk\/python\/wp-json\/wp\/v2\/pages\/957\/revisions"}],"predecessor-version":[{"id":964,"href":"https:\/\/learnlearn.uk\/python\/wp-json\/wp\/v2\/pages\/957\/revisions\/964"}],"wp:attachment":[{"href":"https:\/\/learnlearn.uk\/python\/wp-json\/wp\/v2\/media?parent=957"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}