Hussain Nasir Khan

A programmer, writer, and engineer. I have a deep interest in computer vision and artificial intelligence.

String to dictionary Python

String to dictionary Python

In this Python string tutorial, you will learn how to convert string to dictionary in Python. Method 1: eval() function Output: {‘website’: ‘AiHints’, ‘pages’: 7} <class ‘dict’> Method 2: json.loads() function Output: {‘website’: ‘AiHints’, ‘pages’: 7} <class ‘dict’> Free learning resources: AiHints, CodeAllow

Python string to bytes

Python string to bytes

In this Python string tutorial, you will learn how to convert string to bytes in Python. Method 1 Output: b’AiHints’ <class ‘bytes’> Method 2 Output: b’AiHints’ <class ‘bytes’> Free learning resources: AiHints, CodeAllow

Convert string to DateTime Python

Convert string to DateTime Python

In this Python string tutorial, you will learn how to convert string to DateTime in Python. Output: 2022-10-15 05:35:55 <class ‘datetime.datetime’> Free learning resources: AiHints, CodeAllow

Convert string to int Python

Convert string to int Python

In this Python string tutorial, you will learn how to convert string to int in Python. Output: 467839 <class ‘int’> Free learning resources: AiHints, CodeAllow

Plotly imshow

Plotly imshow

In this Plotly tutorial, you will learn how to use plotly imshow function. Output: Free learning resources: AiHints, CodeAllow

Plotly Polar Plot

Plotly Polar Plot

In this Plotly tutorial, you will learn how to plot polar plot in Python. You have to use go.Scatterpolar for polar plot. Output: Free learning resources: AiHints, CodeAllow

Plotly Ternary Plot

Plotly Ternary Plot

In this Plotly tutorial, you will learn how to plot ternary plot in Python. You have to use px.scatter_ternary() function for ternary plot. Output: Free learning resources: AiHints, CodeAllow

Plotly Network Graph

Plotly Network Graph

In this Plotly tutorial, you will learn how to plot a network graph in Python. Output: Free learning resources: AiHints, CodeAllow