Home Article Practice pyhton

pyhton

2022-01-23 20:53  views:1403  source:小键人4222005    

from . import sessions
def getMusic(para):
with sessions.Session() as session:
return session.request("song", para)
def getPlaylist(para):
with sessions.Session() as session:
return session.request("playlist", para)
def getAlbum(para):
with sessions.Session() as session:
return session.request("album", para)
def search(para, number=5):
with sessions.Session() as session:
return session.search(para, number)
def createLoader(procs=2, dirs=""):
with sessions.Session() as session:
return session.downloader(procs, dirs)
def getUser(para):
with sessions.Session() as session:
return session.request("user", para)
def help():
print("这是帮助")



Disclaimer: The above articles are added by users themselves and are only for typing and communication purposes. They do not represent the views of this website, and this website does not assume any legal responsibility. This statement is hereby made! If there is any infringement of your rights, please contact us promptly to delete it.

字符:    改为:
去打字就可以设置个性皮肤啦!(O ^ ~ ^ O)