Created
October 29, 2014 12:00
-
-
Save vvikramjhu/a463fa2f45d823200929 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
counta = 0 | |
countb = 0 | |
countc = 0 | |
with open( "a.txt", 'a') as a: | |
with open( "b.txt", 'a') as b: | |
with open( "c.txt", 'a') as c: | |
# Iterate over readlines from myFile.xml and parse data | |
if ( counta == 300000 ): | |
with open( "a1.txt" , 'a') as a1: | |
a1.write()... | |
if ( countb == ): | |
if ( countc == ) : | |
# if the if blocks accessed above then continue without going below to write in a b c | |
............ | |
a.write() | |
b.write() | |
c.write() | |
counta += 1 | |
countb += 1 | |
countc += 1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment