Notepad++ randomize, sort lines random

Quick links

Using Notepad++, it is very simple to randomize a list of lines, going from an organized list to a random one, as seen above.

To do so, make sure you have installed Python Script plugin – if not, see Notepad++ install Python Script plugin with Plugin Manager. We will then install the RandomizeLines.py for Notepad++ from github.

Open RandomizeLines.py details on github, and copy the content in your clipboard.

Notepad++ randomize, sort lines random : Copy Python script RandomizeLines.py from github
Copy Python script RandomizeLines.py from github

Create a file RandomizeLines.py in your local Notepad++ folder => plugins => PythonScript => scripts folder

Notepad++ randomize, sort lines random : Create file RandomizeLines.py in local Notepad++ folder
Create file RandomizeLines.py in local Notepad++ folder

Open this file for example with Notepad++, and paste the code from RandomizeLines.py details on github

Notepad++ randomize, sort lines random : Paste Python code from github in local Python file
Paste Python code from github in local Python file

Restart Notepad++, and, in the file containing the lines to randomize open (and eventually text selected if you don’t want to randomize the whole file), select the option RandomizeLines in menu Plugins => Python Script => Scripts

Notepad++ randomize, sort lines random : RandomizeLines Python script in Notepad++
RandomizeLines Python script in Notepad++

And enjoy the result !

Notepad++ randomize, sort lines random : Ordered entries before and after randomization
Ordered entries before and after randomization

Read more

Similar articles

Comments (16)

Keith Brooks, 2018-08-19
Так вот как мы это делаем, отлично знаем
Fernando Warner, 2018-08-19
Tive um ótimo tempo lendo essas informações, mantenha o bom trabalho
Harriet Sanders, 2018-08-19
あなたのコンテンツを読んだり、投稿を続けたりすることを愛する
Kelly Burgess, 2018-08-19
偉大な、それはまさに私が探していたものです、今私は準備ができています
Leland Poole, 2018-08-19
좋아, 그게 내가 찾고 있던 바로 그거야, 이제 나는 준비 됐어.
Marion Myers, 2018-08-19
Basit, açık ve iyi açıklanmış, çok teşekkürler
Karen Morgan, 2018-08-19
Exactly what I was looking for, perfect
Aaron Torres, 2018-08-19
Tam olarak aradığım şey mükemmeldi
Cynthia Lopez, 2018-08-19
Trang web tuyệt vời, hãy tiếp tục
Diane Carter, 2018-08-19
Sí, eso es lo que necesitaba
Incheria, 2018-08-19
Մեծ կայքը, խնդրում ենք շարունակել
VETSSEROROARDj, 2018-08-19
ありがとう、それは純粋な天才です、ありがとう
ferrava2, 2018-08-19
Bra bit av information, tack för delningen
racmebabyX, 2018-08-19
وای، این واقعا ساده است، آن را امتحان کن
Vigentinom, 2018-08-19
Tapak hebat, sila teruskan
pervencasv, 2018-08-19
ਵਾਹ, ਇਹ ਅਸਲ ਵਿੱਚ ਇਹ ਬਹੁਤ ਅਸਾਨ ਹੈ, ਹੁਣ ਇਸਦੀ ਕੋਸ਼ਿਸ਼ ਕਰੇਗਾ

Leave a comment