First of all, you should use code tags like such:
# Code goes in here
Which would've given you the following:
print ' %s ini='%sys.argv
Now, to answer your question:
First we check that the first 4 characters of param are "not equal" to ini= ... <> is the obsoleted form of != So, as long as the first four characters of param are not 'ini=' then we execute the code block within the if statement, which is printing the name of our program ( sys.argv is always the name of the running program), and then we exit with a return of 1...
If the first four characters of param WERE 'ini=', then we would execute the line of code immediately after the if block, which declares the variable inifile to be equal to the remainder of param.. here's an example of that slicing: