Skip single loop
<p>I'm looping over all lines in a file, splitting each line into tokens based on whitespace. For example, a line: <code>circle 1 2 3</code> would be split into 4 tokens, <code>circle</code>, <code>1</code>, <code>2</code>, <code>3</code>. </p>

<p>If the line begins with a comment (<code>#</code>) or is empty, my <code>tokenList</code> is also empty. If this is the case, I can't check <code>tokenList[0]</code> etc. </p>

<p>If the size of the list is 0, I want to jump to the next line - the next loop in the <code>for</code> loop:</p>

<pre><code>
       for line in self.myFile:
            tokenList = self.getTokens(line)
            if len(tokenList) == 0:
                ## ISSUE HERE
            if tokenList[0] == "shape":
                s = RayTracerShapes.Shape()
                self.scene.addShape(s)
</code></pre>

<p>I tried <code>break</code>, but this seems to jump right out of the loop, rather than ending the current iteration. Is there a way to jump out of the loop I'm in, and into the next loop, without jumping right out of the for loop altogether? </p>
