Debug This Python Script
This project was successfully completed by fejs for $30 USD in a day.Get free quotes for a project like this
Project Budget$10 - $30 USD
Completed In1 day
The code is pretty well documented. Basically, just get the code working without significant change to the structure/architecture of the code. This script parses through files in a directory to create an object that is comprised from data values from the files. Finally, it dynamically loads a python module in a subdirectory and passes the object into the dynamically loaded module.
*This code closely follows actual Python code, but should be considered pseudo code.
[url removed, login to view] - the file to be debugged
campaigns/<campaign name>/[url removed, login to view] - load these values into the dictionary
campaigns/<campaign name>/[url removed, login to view] - pick one random line from here
campaigns/<campaign name>/[url removed, login to view] - pick the "next" line from here using [url removed, login to view] as a reference for the "last" line number that was used.
campaigns/<campaign name>/fragment_collection_<n>-<Description>.txt - pick a random group of text from here for each fragment_collection file and add them all together to build a "body".
campaigns/<campaign name>/[url removed, login to view] - finally, pass the campaign object into this script.
Browse Related Skills
Other things people do on Freelancer
Looking to make some money?
- Set your budget and the timeframe
- Outline your proposal
- Get paid for your work
Hire Freelancers who also bid on this project
Looking for work?
Work on projects like this and make money from home!Sign Up Now
- The New York Times
- Wall Street Journal
- Times Online