Skip to content
pythoneo

Pythoneo: Python Programming, Seaborn & Plotly Tutorials

Master Python: How-To Tutorials & Solutions for Coders

  • Home
  • Privacy Policy
  • About
  • Cookie Policy

How to Calculate Age from Date of Birth in Python Using Datetime (Years, Months, Days)

December 16, 2020December 12, 2025Pythoneo

This tutorial shows how to calculate age from date of birth in Python using the datetime module, returning your exact age in years, months, and days. The script will ask for the day, month, and year of your birth, and it will output your exact age. With a few simple changes, this Python age calculator Continue reading

Python

How to Draw a Hyperbola with Asymptotes in Python Tkinter Canvas

December 15, 2020December 12, 2025Pythoneo

Let’s use Python Tkinter canvas to draw a hyperbola step by step, so you can learn basic GUI plotting in Python.

Tkinter

Draw random stars using turtle

December 13, 2020December 14, 2025Pythoneo

Enjoy creating random objects with Python. Now, let’s have some fun drawing stars in various positions and colors. Turtle graphics is a simple and fun way to create drawings with Python code. It uses a virtual turtle that you can command to move around the screen and draw lines, shapes, and more. This makes it Continue reading

turtle

Build a Tkinter GUI Application to Fetch and Display User Data in Python

December 13, 2020December 12, 2025Pythoneo

Here is a simple Tkinter GUI application to fetch and display user data in Python, perfect for beginners learning Python GUI programming.

Tkinter

Posts pagination

< 1 … 25 26

RSS RSS

  • Django Messages Framework: User Feedback Done Right
  • Seaborn Distribution Plots: Histograms, KDE And Rug Plots
  • Plotly Animated Line Chart: Visualizing Change Over Time
  • Plotly Box Plot And Violin Plot: Statistical Distributions
  • Seaborn FacetGrid Tutorial: Small Multiples For Data Stories
  • Django Form Validation: Custom Validators And Error Handling
  • Seaborn vs Plotly: Choosing the Right Visualization Library
  • Django Model Relationships: ForeignKey, ManyToMany, OneToOne Explained
  • Advanced Seaborn Heatmap Visualization: Clustering and Customization
  • Tkinter Complete Guide: Build Python GUI Applications

Resources

  • Matplotlib Master Hub + Recipes
  • OpenCV Master Hub + Recipes
  • Seaborn Master Hub + Recipes
  • Tkinter Master Hub + Patterns
  • SciPy Optimize Cookbook (minimize, least_squares, linprog)
  • Plotly Maps & Geo Cookbook
  • Paramiko Master Hub + Production Cookbook
  • NumPy Master Hub + Cheatsheets
  • Ultimate Python Cheatsheet + Gotchas
  • Django Master Hub + Recipes

Tags

array axis button calculations chart column conversion count data type dimension draw dtype empty error fill float generate grid GUI image index integer list matrix max mean min mode multiply normal distribution number pie plot random reshape rotate round rows size string sum test text time zero

Categories

  • bokeh (6)
  • Django (13)
  • matplotlib (12)
  • numpy (121)
  • OpenCV (7)
  • Pandas (6)
  • paramiko (63)
  • Pillow (6)
  • Plotly (23)
  • Python (70)
  • Scipy (9)
  • Seaborn (23)
  • statistics (6)
  • Tkinter (34)
  • turtle (2)
Proudly powered by the Izo WordPress theme