You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey everybody,
I want to use the main() function from scholar.py in another script of mine. I saw a simmilar issue #50 but not a satisfying answer so far. Is it possible to call the script with optional input arguments in another script? It should be I guess. So far I've tried
Hey everybody,
I want to use the
main()
function fromscholar.py
in another script of mine. I saw a simmilar issue #50 but not a satisfying answer so far. Is it possible to call the script with optional input arguments in another script? It should be I guess. So far I've triedAnd I get the following error message:
TypeError: main() takes 0 positional arguments but 1 was given
Makes sense, the
main()
function inscholar.py
doesn't have any input argument. Maybe a super basic question, but any idea how to work around it?The text was updated successfully, but these errors were encountered: