In C this operator is used in variables of type pointers, but in Python I do not know which way, and what the reason to use, so what is the meaning of the operator (*) in the Python language?
Suppose I have a list of words in Python (if necessary, already sorted according to the collation rules):
palavras = [
u"acentuacao",
u"divagacão",
u"programaçao",
u"taxação",
]
Notice that I have not used cedilla ( ç...
I have a Python script that runs a particular command on the system. This command waits for a password to be entered immediately, the only way to do this is to pass the password via the argument.
I wanted to know if there is any way to execut...
The Python documentation in Portuguese is a work in progress, and fairly confusing how can you see .
I have difficulties in English and I find this site that I can not read.
So, how can I use break , pass and continue...
I found some codes that had variables inside classes, ending in semicolons. I did not understand why, and also did not find anything on the internet about it.
class exemplo():
self.variavel_teste = 0;
I have the network dump (file in PCAP format captured with tcpdump) from a "conversation" between the attacked server (Apache web server: 192.168.1.2) and the malicious clients:
Theattackwasalaboratorysimulationofdenialofservicewithslowloris.Ik...
I have a function where one of the parameters is a dictionary, but it is optional.
I need to assign a value in this dictionary, but take into account the case where this parameter is not filled in.
The following solution uses two lines for...