How to supply not all default arguments in python?
<p>Lets say i have this code:</p>

<pre><code>def dosomething(thing1, thing2=hello, thing3=world):
    print thing1
    print thing2
    print thing3
</code></pre>

<p>I would like to be able to specify what thing3 is, but wihout having to say what thing2 is. (The code below is how i thought it might work...)</p>

<pre><code>dosomething("This says 'hello fail!'", , 'fail!')
</code></pre>

<p>and it would say</p>

<pre><code>This says 'hello fail!'
hello
fail!
</code></pre>

<p>So is there a way to do it like that, or would i have to specify thing2 every time i wanted to say what thing3 was?</p>

<p>I am using python2, if that matters.</p>
