问题描述
C:\Users\HBP\Desktop\lecture3>python manage.py runserver
C:\Users\HBP\Desktop\lecture3>python manage.py runserver
C:\Users\HBP\Desktop\lecture3>python manage.py runserver
C:\Users\HBP\Desktop\lecture3>python
行python manage.py runserver
不执行任何操作,而行python
打开Windows存储。
在安装python的过程中,我已经添加了PATH。
Python版本:3.8.5 操作系统:Windows 10 2002
解决方法
命令已更改为protocol Itemable {
var id: Int { get set }
}
protocol Paginatable {
associatedtype Item: Itemable
var items: [Item] { get set }
}
class Fetcher<T,P: Paginatable> where P.Item == T {
var items = [T]()
func onReceive(pagination: P) {
items = pagination.items
}
}
,而不是py