• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
PythonForBeginners.com

PythonForBeginners.com

Learn By Example

  • Home
  • Learn Python
    • Python Tutorial
  • Python Basics
    • Comments
    • Functions
    • Lists
    • Loops
    • Strings
    • Syntax Basics
  • Code Examples
  • Categories
    • Basics
    • Code Snippets
    • Python On The Web
    • Scripts
    • System & OS
    • Dictionary
    • Modules In Python
    • Lists
    • Modules
    • OS


Code

Numeric Types in Python

Last Updated: August 27, 2020

In any OOP language, there are many different data types. In Python, number data types are used to store numeric values. There are four different … [Read more...] about Numeric Types in Python

Filed Under: Basics, Code Date Originally Published: October 16, 2015

Magic 8-ball written in Python

Last Updated: August 27, 2020

Overview The Magic 8 Ball is a toy used for fortune-telling or seeking advice. Magic 8-ball written in Python In this script I'm using 8 possible … [Read more...] about Magic 8-ball written in Python

Filed Under: Code, Code Snippets Date Originally Published: April 14, 2013

Python Code : Convert KM/H to MPH

Last Updated: August 27, 2020

Convert KM/H to MPH This script converts speed from KM/H to MPH, which may be handy for calculating speed limits when driving abroad, especially for … [Read more...] about Python Code : Convert KM/H to MPH

Filed Under: Code, Code Snippets Date Originally Published: September 23, 2012

Python Code : Get all the links from a website

Last Updated: August 28, 2020

Overview In this script, we are going to use the re module to get all links from any website. One of the most powerful function in the re module is … [Read more...] about Python Code : Get all the links from a website

Filed Under: Code, Code Snippets, crawler, Python On The Web Date Originally Published: September 22, 2012

Primary Sidebar

Get Our Free Guide To Learning Python

Menu

  • Python Basics
  • Code Examples
  • Loops
  • Functions
  • Strings
  • Python on the Web
  • Lists
  • Dictionaries
  • Python Modules
  • Python Glossary
  • Learn Python

Most Popular Content

  • Reading and Writing Files in Python
  • String Concatenation and Formatting
  • List Comprehensions in Python
  • How to use sys.argv in Python
  • How to use Split in Python
  • How to use comments in Python
  • Python Syntax Basics

Recent Posts

  • Datacamp Review 2021
  • Most Common Python Interview Questions For 2021
  • How to use Split in Python
  • Python Code Examples
  • Reading and Writing Files in Python

Python Courses

  • Datacamp: Intro To Python
  • 2021 Complete Python Bootcamp
  • Python Mega Course: Build 10 Real World Apps
  • Python Data Science Bootcamp
  • Complete Python Developer: Zero to Mastery

Copyright © 2012–2021 ยท PythonForBeginners.com

  • Home
  • Contact Us
  • Privacy Policy
  • Write For Us