Python XML Assignments | Online Homework Help

Table of Contents

To Do

You will write a script (or, scripts) that will take an optional argument, the directory to process. If not argument is supplied, use the current directory.

Don't use plagiarized sources. Get Your Assignment on
Python XML Assignments | Online Homework Help
Just from $13/Page
Order Now

In each subdirectory (including the top-level directory on which the script was called) you will place a file called dir.xml . If it already exists, simply overwrite it. Do not include it as one of the files listed.

The root element will be direntry. It may contain up to 3 child nodes: index, required, and other. index will only contain a file. The remaining two might contain text elements:

<file>Regular file (or, symlink)<dir>Directory<fifo>A named pipe<sock>A socket

Index and required data will be harvested from README. Other files will be found by taking a listing of the directory, looking for files or directories that weren’t listed in README.

professional writing services near me

For example, the following file would be placed in CS265/Labs/2 :



It is preferrable to hand in a working program that addresses part of the problem than a mess that attempts the entire problem.

  • Use small functions
  • Implement 1 task at a time
    • Test it, separately. Should be easy to do with functions
    • When working, gather your small functions together to complete the larger task
  • No function should be very long
  • Keep your code neat, legible, logical
  • Overall appeal of your source code will be part of the grade. Style matters
    • Appropriate comments, including the file header(s)

You might want to consider os.walk, for flipping through directories. See os_walk.py . Some other useful functions, maybe: os.path.join os.path.abspath os.stat . See stat.py

Folks, please don’t spend a lot of time writing me 18 different classes. My solution contains no user-defined classes, though there is 1 fairly obvious candidate, if you have that itch.


Do not submit temporary files, nor your test data. Just the required scripts, and any helper files.

What to hand in

  • dropXml.py — your Python3 script
  • Any other files needed
  • README (optional) — anything you want to tell us before we grade.

Calculate the price
Make an order in advance and get the best price
Pages (550 words)
*Price with a welcome 15% discount applied.
Pro tip: If you want to save more money and pay the lowest price, you need to set a more extended deadline.
We know how difficult it is to be a student these days. That's why our prices are one of the most affordable on the market, and there are no hidden fees.

Instead, we offer bonuses, discounts, and free services to make your experience outstanding.
How it works
Receive a 100% original paper that will pass Turnitin from a top essay writing service
step 1
Upload your instructions
Fill out the order form and provide paper details. You can even attach screenshots or add additional instructions later. If something is not clear or missing, the writer will contact you for clarification.
Pro service tips
How to get the most out of your experience with Homework Writing Services
One writer throughout the entire course
If you like the writer, you can hire them again. Just copy & paste their ID on the order form ("Preferred Writer's ID" field). This way, your vocabulary will be uniform, and the writer will be aware of your needs.
The same paper from different writers
You can order essay or any other work from two different writers to choose the best one or give another version to a friend. This can be done through the add-on "Same paper from another writer."
Copy of sources used by the writer
Our college essay writers work with ScienceDirect and other databases. They can send you articles or materials used in PDF or through screenshots. Just tick the "Copy of sources" field on the order form.
See why 20k+ students have chosen us as their sole writing assistance provider
Check out the latest reviews and opinions submitted by real customers worldwide and make an informed decision.
Marketing & Advertising
Well written and researched. Looking forward to working with you in future.
Customer 463473, November 10th, 2022
Film & Theater studies
Fairly articulated.
Customer 462929, May 4th, 2022
excellent job
Customer 456821, June 12th, 2022
i requested peer reviewed nursing journals as part of my paper, however, I never received them after I requested them twice. If I had received these journals, I would have scored the quality of the paper an 10/10!!!
Customer 461063, October 30th, 2022
Great job
Customer 452947, January 22nd, 2020
best writer and customer service. Thanks Tony!
Customer 462787, August 30th, 2022
Business and administrative studies
Customer 462995, June 9th, 2022
Excellent job. I was sure the writer will do a perfect job and submit on time. Thank you!
Customer 462359, November 19th, 2022
Commitment Statement for Canberra - Subclass 491 Offshore Visa
Thank you so much for all your help and support. Thank you writer for all your efforts and great work. Thank you all once again.
Customer 455757, January 29th, 2022
Business and administrative studies
Good one
Customer 452615, July 16th, 2022
very good job
Customer 456821, June 15th, 2022
Good work.
Customer 455119, May 27th, 2022
Customer reviews in total
Current satisfaction rate
3 pages
Average paper length
Customers referred by a friend
15% OFF your first order
Use a coupon FIRST15 and enjoy expert help with any task at the most affordable price.
Claim my 15% OFF Order in Chat