+ 6

[Python] SyntaxError: can't assign to keyword *****PLEASE HELP 😟*****

This code can't assign to the keywords but why I made the default operators and I didn't change them like the HTML list value should be None because it's empty and the doc is None (because I want to set the default is a code writing instead of copying so that's a little bit better here's the code by the way read the note down below): NOTE: bs4(beautiful soup) is not supported on SoloLearn its supported on pydroid3 and qpython https://code.sololearn.com/co0XliDU232p/?ref=app

21st Nov 2017, 5:00 PM
warlord
warlord - avatar
2 Respuestas
+ 7
@jay thanks for replying the code that I showed it here is already the beginning of the program but I defined what is the html value in default already I defined it in the arguments and in the statements I defined the html statement that its a list to make it easier to do anything with it so its an empty list that means the value is None like I can't say "for [] in html:" that's a very wrong statement like I don't know why it can't assign it because its a list even in default not all the default arguments stay with the same operators and values they can be changed ! especially the lists the empty ones by the way thanks for the resource I'm already in Advanced python 3 :) I completed a networking in python and an Android Python programming but I'm looking for making customized apps like the idea here is you need to connect to a server to fix and secure stuff so why don't your app do more tasks by itself like it makes tests for other stuff to secure or create a command line or some type of building or installation that is the real meaning of developing and improving an app !
21st Nov 2017, 8:42 PM
warlord
warlord - avatar
+ 2
the syntax is correct , but what is the logic. you have "for none in html " , this is not valid . go over your code again and walk through every single statement carefully , and document what it does.
21st Nov 2017, 5:30 PM
jay