NOVELTY - A photovoltaic fabric production method involves preparing polyvinylpyrrolidone solution and polyvinyl acetate solution to obtain magnesium oxide and titanium dioxide precursor spinning solutions. The magnesium oxide and titanium dioxide precursor spinning solutions are put to injectors. A composite fiber film is sintered and cooled to obtain a titanium dioxide/magnesium oxide core-shell nanometer fiber film followed by fixing a flexible dye-sensitized solar cell on the target fabric with epoxy resin to form photovoltaic fabric.    USE - Method for producing photovoltaic fabric that is utilized for powering portable electronic products such as mobile phones and digital cameras.    ADVANTAGE - The method enables producing photovoltaic fabric in a simple and efficient manner.    DETAILED DESCRIPTION - A photovoltaic fabric production method involves preparing polyvinylpyrrolidone solution and adding the polyvinylpyrrolidone solution to obtain magnesium oxide precursor spinning solution by magnetic force stirring for 8 hours. Polyvinyl acetate solution is prepared and the polyvinyl acetate solution is added to obtain titanium dioxide precursor spinning solution by magnetic force stirring for 8 hours. The magnesium oxide precursor spinning solution and the titanium dioxide precursor spinning solution are respectively put to the respective injector. 18 KV voltage is added between a coaxial spinneret and a receiving pole plate. Injectors are controlled by two micro-injection pumps. Solvent is volatilized and solidified to form fine composite fiber and an aluminum film is collected in the receiving pole plate surface. The collected composite fiber film is placed into a muffle furnace to sinter. The film is cooled to obtain a titanium dioxide/magnesium oxide core-shell nanometer fiber film. The titanium dioxide/magnesium oxide core-shell nanometer fiber film is placed into absolute ethyl alcohol and an ultrasonic treatment is performed for 20 minutes to obtain the titanium dioxide/magnesium oxide core shell nanorod. The titanium dioxide/magnesium oxide core-shell nanometer rod powder and absolute ethyl alcohol are mixed and stirred to obtain slurry, and the slurry is uniformly coated on ITO-PEN flexible conductive substrate to form a thin film by a rotary spin coater. The sample is put on a heating plate, heated at 120 degrees C for 30 minutes and cooled to obtain a photo-anode. The photo-anode is sensitized with N719 dye, I-/I3-stanrard electrolyte, platinum/titanium-plated flexile paired electrodes and Surlyn1702 thermal packaging film for 24 hours to obtain a flexible dye-sensitized solar cell. The flexible dye-sensitized solar cell is fixed on the target fabric with epoxy resin to form photovoltaic fabric.