Find Jobs
Hire Freelancers

Complete Python exercises

$10-30 CAD

Ολοκληρώθηκε
Αναρτήθηκε πάνω από 6 χρόνια πριν

$10-30 CAD

Πληρωμή κατά την παράδοση
NEEDED IMMEDIATELY. Complete the following Python exercises: #1 Write a Python class to handle reading and writing of a text file. The constructor should at least accept a string containing the path and filename of the file. The class should have methods to do the following: - Write the whole file at once, overwriting anything currently in the file - Append specified text to the end of the file - Read the whole file #2 Write a recursive python function to parse and return a string containing the path to each leaf in the tree structure "tree" in tree.py. The "tree" structure is made of TreeNode objects. Output should be a list of ASCII node names separated by periods in the same order they appear in "tree". Each path should be on its own line, with a "\n" character at the end of each line. Example output ``` [login to view URL] [login to view URL] ``` The function will be called `print_tree`, its first parameter will be a TreeNode object and the function will return a string. The function is to be placed in a file called `[login to view URL]`. It will be able to be called in the following way: ``` output_string = print_tree( tree ); ``` To test the function, simply run [login to view URL], making sure `[login to view URL]` and `[login to view URL]` are in the same directory (from the command line, run `python [login to view URL]`). It will show the output and a SHA1 hash. It would be good if the hash was "21a45fd2fec646e03cecb87e340851ea609cc811".
Ταυτότητα εργασίας: 14922476

Σχετικά με την εργασία

12 προτάσεις
Απομακρυσμένη Εργασία
Ενεργός/ή 7 χρόνια πριν

Ψάχνεις τρόπο για να κερδίσεις μερικά χρήματα;

Πλεονεκτήματα πλειοδοσίας στο Freelancer

Καθόρισε τον προϋπολογισμό σου και το χρονοδιάγραμμα
Πληρώσου για τη δουλειά σου
Περίγραψε την πρόταση σου
Η εγγραφή και η πλειοδοσία σε εργασίες είναι δωρεάν
Βραβεύτηκε στον/στην:
Avatar Χρήστη
I placed bid on your project as I have good amount of experience in Python/Java/Data Structures and algorithms. Relevant Skills and Experience Python2.X,3.X,Java/Data Structures and algorithms Proposed Milestones $10 CAD - when half of the delivery is done $15 CAD - upon full delivery will need more details if required
$25 CAD σε 1 ημέρα
5,0 (3 αξιολογήσεις)
1,6
1,6
12 freelancers δίνουν μια μέση προσφορά $34 CAD για αυτή τη δουλειά
Avatar Χρήστη
Hello, I'd be glad to complete the Python tasks for you. looking forward to chat with you soon for more details. best regards.
$143 CAD σε 0 ημέρα
5,0 (138 αξιολογήσεις)
7,1
7,1
Avatar Χρήστη
Part 1 of this project I can finish it withing next hour, part 2 will take few more hours of work Relevant Skills and Experience Python since version 2.6 till all 3.X versions, Python 3.6 included Proposed Milestones $27 CAD - Upon project finished Which Python version is to be used for this project? Is it to be executed on Linux, Mac, or Windows?
$27 CAD σε 1 ημέρα
5,0 (19 αξιολογήσεις)
6,1
6,1
Avatar Χρήστη
I have 2+ years of working experience in python. I have done a lot of projects during this time. Please tell me more details so that we can proceed accordingly.
$20 CAD σε 1 ημέρα
5,0 (29 αξιολογήσεις)
4,2
4,2
Avatar Χρήστη
A proposal has not yet been provided
$15 CAD σε 1 ημέρα
0,0 (0 αξιολογήσεις)
0,0
0,0

Σχετικά με τον πελάτη

Σημαία της CANADA
Toronto, Canada
5,0
15
Επαληθευμένη μέθοδος πληρωμής
Μέλος από Ιουν 21, 2013

Επαλήθευση Πελάτη

Ευχαριστούμε! Σου έχουμε στείλει ένα email με ένα σύνδεσμο για να διεκδικήσεις τη δωρεάν πίστωση σου.
Κάτι πήγε στραβά κατά την προσπάθεια αποστολής του email σου. Παρακαλούμε δοκίμασε ξανά.
Εγγεγραμμένοι Χρήστες Συνολικές Αναρτημένες Δουλειές
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Φόρτωση προεπισκόπησης
Δόθηκε πρόσβαση για Geolocation.
Η σύνδεση σου έχει λήξει και τώρα έχεις αποσυνδεθεί. Παρακαλούμε συνδέσου ξανά.