Curious about where to set up the Python path

This is a problem I encountered while using django I learned from Google that we need to set an absolute path to solve this problem By the way, can I use the absolute path to use from* import*? If possible, should I write the absolute route at the top? If anyone knows about this, I'd appreciate it if you could let me know

---------my code-------------
from xml.etree.ElementInclude import include
from django.contrib import admin
from django.urls import path
from myapp import views
from . import views

urlpatterns = [
    path('', 'views.index'),
    path('create/', 'views.index')
    
]

-----------error message------------- from myapp import views ModuleNotFoundError: No module named 'myapp'

Back to Top