In python, executing bash commands can be done using subprocess module. It’s pretty easy to use and it’s a powerful module. For simple commands, we can use subprocess.call Usage: Eg: total 4 -rw-rw-r– 1 tevin tevin 15 Sep 3 15:29 test.txt You can also use subprocess.check_call and subprocess.check_output Popen: For more flexibility, you can use […]
Calm.com – An answer to meditate at workplace
All are stressed at your workplace for one reason or other. Listening to music or seeing beautiful places will release your pressure upto an extent. Calm.com is an answer to get relieved at your workplace. It comes with calming music and beautiful nature scenes. In fact, it helps you to meditate. You can choose either guided […]
Wearable Computers…
Introduction to wearable computers Simply put , its a technology that incorporate in things you wear on day to day basis and it could be anything from a smart watch, augmented reality glasses or even a personal health monitor in the form of a bracelet. The idea is that technology will increasingly become more part […]
CSSDeck – Learn crazy CSS
This week’s write-up is about CSSDeck, literally a deck filled with lots of amazing CSS codes. The Labs section is the primary part of this site, with the intention to allow users to share, edit and collaborate on creating and debugging HTML, CSS and JS codes. The site also allows to send in “cool crazy […]
Concept of Mutable & Immutable objects in Python
An Immutable object, in the lime light of object-oriented and functional programming, is an object whose state cannot be modified after it is created. Objects of built-in types like (int, float, bool, str, tuple, unicode) are immutable, A Mutable object, can be mutated or state can be modified after it is created. A mutable object will have at least a single method able to […]