def post_details(): Job_Post = Job_Data(request.form['name'], request.form['mobile_no'],\ request.form['loginid'], request.form['password'], request.form['jobtitle'], request.form['jobdescription'].encode('utf-8'),\ request.form['vac'], request.form['comp_name'], request.form['comp_website'], request.form['city'],\ request.form['min_years'], request.form['max_years'], request.form['Hasjob Category'], request.form['Hirist Category'],\ request.form['Quickr Category'], request.form['min_salary'], request.form['max_salary']) check_list = request.form.getlist('check') if unicode("OLX") in check_list: print "OLX started" olx(Job_Post) print "OLX done" if unicode("Quickr") in check_list: print "Quickr started" quickr(Job_Post) print "Quickr Done" if unicode("Indeed") in check_list: print "Indeed started" indeed(Job_Post) print "Indeed done" if unicode("Hasjob") in check_list: print "Hasjob started" hasjob_co(Job_Post) print "Hasjob done" if unicode("Hirist") in check_list: print "Hirist started" hirist_post(Job_Post) print "Hirist done" if unicode("Trovit") in check_list: print "Trovit started" trovit(Job_Post) print "Trovit done" return "Done."
from trovit import trovit class Job_Data: def __init__(self): self.login_id = raw_input("Login Email: ") self.password = raw_input("Password: "******"Job Title: ") self.job_description = raw_input("") self.no_of_vacancies = raw_input("No. of vacancies: ") self.company_name = raw_input("Company Name: ") self.company_website = raw_input("Company Website: ") self.city = raw_input("City: ") self.min_years = raw_input("Min Years of Experience: ") self.max_years = raw_input("Max Years of Experience: ") self.category_1 = raw_input("Category: (Choose one)\n1. Programming\n2. Interaction Design\n3. Graphic Design\n4. Testing\n5. Systems Administration\n6. Business/Management\n7. Writer/Editor\n8. Customer Support\n9. Mobile (iPhone, Android, other)\n10. Office Administraion\n") self.category_2 = raw_input("Category: (Choose one)\n1. Online/Mobile/Web\n2. UI/UX/Product\n3. Systems/Product Software\n4. Semiconductor/VLSI/EDA\n5. Enterprise-SAP/Oracle\n6. Others\n") self.min_salary = raw_input("Min Salary (Annually in Rs.)") self.max_salary = raw_input("Max Salary (Annually in Rs.)(Less than 4 times Min. Salary)") Job_Post = Job_Data() print "Hirist started" hirist_post(Job_Post) print "Hirist Done" print "Hasjob started" hasjob_co(Job_Post) print "Hasjob Done" print "Trovit started" trovit(Job_Post) print "Trovit Done"
self.password = raw_input("Password: "******"Job Title: ") self.job_description = raw_input("") self.no_of_vacancies = raw_input("No. of vacancies: ") self.company_name = raw_input("Company Name: ") self.company_website = raw_input("Company Website: ") self.city = raw_input("City: ") self.min_years = raw_input("Min Years of Experience: ") self.max_years = raw_input("Max Years of Experience: ") self.category_1 = raw_input( "Category: (Choose one)\n1. Programming\n2. Interaction Design\n3. Graphic Design\n4. Testing\n5. Systems Administration\n6. Business/Management\n7. Writer/Editor\n8. Customer Support\n9. Mobile (iPhone, Android, other)\n10. Office Administraion\n" ) self.category_2 = raw_input( "Category: (Choose one)\n1. Online/Mobile/Web\n2. UI/UX/Product\n3. Systems/Product Software\n4. Semiconductor/VLSI/EDA\n5. Enterprise-SAP/Oracle\n6. Others\n" ) self.min_salary = raw_input("Min Salary (Annually in Rs.)") self.max_salary = raw_input( "Max Salary (Annually in Rs.)(Less than 4 times Min. Salary)") Job_Post = Job_Data() print "Hirist started" hirist_post(Job_Post) print "Hirist Done" print "Hasjob started" hasjob_co(Job_Post) print "Hasjob Done" print "Trovit started" trovit(Job_Post) print "Trovit Done"