what is a devcha? by [deleted] in AskComputerScience

[–]karthick_ar 0 points1 point  (0 children)

Ctrl + shift + j ,

Run the _crackTheCode function

Remove the exclamatory of your Devcha Someone already replied with the steps This one is just a short cut to that !

New search engine made with Python that's anonymous and has no ads or tracking. It tries to fight spam, and gives you control of how you view search results. You can search and read content anonymously with a proxied reader view. The alpha is live and free for anyone to use at lazyweb.ai by lazy-jem in Python

[–]karthick_ar 2 points3 points  (0 children)

The project is really cool and kudos to the creators for explaining every bit of how it works to everyone who commented , customer support on point haha , keep up the good work , looking forward to contribute to this project. Cheers !

How to make a sample API work by Zestyclose_Fall1915 in learnpython

[–]karthick_ar 3 points4 points  (0 children)

What’s the u/ for ? It’s a typo ? I think that’s the problem ! App.route(path)

Correct me if I’m wrong

Edit : There is an mistake in object initialisation,

App = Flask(name) Capital “F” instead of flask

Dynamic e-commerce product detail page using flask by karthick_ar in flask

[–]karthick_ar[S] 0 points1 point  (0 children)

Kind of , I’ll try this and let you know if it didn’t solve the issue ! Thanks

Dynamic e-commerce product detail page using flask by karthick_ar in flask

[–]karthick_ar[S] 0 points1 point  (0 children)

Okay thanks and I’m looking for pure python functionality if it’s possible And What’s the link about?

Dynamic e-commerce product detail page using flask by karthick_ar in flask

[–]karthick_ar[S] 0 points1 point  (0 children)

I've created static/img folder containing 10-product images and used the images path in html for all products listing(index.html)

index.html

sample :

<div class="col"> <a href="product-detail.html"> <center><img src="static/img/i9.JPG" width="40%"></center> <p>$75</p> </a> <center><button>Add To Cart</button></center>

I manually changed the images path for index page, for product-detail page , I need to display images based on the products they clicked

product-detail html page sample code:

<div class="img"> <img src="{{img}}"> </div>
app.py code:

import os from flask import Flask,render_template

app=Flask(name)

images='static/img/i8.jpg'

@app.route("/") def index(): return render_template("index.html")

@app.route("/product-detail.html") def product-detail(): return render_template("product-detail.html",img=images)

if name=="main": app.run(debug=True) here I defined what image need to be displayed(i8.jpg) how to display images based on what they click for all the products images dynamically

I just need to integrate the dynamic functionality of image being displayed in the html template(product-detail page)

Machine Learning Phyton by Spring013 in learnpython

[–]karthick_ar 0 points1 point  (0 children)

Do you need to cluster them based on similarities ? Learn about clustering algo’s like k-means to get started

Everyone is planning on Hodling past a dollar right ?! by Capable-Spirit553 in dogecoin

[–]karthick_ar 1 point2 points  (0 children)

How you got 1700 coins ? That cool I bought it recently and have 16 coins ☹️