Message from Python discussions

November 2018

β€” How to make correct startswith?


I use

if str.startswith('testing'):
send('this is test')

this is test
this is test

but i wanna make that respond to 'testing' only
How to fix it?

β€” How are you doing it wrong?

β€” Don't use starswith πŸ€·πŸ»β€β™‚

β€” Use what then?

β€” A simple equal comparison

β€” Do you know how starswith works? πŸ€”

β€” Am confused with startswithπŸ˜‚

β€” Why? The function's name itself is clear enough to know what it doesπŸ€”

β€” Oh yeah

β€” I am using IntelliJ for java. Please suggest me some similar IDEs for Python. I am running Ubuntu OS

β€” Pycharm