How to set the path of uploaded photos in flask

Solution
@app.route('/', methods = ['GET', 'POST'])
def uploader_file():
   if request.method == 'POST':
      f = request.files['file']
      f.save("/static/"+f.filename) 
      # You may write that f.filename by yourself to save in any name as you want : 
      f.save("/static/"+"photo.jpg")
      return redirect(url_for('uploader_file'))
@app.route("/video_feed")
def video_feed():
    return redirect("/static/photo.jpg")