User Profile

Collapse

Profile Sidebar

Collapse
centella
centella
Last Activity: Jun 29 '19, 11:47 AM
Joined: May 10 '16
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • centella
    started a topic question about endpoint in flask

    question about endpoint in flask

    hi there,when learning flask,i have confronted a question,which is "BuildError : Could not build url for endpoint 'login'. Did you mean 'index' instead?",my code is below.
    Code:
    __author__ = 'Administrator'
    from app import app,db,lm,oid
    from flask import render_template,flash,redirect,session,url_for,request,g
    from flask.ext.login import login_user,logout_user,current_user,login_required
    from models import User
    ...
    See more | Go to post
    Last edited by gits; Jun 27 '19, 01:17 PM. Reason: added code tags

  • thanks for your answer, it works
    See more | Go to post

    Leave a comment:


  • problems with extracting high frequency words with class in python

    this question may seem stupid for those who are familier with Python. however, it puzzles me a lot. when i tried to extrect words whose frequency is above 200, following codes works, but how to implement this function with "class"is a problem.
    Code:
    v= [('make', 207), ('one', 206), ('people', 196), ('go', 189), ('say', 180), ('get', 160), ('time', 150), ('take', 141), ('would', 137), ('like', 134), ('b', 130), ('know', 119), ('find', 118),
    ...
    See more | Go to post
No activity results to display
Show More
Working...