Professional Documents
Culture Documents
Python Samples
Python Samples
path
#to check if the file exists
open(file.txt,'w')
os.path.isfile(file.txt)
32 bit or 64 bit
2)import struct
struct.calcsize("P")*8)
3)import platform
import os
os.name
platform.system
platform.release