MCQs > IT & Programming > Symbian Platform Python > What function is performed by the following PyS60 code? import camera, httplib PHOTO = u'e:\\Images\\photo_logo.jpg' def photo(): photo = camera.take_photo() photo.save(PHOTO) def placing(): image = file(PHOTO).read() conn = httplib.HTTPConnection('www.myserver.com') conn.request('POST', '/placing.php', image) conn.close() photo() print 'photo taken' placing()

Symbian Platform Python MCQs

What function is performed by the following PyS60 code?
import camera, httplib
PHOTO = u"e:\\Images\\photo_logo.jpg"
def photo():
    photo = camera.take_photo()
    photo.save(PHOTO)
 def placing():
    image = file(PHOTO).read()
    conn = httplib.HTTPConnection("www.myserver.com")
    conn.request("POST", "/placing.php", image)
    conn.close()
photo()
print "photo taken"
placing()

Answer

Correct Answer:

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Symbian Platform Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Symbian Platform Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it