I am attempting to read a text file, strip the punctuation, make everything lower case, then print the total number of words, the total number of unique words (meaning that "a" for instance, if it is ...

i'm using ckeditor for inserting data. But the newest version cannot add all html tag to database. if i just let this, my data won't appear like it have to be. For example. If i insert data like this
...

I'm trying to extract two ranges per line of an opened text file in python 3 by looping through.
The application has a Entry widget and the value is stored in self.search. I then loop through a text ...

I am looping through all child pages of the current page. I am returning the results of the custom field 'bedrooms'. This is resulting in a list of numbers (numbers of bedrooms) like so - 131413. This ...

I have two file that are supposed to be generated from same source version. One of the files is stripped.
Is possible to compare the raw executable portion of the files to establish if they are the ...

I'm working with the Crypto++ library, and I'm trying to create two part executables and place the debug symbols where they belong (refer to Debug information file conventions for Debian/Ubuntu? and ...

Write the function list_of_words that takes a list of strings as above and returns a list of individual words with all white space and punctuation removed (except for apostrophes/single quotes).
My ...

I need to strip the emoji from a string, we can store the info, but it breaks our xml export because of the special characters used in emoji. I'd like to use PHP to strip the emoji out before it ever ...

So I have a super long string composed of integers and I am trying to extract and remove the first three numbers in the string, and I have been using the lstrip method (the idea is kinda like pop) but ...

I have a file that I want to unpack and utilise the columns in different files. The issue I have is that the file I want to unpack varies from row to row on the number of columns it has (for example ...

I'm making an app where I use Stripe as my payment solution. To manage events I use the gem stripe_event. In my config/initializers/stripe.rb class I want to create different objects when different ...

I have an apk file say MyApp.apk. I was trying to strip the .apk extension using the strip function in python. But the problem is, If my applications name is WhatsApp.apk then the function strips the ...

Starting from an elf file that contains all information needed to fully debug my application, I would like to make an elf that contains only some symbols.
I managed to do this with GNU binutils strip ...

Program in python 3:
This is my first program involving files. I need to ignore comment lines (start with #) and blank lines, and then split the lines so they are iterable, but I keep on getting and ...