Skip to content

shreydan/Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python Scripts

All programs are written in Python 3.6

to install modules run:

pip install -r requirements.txt

You might have to use pip3 install -r requirements.txt If your computer has both Python 2 and 3 installed.

A message from shreydan:

  • All scripts are written by me with sufficient amount of comments.
  • Star this repository if you found any of the code to be helpful.
  • Please contribute by forking this repository.
  • If you need help in understanding any part of the scripts, raise an issue and I'll explain.

FILES:

Collatz.py : Collatz conjecture: Begin with a number and if it's even: divide by 2, if odd: multiply by 3 and add 1; continue with the resulting nos. and eventually it reaches 1.

charfreqcount.py : Returns frequency of every character in the sentence given.

tweets.py : This script allows the user to tweet text or an image directly from the terminal.

MathGame.py : A math game with 3 levels, 2 operands, 4 operators and grades accordingly.

imfeelinglucky.py : Clicks on the first link in a Google search result.

search.py : Google search from terminal.

instafollow.py : Logs in and follows people when usernames are provided.

primes.py : Generates prime numbers and writes them to a file.

txtbin.py : Converts text to binary.

checknet.py : Checks if internet is working or not.

linear.py : linear search algorithm.

binary.py : binary search algorithm.

bubble.py : bubble sort algorithm.

selection.py : selection sort algorithm.

timymodule.py : a look at timy module - timy module - GitHub

xkcd_comics.py : downloads the latest XKCD comic into a new folder (comics).

Releases

No releases published

Packages

No packages published

Contributors 5

Languages