Message from Python discussions

November 2018

β€” πŸ‘


Btw, Is it good to have backend in python? For ex i have client written in and my server uses python + sql

β€” ?

β€” Is possible to make a function accept only a list as argument? Like some_function(['this', 'that'])

β€” Yes

β€” Can you tell me how? thanks

β€” Yes, because with different symbols workπŸ˜„

β€” Throw an exception when isinstance(arg, list) returns false

β€” Oki.. thanks

β€” Or do nothing

β€” And just let python error

β€” And tell people that it needs a list Β―\_(ツ)_/Β―