Skip to main content

Posts

Showing posts from February, 2020

BY USING PYTHON TWEEPY MAKE A TWITTER BOT....

In this episode we are getting to   create a twitter bot with python using the selenium library. if  you're   a beginner python developer  otherwise you   are  trying to find  some python projects then this tutorial is for you! Things covered in this tutorial: !) Create a twitter bot with python 2)Python basics 3)How to use python selenium To start, here’s how  you'll  use Tweepy  to make  a tweet saying Hello Tweepy: PYTHON_____________________________________________ import tweepy # Authenticate to Twitter auth = tweepy . OAuthHandler ( "CONSUMER_KEY" , "CONSUMER_SECRET" ) auth . set_access_token ( "ACCESS_TOKEN" , "ACCESS_TOKEN_SECRET" ) # Create API object api = tweepy . API ( auth ) # Create a tweet api . update_status ( "Hello Tweepy" ) This is  a brief  example, but it shows the four steps common  to all or any  Tweepy programs: Import the tweepy package Set the authenti...

Pyspeedtest 1.2.7

Python script to check  network bandwidth using Speedtest.net servers _____________________________________________________ This package is out there  from PyPI so you'll  easily install it with: sudo pip install pyspeedtest Or only for your user $ pip install --user pyspeedtest Usage In a terminal: $ pyspeedtest -h usage: pyspeedtest [ OPTION ] ... Test your bandwidth speed using Speedtest.net servers. optional arguments: -d L, --debug L set http connection debug level ( default is 0 ) -m M, --mode M test mode: 1 - download 2 - upload 4 - ping 1 + 2 + 4 = 7 - all ( default ) -r N, --runs N use N runs ( default is 2 ) -s H, --server H use specific server -v, --verbose output additional information --version show program ' s version number and exit $ pyspeedtest Using server: speedtest.serv.pt Ping: 9 ms Download s...

BUILDING A TINDER BOT WITH PYTHON

I have included a function for automating  the method  of getting an auth token for the Tinder bot  to figure  (Tinder Token Retriever). Shout  bent  the developer!   to ascertain  a post of the code, view this post: Automatic Tinder Authentication Token Retriever in Python. The update has been included  within the  code file  that's  linked below.   thanks to  this update, the manual process  that's  described below for obtaining an auth token  is no  longer needed. I keep it included  within the  blog post, however, for reference  just in case  the automated code ever stops working. Video tutorial BEGINNING OF ORIGINAL POST: It’s 2016 and online dating appears to be here  to remain  .   one of  the more popular online dating apps is Tinder, the bane of my existence. You line update after date,  browsing  an equivalent  ole song and da...