1. Open "Terminal"
2. type "defaults write com.apple.finder AppleShowAllFies TRUE"
3. Then type "killall Finder" to restart Finder
Note: If you want to change back to hidden files, just change TRUE into FALSE
|
|
Hi, I'm Veerapat Sriarunrungrueang, an expert in technology field, especially full stack web development and performance testing.This is my coding diary. I usually develop and keep code snippets or some tricks, and update to this diary when I have time.
Nowadays, I've been giving counsel to many well-known firms in Thailand.
view more... |
import pickle
class Test:
A = ''
B = ''
f = open('pickle','w+')
ob = Test()
ob.A = 'A'
ob.B = 'B'
pickle.dump(ob, f)
import pickle
class Test:
pass
f = open('pickle','r+')
ob = ''
# If we don't have class template for loading object,
# the error will occur.
ob = pickle.load(f)
print ob.A # output: A