Questions tagged [application.py]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
492 views

pset7 index.html, adding buy/sell button which linked to stock respectively

As the last requirement of the pset, I want to try empower users to buy more shares or sell shares of stocks they already own via index itself, without having to type stocks' symbols manually. I have ...
0
votes
0answers
136 views

I am getting an errors in the code no idea how to fix them? [duplicate]

I did a little googling pset7 index TypeError: 'NoneType' object is not subscriptable error Found an error similar in my code. But it doesn't say how to fix it. How do I fix the code? ...
0
votes
0answers
287 views

pset7 finance. I came across with the following error: . Internal error server

import os from cs50 import SQL from flask import Flask, flash, redirect, render_template, request, session from flask_session import Session from tempfile import mkdtemp from werkzeug.exceptions ...
1
vote
1answer
622 views

pset7 finance check50 doesn't detect a valid sale despite portfolio updating correctly

I'm puzzled why check50 shows me this error despite my portfolio and SQLite database correctly reflecting the sold shares :( sell handles valid sale expected to find "56.00" in page, but it ...
0
votes
1answer
206 views

Query for postal code as well as place and admin name in Search route in application.py mashup

I'm almost done with pset8. Just cant find any documentation that would help me in implementing postal code search in addition to place and admin_name1 search. db.execute returns a string and so ...