54 questions
Hello, I'm a person who just started learning coding. I'm making a simple shopping mall. If I press 4 products on the main page of the shopping mall, I am trying to change the value within the same pa...
String.replace(/case/gi, FIND!)As above, I wrote to change the string case to FIND! without being case-sensitive.If there are two strings, > and < on both sides of case, how do I write it so tha...
Hello, I'm a newbie who just started Python.Cannot import name Module from flaskI installed the flask and checked that it was installed well.Can you tell me why not?ㅠ
Now, using two threads, one is a thread that stores a video of a webcam as a file One function is to turn over this saved file to HTML and display it on the web in HTML.I don't know much about the web...
def vanalysis(request): device = Device.objects.all() locations_list = list() for d in device: try: location = d.dev_name.split(';')[2].split(' ')[0] except Exception as e: location = 'Data error'...
index.html{% for obj in data_list%} <!-- single item --> <div class=item my-3> <h5 class=item-name text-capitalize>{{obj.contents}}</h5> <div class=item-icons> <a hre...
I created a program that loads and shows templates with Python flasks.import flask;app = flask.Flask(__name__);@app.route('/')@app.route('/home')def hello(): return flask.render_template('test.html')a...
First of all, the logic to be implemented is to read the time value (data) stored in the DB through the datetime moduleWhen I display it on the web after processing it once, I want to print it out in ...
First of all, the point of the question is to calculate daily statistics based on DB data You are about to import it.I'm trying to implement it through the ORM query statement method, but the logic is...
from flask import Flaskapp = Flask(__name__)@app.route(/hello)def hello(): return <h1> Hello World! </h1>if __name__ == __main__: app.run()`Writing the following basic code does not run no...
« | - 5 - | » |
© 2024 OneMinuteCode. All rights reserved.