print "Mindaugas antras kodas"
So continuing in Pygments.org documentation on command line usage part you can find commands how to write python colourful script on cmd or HTML file. It is simple to use - using python file folder environment you can write via command prompt with library function any code.
Now I will write instruction how to make codes colourful and upload to your websites. It will look you work for Wikipedia.
So on cmd with command cd Folderpath select folder environment and use full HTML file command from Command line usage site to selecting from command line usage "pygmentize -f html -O full -o test.html test.py". Change test to you Script name. And you will get in your folder HTML file with colorful code. Open HTML file with Notepad, copy all code and past to blog's post HTML page. That's it.
from glob2 import glob with open('total.txt', 'a') as singleFile: for csvFile in glob('*.txt'): for line in open(csvFile, 'r'): singleFile.write(line) #cd C:\Python27 #python APPENDCSV.py