Students from countries where there is no Centre d'Etudes en France (CEF) must obtain a student visa from the French Consulate in their country of origin. Students who do not reside in their country of origin can apply at the nearest French Consulate by providing proof of residence in the country where they submit their visa application.
Example: you are from India, currently residing in Dubai. You apply for a visa at the French consulate in Dubai while providing a proof of residence in Dubai.
Caution! Bear in mind that you come to France as a student, not as a tourist, even though your study period is short.