1) Write a program to read through a file and print the contents of the file
(line by line) all in upper case. detiles will be provided
2) Write a program to prompt for a file name, and then read through the
file and look for lines of the form:
X-DSPAM-Confidence: 0.8475
When you encounter a line that starts with “X-DSPAM-Confidence:” pull
apart the line to extract the floating-point number on the line. Count these
lines and then compute the total of the spam confidence values from these
lines. When you reach the end of the file, print out the average spam
confidence.
Enter the file name: [login to view URL]
Average spam confidence: 0.894128046745
Enter the file name: [login to view URL]
Average spam confidence: 0.750718518519
Test your file on the [login to view URL] and [login to view URL] files.
3) Write a program which repeatedly reads numbers until the user enters
“done”. Once “done” is entered, print out the total, count, and average of
the numbers. If the user enters anything other than a number, detect their
mistake using try and except and print an error message and skip to the
next number.
Enter a number: 4
Enter a number: 5
Enter a number: bad data
Invalid input
Enter a number: 7
Enter a number: done
16 3 5.33333333333
4) Write another program that prompts for a list of numbers as above and
at the end prints out both the maximum and minimum of the numbers
instead of the average.
5) Write a Python program to parse the XML and determine how many
compact discs are stored in [login to view URL]
[login to view URL] . Also determine how many of those discs include a
reference to Pavarotti in their titles!
Many projects on python developing like Neural Network procedures, security and AI algorithms implementations. Also experience from my school years on python. If you choose me to complete this project i'll provide you with constant feedback about the progress of this project also i ensure you that my programm will work perfectly.
Hello. How are you today.
I have read and understood the project.
I have strong knowledge in Data structures and Algorithms.
And I'm expert in Java ,C/C++,C#, Python ,PHP etc.
I'm interested this project.
So, firstly I want to discuss with you about this project.
Then I'll be happy.
I wait for your good reply.
Thanks.
Hello, I have experience working with python and parsing, I did a parser in Ruby language last week as you can check on my profile. I can do this project, I'm currently free
I'll cleary understand your task, but have some question to #5. I'm working with parsing XML, JSON, TXT. Also I'm working with math algotethm and web scraping.
I can do it as well. Please, write me a details.
I have experience in python.
I have made multiple projects like this. Although I am new to freelancers , I am not new to python and you can be rest assured that your project will be completed.
Hi employer ,
I am a professional developer and would like to take your project . Your assignment can be easily done in a day . Looking forward to working with you .