Questions tagged [python3]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
71 views

How to get a specific date from a json file in Python?

So I have to get data from 2021 from this website which I am able to but I am unable to get the data from 2021. The following is the code I wrote that gets the dates: for d in data: ...
user avatar
0 votes
1 answer
10 views

default relative Imports in Django wiki failing

In views.py, when initially running the pregenerated line from . import util failed with relative import error. The standard from .dir import package also failed. Deleting __init.py__ also has no ...
user avatar
  • 1
0 votes
0 answers
31 views

Pset8 Finance won't pass values to index.html

I have tried like every combination and there is no error but Jinja won't pass any value to my index.html. Running the SQL on the DB gives the correct answer! And I See a Table with head and foot etc ...
user avatar
1 vote
1 answer
183 views

How do correct I correct the pylint(no-member) error I get in the Web Flight lesson

Class Flight(models.Model): origin = models.ForeignKey(Airport, on_delete=models.CASCADE, related_name="departure") destination = models.ForeignKey(Airport, on_delete=models.CASCADE, ...
user avatar