Write a program in Python allowing to delete multiple spaces in a text file
named myfile.txt which contains a text: T =
'Python is programming language'
write a python function which create a copy of the file poem.txt as poemrev.txt. this new file contain the data form last word to fist word from the file poem.txt.
write a python function which create a copy of the file poem.txt as poemrev.txt. this new file contain the data form last word to fist word from the file poem.txt.
Write a python program that removes the 3rd word from this file.
Write a program in Python which allows you to insert at the 3rd position of an existing file called my File.txt, the line "This line was inserted via Python code! " without changing the existing content
file.
Function to count number of lines from a text files
Assume a text file “coordinate.txt” is already created. Using this file create a PYTHON function to count the number of words having first character capital.
Write a function TRANSFER( ) in PYTHON, that would copy all those records which are having area code as “DEL” from PHONE file to PHONBACK file.
Write a function in PYTHON to add new record at the bottom of a file “STUDENT”
Assume a text file “Test.txt” is already created. Using this file, write a function to create three
files “LOWER.TXT” which contains all the lowercase vowels and “UPPER.TXT” which contains all
the uppercase vowels and “DIGIT.TXT” which contains all digits