That means they're independent clauses, so you need to use a comma before
but. When you don't have two independent clauses, leave the comma out. I would go for a walk,
but for the rain. ... That phrase can't stand by itself as a complete sentence, which means it's a dependent clause.
read more >>