---
title: "Discussion on \"Reasons why we prefer '.ipynb' instead of '.py' while learning data analysis:\" | Hashnode"
description: "Discussion on \"Reasons why we prefer '.ipynb' instead of '.py' while learning data analysis:\". if you run a python code:\nimport tensorflow as tf\nprint(tf.__version__)\nhello = tf.constant(\"Hello\")\nprint(hello)\n\nin .py file,The output will be like this:\n\n\"2023-01-25 13:15:51.190586: I tensorflow/core/platform/cpu_feature_guard.cc:193] This Tenso..."
url: "https://hashnode.com/posts/reasons-why-we-prefer-ipynb-instead-of-py-while-learning-data-analysis/63d0e06eceae8c725c62e2d7"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Reasons why we prefer '.ipynb' instead of '.py' while learning data analysis:](https://sarvesh42.hashnode.dev/reasons-why-we-prefer-ipynb-instead-of-py-while-learning-data-analysis?utm_source=hashnode&utm_medium=feed)

if you run a python code: import tensorflow as tf print(tf.\_\_version\_\_) hello = tf.constant("Hello") print(hello) in .py file,The output will be like this: "2023-01-25 13:15:51.190586: I tensorflow/core/platform/cpu\_feature\_guard.cc:193\] This Tenso...

Jan 25, 2023 · 1 min read · sarvesh42.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#ipynb](https://hashnode.com/tag/ipynb)
-   [#py](https://hashnode.com/tag/py)
-   [#preference](https://hashnode.com/tag/preference)

## Written by

[Sarvesh Kesharwani](https://hashnode.com/@Sarvesh42)

@Sarvesh42 · India, Banglore

  
[View profile](https://hashnode.com/@Sarvesh42)

Machine Learning Engineer

I am a Data Engineer from india.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
