Advertisement
Guest User

createmc1000header.py

a guest
Aug 15th, 2012
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.25 KB | None | 0 0
  1. #!/usr/bin/python
  2. # -*- coding: latin-1 -*-
  3. import os,sys
  4. fout_st="header.bin"
  5. fout_fl=open(fout_st,"w")
  6. for i in range(0,6,1):
  7.   fout_fl.write(chr(0xFF))
  8. fout_fl.write(chr(0x00))
  9. for i in range(0,249,1):
  10.   fout_fl.write(chr(0xFF))
  11. fout_fl.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement