[Solved] Parse error: syntax error, unexpected ‘{‘ in C:\wamp\www\reg.php [closed]

$requiredfields = (“firstname”,”lastname”,”password1″,”password2″,”gender”); This line is invalid. You should have the keyword array before the (. In general, use a code editor that has bracket matching. This would help you find missing )}] and extra ({[ more easily. Some even include HTML tag matching in a similar way. http://notepad-plus-plus.org/ is a good example. solved Parse … Read more

[Solved] python: (calling all experts out there to help) how do i write a chatbot which can commands and execute a python function?

Well one suggestion is to use NLP Linguistic Features For ease, i will be using spacy import spacy nlp = spacy.load(‘en_core_web_md’) doc = nlp(‘Get me all sales numbers for August in the Delhi’) for token in doc: print(token.text,token.dep_,token.pos_) Output | ‘Word’ | ‘DEPENDENY’ | ‘POS’ | ———————————- |’Get’ | ‘ROOT’ | ‘AUX’ | |’me’, | … Read more