Jump to content
UBot Underground

removing duplicates in txt file


Recommended Posts

I know this has been mentioned before but the only example code I can find is for 3.5. so Im kinda lost here

 

I have this list of projects for ex

 

test

test 1

test 1

test

test 2

test 2

test 2

test

test 2

test 2

test

test 2

test 2

test 3

test 3

 

note all the duplicates it should only show

 

test

test 1

test 2

test 3

 

So Im thinking I need to check this after it creates the list, but im pretty lost.. want to do this right from the get go..

 

thanks in advance

Link to post
Share on other sites

I know this has been mentioned before but the only example code I can find is for 3.5. so Im kinda lost here

 

I have this list of projects for ex

 

test

test 1

test 1

test

test 2

test 2

test 2

test

test 2

test 2

test

test 2

test 2

test 3

test 3

 

note all the duplicates it should only show

 

test

test 1

test 2

test 3

 

So Im thinking I need to check this after it creates the list, but im pretty lost.. want to do this right from the get go..

 

thanks in advance

 

Simply create a loop => $list total => %duplicate list

Inside the loop $add to list => $next list item from %duplicate list

remove duplicates => yes.

Then save the new list.

Done.

  • Like 1
Link to post
Share on other sites
  • 1 month later...

I'm trying to remove duplicate urls from a list, but I'm not following at all. Can this be clarified for us idiots?

Link to post
Share on other sites

I'm trying to remove duplicate urls from a list, but I'm not following at all. Can this be clarified for us idiots?

Add the list you are trying to remove duplicates to another list with allow duplicates setting turned to no. You can find it under advanced settings.

 

For example:

add list to list(%duplicate free list, %list you want to remove duplicates from, "Delete", "Global")

 

Justin

Link to post
Share on other sites
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...