Python 3 equivalence of find() -


i've converted python 2 program python 3, in following code:

te=find(p,']') 

i'm getting following error:

nameerror: global name 'find' not defined 

i'm assuming find function not built-in in python 3? equivalence of code in python 3? please me out , thank in advance.

that code doesn't work python 2.

are looking p.find("]") ?


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -