{"id":699,"date":"2016-11-19T15:29:05","date_gmt":"2016-11-19T14:29:05","guid":{"rendered":"http:\/\/www.ybierling.com\/v2\/?p=699"},"modified":"2018-01-19T10:13:51","modified_gmt":"2018-01-19T09:13:51","slug":"notepad-randomiser-ordonner-des-lignes-aleatoirement","status":"publish","type":"post","link":"https:\/\/www.ybierling.com\/v2\/fr\/notepad-randomiser-ordonner-des-lignes-aleatoirement\/","title":{"rendered":"Notepad++ randomiser, ordonner des lignes al\u00e9atoirement"},"content":{"rendered":"<p>Avec <span style=\"color: #339966;\"><em><strong>Notepad++<\/strong><\/em><\/span>, il est tr\u00e8s simple de randomiser une liste de lignes, transformer une liste organiz\u00e9e en une liste al\u00e9atoire, comme vous pouvez le voir plus haut.<\/p>\n<p>Pour se faire, v\u00e9rifiez que vous avez install\u00e9 le plugin <em><strong>Python Script<\/strong><\/em> plugin &#8211; sinon, voyez <a href=\"http:\/\/www.ybierling.com\/v2\/fr\/2016\/11\/19\/notepad-installer-le-plugin-python-script-avec-le-plugin-manager\/\">Notepad++ installer le plugin Python Script avec le Plugin Manager<\/a><a href=\"http:\/\/www.ybierling.com\/v2\/en\/2016\/11\/19\/notepad-install-python-script-plugin-with-plugin-manger\/\">.<\/a> Nous allons ensuite installer le script <a href=\"https:\/\/github.com\/ethanpil\/npp-randomizelines\">RandomizeLines.py for Notepad++<\/a> de <span style=\"color: #339966;\"><em><strong>github<\/strong><\/em><\/span>.<\/p>\n<p>Ouvrez <a href=\"https:\/\/github.com\/ethanpil\/npp-randomizelines\/blob\/master\/RandomizeLines.py\">RandomizeLines.py details on github<\/a>, et copiez le contenu.<\/p>\n<blockquote>\n<figure id=\"attachment_693\" aria-describedby=\"caption-attachment-693\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><img fetchpriority=\"high\" decoding=\"async\" class=\"size-medium wp-image-693\" src=\"http:\/\/www.ybierling.com\/v2\/wp-content\/uploads\/2016\/11\/notepad-randomize-sort-lines-random-copy-python-script-randomizelines-py-from-github-300x182.png\" alt=\"Notepad++ randomize, sort lines random : Copy Python script RandomizeLines.py from github\" width=\"300\" height=\"182\" srcset=\"https:\/\/www.ybierling.com\/v2\/wp-content\/uploads\/2016\/11\/notepad-randomize-sort-lines-random-copy-python-script-randomizelines-py-from-github-300x182.png 300w, https:\/\/www.ybierling.com\/v2\/wp-content\/uploads\/2016\/11\/notepad-randomize-sort-lines-random-copy-python-script-randomizelines-py-from-github-768x465.png 768w, https:\/\/www.ybierling.com\/v2\/wp-content\/uploads\/2016\/11\/notepad-randomize-sort-lines-random-copy-python-script-randomizelines-py-from-github.png 1011w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><figcaption id=\"caption-attachment-693\" class=\"wp-caption-text\">Copier le script Python RandomizeLines.py de github<\/figcaption><\/figure><\/blockquote>\n<p>Cr\u00e9ez un fichier <em><strong>RandomizeLines.py<\/strong> <\/em>dans votre r\u00e9pertoire local <span style=\"color: #339966;\"><em><strong>Notepad++<\/strong> <\/em><\/span>=&gt; <em><strong>plugins<\/strong> <\/em>=&gt; <em><strong>PythonScript<\/strong> <\/em>=&gt; <em><strong>scripts<\/strong>\u00a0<\/em><\/p>\n<blockquote>\n<figure id=\"attachment_694\" aria-describedby=\"caption-attachment-694\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><img decoding=\"async\" class=\"size-medium wp-image-694\" src=\"http:\/\/www.ybierling.com\/v2\/wp-content\/uploads\/2016\/11\/notepad-randomize-sort-lines-random-create-file-randomizelines-py-in-local-notepad-folder-300x220.png\" alt=\"Notepad++ randomize, sort lines random : Create file RandomizeLines.py in local Notepad++ folder\" width=\"300\" height=\"220\" srcset=\"https:\/\/www.ybierling.com\/v2\/wp-content\/uploads\/2016\/11\/notepad-randomize-sort-lines-random-create-file-randomizelines-py-in-local-notepad-folder-300x220.png 300w, https:\/\/www.ybierling.com\/v2\/wp-content\/uploads\/2016\/11\/notepad-randomize-sort-lines-random-create-file-randomizelines-py-in-local-notepad-folder.png 311w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><figcaption id=\"caption-attachment-694\" class=\"wp-caption-text\">Cr\u00e9er un fichier RandomizeLines.py dans le r\u00e9pertoire local Notepad++<\/figcaption><\/figure><\/blockquote>\n<p>Ouvrez ce fichier par exemple avec <span style=\"color: #339966;\"><em><strong>Notepad++<\/strong><\/em><\/span>, et collez le code de <a href=\"https:\/\/github.com\/ethanpil\/npp-randomizelines\/blob\/master\/RandomizeLines.py\">RandomizeLines.py details on github<\/a><\/p>\n<blockquote>\n<figure id=\"attachment_691\" aria-describedby=\"caption-attachment-691\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><img decoding=\"async\" class=\"size-medium wp-image-691\" src=\"http:\/\/www.ybierling.com\/v2\/wp-content\/uploads\/2016\/11\/notepad-randomize-sort-lines-random-300x207.png\" alt=\"Notepad++ randomize, sort lines random : \" width=\"300\" height=\"207\" srcset=\"https:\/\/www.ybierling.com\/v2\/wp-content\/uploads\/2016\/11\/notepad-randomize-sort-lines-random-300x207.png 300w, https:\/\/www.ybierling.com\/v2\/wp-content\/uploads\/2016\/11\/notepad-randomize-sort-lines-random-768x529.png 768w, https:\/\/www.ybierling.com\/v2\/wp-content\/uploads\/2016\/11\/notepad-randomize-sort-lines-random.png 955w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><figcaption id=\"caption-attachment-691\" class=\"wp-caption-text\">Paste Python code from github in local Python file<\/figcaption><\/figure><\/blockquote>\n<p>Red\u00e9marrez <span style=\"color: #339966;\"><em><strong>Notepad++<\/strong><\/em><\/span>, et, avec le fichier contenant les lignes \u00e0 randomiser ouvert (et \u00e9ventuellement le texte s\u00e9lectionn\u00e9 si vous ne souhaitez pas randomiser le fichier entier), s\u00e9lectionnez l&#8217;option <span style=\"color: #339966;\"><em><strong>RandomizeLines<\/strong> <\/em><\/span>du menu <em><strong>Plugins<\/strong> <\/em>=&gt; <em><strong>Python Script<\/strong><\/em> =&gt; <em><strong>Scripts<\/strong><\/em><\/p>\n<blockquote>\n<figure id=\"attachment_692\" aria-describedby=\"caption-attachment-692\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-692\" src=\"http:\/\/www.ybierling.com\/v2\/wp-content\/uploads\/2016\/11\/notepad-randomize-sort-lines-random-randomizelines-python-script-in-notepad-300x231.png\" alt=\"Notepad++ randomize, sort lines random : RandomizeLines Python script in Notepad++\" width=\"300\" height=\"231\" srcset=\"https:\/\/www.ybierling.com\/v2\/wp-content\/uploads\/2016\/11\/notepad-randomize-sort-lines-random-randomizelines-python-script-in-notepad-300x231.png 300w, https:\/\/www.ybierling.com\/v2\/wp-content\/uploads\/2016\/11\/notepad-randomize-sort-lines-random-randomizelines-python-script-in-notepad.png 521w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><figcaption id=\"caption-attachment-692\" class=\"wp-caption-text\">RandomizeLines Python script dans Notepad++<\/figcaption><\/figure><\/blockquote>\n<p>Et appr\u00e9ciez le r\u00e9sultat !<\/p>\n<blockquote>\n<figure id=\"attachment_695\" aria-describedby=\"caption-attachment-695\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-695\" src=\"http:\/\/www.ybierling.com\/v2\/wp-content\/uploads\/2016\/11\/notepad-randomize-sort-lines-random-ordered-entries-before-and-after-randomization-300x300.png\" alt=\"Notepad++ randomize, sort lines random : Ordered entries before and after randomization\" width=\"300\" height=\"300\" srcset=\"https:\/\/www.ybierling.com\/v2\/wp-content\/uploads\/2016\/11\/notepad-randomize-sort-lines-random-ordered-entries-before-and-after-randomization-300x300.png 300w, https:\/\/www.ybierling.com\/v2\/wp-content\/uploads\/2016\/11\/notepad-randomize-sort-lines-random-ordered-entries-before-and-after-randomization-150x150.png 150w, https:\/\/www.ybierling.com\/v2\/wp-content\/uploads\/2016\/11\/notepad-randomize-sort-lines-random-ordered-entries-before-and-after-randomization.png 524w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><figcaption id=\"caption-attachment-695\" class=\"wp-caption-text\">Entr\u00e9es randomis\u00e9es avant et apr\u00e8s l&#8217;op\u00e9ration<\/figcaption><\/figure><\/blockquote>\n<p><a href=\"https:\/\/github.com\/ethanpil\/npp-randomizelines\">RandomizeLines.py for Notepad++<\/a> sur <span style=\"color: #339966;\"><em><strong>github<\/strong><\/em><\/span><\/p>\n<p><a href=\"http:\/\/www.ybierling.com\/v2\/en\/2016\/11\/19\/notepad-install-python-script-plugin-with-plugin-manger\/\">Notepad++ install Python Script plugin with Plugin Manager<\/a><\/p>\n<h1>Lecture sur le sujet<\/h1>\n<div class=\"blogresdetails\"><iframe style=\"width: 120px; height: 240px;\" src=\"\/\/ws-eu.amazon-adsystem.com\/widgets\/q?ServiceVersion=20070822&amp;OneJS=1&amp;Operation=GetAdHtml&amp;MarketPlace=FR&amp;source=ac&amp;ref=tf_til&amp;ad_type=product_link&amp;tracking_id=ybierling03-21&amp;marketplace=amazon&amp;region=FR&amp;placement=115519909X&amp;asins=115519909X&amp;linkId=06da21ead549f4f9394c06e6c790cd2c&amp;show_border=false&amp;link_opens_in_new_window=true&amp;price_color=333333&amp;title_color=0066c0&amp;bg_color=ffffff\" width=\"300\" height=\"150\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><br \/>\n<\/iframe><iframe style=\"width: 120px; height: 240px;\" src=\"\/\/ws-eu.amazon-adsystem.com\/widgets\/q?ServiceVersion=20070822&amp;OneJS=1&amp;Operation=GetAdHtml&amp;MarketPlace=FR&amp;source=ac&amp;ref=tf_til&amp;ad_type=product_link&amp;tracking_id=ybierling03-21&amp;marketplace=amazon&amp;region=FR&amp;placement=B00JU2KOEQ&amp;asins=B00JU2KOEQ&amp;linkId=3d1607996d4e85632eec71db5b6dbad4&amp;show_border=false&amp;link_opens_in_new_window=true&amp;price_color=333333&amp;title_color=0066c0&amp;bg_color=ffffff\" width=\"300\" height=\"150\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><br \/>\n<\/iframe><iframe style=\"width: 120px; height: 240px;\" src=\"\/\/ws-eu.amazon-adsystem.com\/widgets\/q?ServiceVersion=20070822&amp;OneJS=1&amp;Operation=GetAdHtml&amp;MarketPlace=FR&amp;source=ac&amp;ref=tf_til&amp;ad_type=product_link&amp;tracking_id=ybierling03-21&amp;marketplace=amazon&amp;region=FR&amp;placement=1244391735&amp;asins=1244391735&amp;linkId=1d11789442fbda5d49693d5b30d22430&amp;show_border=false&amp;link_opens_in_new_window=true&amp;price_color=333333&amp;title_color=0066c0&amp;bg_color=ffffff\" width=\"300\" height=\"150\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><br \/>\n<\/iframe><\/div>\n<h3 class=\"zemanta-related-title\" style=\"margin: 0 0 10px 0; padding: 0; clear: both;\">Related articles across the web<\/h3>\n<ul class=\"zemanta-article-ul zemanta-article-ul-image\" style=\"margin: 0; padding: 0; overflow: hidden;\">\n<li class=\"zemanta-article-ul-li-image zemanta-article-ul-li\" style=\"padding: 0; background: none; list-style: none; display: block; float: left; vertical-align: top; text-align: left; width: 104px; font-size: 12px; margin: 0 5px 10px 0;\"><a style=\"padding: 2px; display: block; text-decoration: none;\" href=\"http:\/\/www.makeuseof.com\/tag\/great-notepad-alternatives-linux\/\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"border-radius: 3px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); padding: 0; margin: 0; border: 0; display: block; width: 100px; max-width: 100%;\" src=\"http:\/\/i.zemanta.com\/375545908_150_150.jpg\" \/><\/a><a style=\"display: block; overflow: hidden; text-decoration: none; line-height: 12pt; height: 80px; padding: 5px 2px 0 2px;\" href=\"http:\/\/www.makeuseof.com\/tag\/great-notepad-alternatives-linux\/\" target=\"_blank\" rel=\"noopener\">6 Great Notepad++ Alternatives for Linux<\/a><\/li>\n<li class=\"zemanta-article-ul-li-image zemanta-article-ul-li\" style=\"padding: 0; background: none; list-style: none; display: block; float: left; vertical-align: top; text-align: left; width: 104px; font-size: 12px; margin: 0 5px 10px 0;\"><a style=\"padding: 2px; display: block; text-decoration: none;\" href=\"http:\/\/www.business2community.com\/brandviews\/upwork\/helpful-tips-best-practices-android-developers-01687745\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"border-radius: 3px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); padding: 0; margin: 0; border: 0; display: block; width: 100px; max-width: 100%;\" src=\"http:\/\/i.zemanta.com\/375519819_150_150.jpg\" \/><\/a><a style=\"display: block; overflow: hidden; text-decoration: none; line-height: 12pt; height: 80px; padding: 5px 2px 0 2px;\" href=\"http:\/\/www.business2community.com\/brandviews\/upwork\/helpful-tips-best-practices-android-developers-01687745\" target=\"_blank\" rel=\"noopener\">Helpful Tips &amp; Best Practices for Android Developers<\/a><\/li>\n<li class=\"zemanta-article-ul-li-image zemanta-article-ul-li\" style=\"padding: 0; background: none; list-style: none; display: block; float: left; vertical-align: top; text-align: left; width: 104px; font-size: 12px; margin: 0 5px 10px 0;\"><a style=\"padding: 2px; display: block; text-decoration: none;\" href=\"http:\/\/www.ghacks.net\/2016\/09\/16\/use-notepad-to-find-text-in-all-files-of-a-folder\/\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"border-radius: 3px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); padding: 0; margin: 0; border: 0; display: block; width: 100px; max-width: 100%;\" src=\"http:\/\/i.zemanta.com\/375285433_150_150.jpg\" \/><\/a><a style=\"display: block; overflow: hidden; text-decoration: none; line-height: 12pt; height: 80px; padding: 5px 2px 0 2px;\" href=\"http:\/\/www.ghacks.net\/2016\/09\/16\/use-notepad-to-find-text-in-all-files-of-a-folder\/\" target=\"_blank\" rel=\"noopener\">Use Notepad++ to find text in all files of a folder<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Avec Notepad++, il est tr\u00e8s simple de randomiser une liste de lignes, transformer une liste organiz\u00e9e en une liste al\u00e9atoire,<\/p>\n","protected":false},"author":1,"featured_media":695,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[568],"tags":[1126,39,1122,1124,254,935,1113,1117,1128,1132,1130],"class_list":["post-699","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-divers","tag-aleatoire","tag-fr","tag-lignes","tag-liste","tag-notepad-fr","tag-ordonner","tag-plugin-fr","tag-python-fr","tag-randomiser","tag-script-fr","tag-trier"],"_links":{"self":[{"href":"https:\/\/www.ybierling.com\/v2\/wp-json\/wp\/v2\/posts\/699","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ybierling.com\/v2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ybierling.com\/v2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ybierling.com\/v2\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ybierling.com\/v2\/wp-json\/wp\/v2\/comments?post=699"}],"version-history":[{"count":5,"href":"https:\/\/www.ybierling.com\/v2\/wp-json\/wp\/v2\/posts\/699\/revisions"}],"predecessor-version":[{"id":1820,"href":"https:\/\/www.ybierling.com\/v2\/wp-json\/wp\/v2\/posts\/699\/revisions\/1820"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ybierling.com\/v2\/wp-json\/wp\/v2\/media\/695"}],"wp:attachment":[{"href":"https:\/\/www.ybierling.com\/v2\/wp-json\/wp\/v2\/media?parent=699"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ybierling.com\/v2\/wp-json\/wp\/v2\/categories?post=699"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ybierling.com\/v2\/wp-json\/wp\/v2\/tags?post=699"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}