import tensorflow as tf
flags = tf.app.flags
flags.FLAGS._parse_flags()
print(("\n".join(flags.FLAGS.__dict__['__flags'].keys())))

@@ -69,25 +69,26 @@
 s()%0A
-print((%22%5Cn%22.join(
+for key, value in 
 flag
@@ -119,14 +119,35 @@
 s'%5D.
-keys()))
+items():%0A    print(key, value
 )%0A

Update 03-Default-values-of-tf-app-args.py