Tagged: Python

Be cautious on Python strip on string 0

Be cautious on Python strip on string

One day my colleague came to me by saying that “Bro, I am getting a weird behavior on strip() in Python”. Then we sat together and got few points related to strip method which are very important. I am sharing those here for you guys to make a note. Let’s...

0

bpython – Interpreter with Auto Completion for Python

Hello Everyone, As the title suggests we are going to look at one small light weight utility which helps us a lot in real-time. Especially for Python folks, It’s a head ached to identify the properties and methods using dir(object). Though dir(obj) serves the purpose, it’s a bit difficult to...

0

Paramiko not found issue in Ansible

        If you have landed here, you have some glitch in running your Ansible playbook. Here the solution for that. When you run your playbook in Ansible, you are getting the error message which says that “Paramiko module not found” or similar which obviously says that “There...

0

Delete all your sent DM’s in Twitter in single shot

Hi Friends, I have given you the script to delete all your sent direct messages in Twitter at single shot. If you don’t understand what’s happening with the below code, refer my previous post about tweepy. If you are a one time user to get things done and don’t want...

0

Control your PC using Twitter with Python

Hi Folks, Task: Execute system commands by sending Twitter direct message This time I have come up with another useful & interesting script. How about executing system commands from Twitter DM? That’s cool right? Twitter offers REST API to access the Twitter data. I have selected my favorite language Python....

0

Ransomeware using Python

Hello Everyone, Happy to see you with an interesting post. I personally like the word “Ransomeware” because it sounds good. In the recent days Ransomware is the work which come across most of the time in news If we are in update with InfoSec. According to Wiki, Ransomware is  Ransomware is...