Daily Dose of Data Science

Share this post

Find Your Code Hiding In Some Jupyter Notebook With Ease

www.blog.dailydoseofds.com

Discover more from Daily Dose of Data Science

High-quality insights on Data Science and Python, along with best practices — shared daily. Get a 550+ Page Data Science PDF Guide and 450+ Practice Questions Notebook, FREE.
Over 36,000 subscribers
Continue reading
Sign in

Find Your Code Hiding In Some Jupyter Notebook With Ease

Avi Chawla
Oct 24, 2022
1
Share this post

Find Your Code Hiding In Some Jupyter Notebook With Ease

www.blog.dailydoseofds.com
Share

Programmers who use Jupyter often refer to their old notebooks to find a piece of code.

However, it gets tedious when they have multiple files to look for and can't recall the specific notebook of interest. The file name 𝐔𝐧𝐭𝐢𝐭𝐥𝐞𝐝1.𝐢𝐩𝐲𝐧𝐛, ..., and 𝐔𝐧𝐭𝐢𝐭𝐥𝐞𝐝82.𝐢𝐩𝐲𝐧𝐛, don't make it any easier.

The "𝐠𝐫𝐞𝐩" command is a much better solution to this. Very know that you can use "𝐠𝐫𝐞𝐩" in the command line to search in notebooks, as you do in other files (.txt, for instance). This saves plenty of manual work and time.

P.S. How do you find some previously written code in your notebooks (if not manually)?

Thanks for reading Daily Dose of Data Science! Subscribe for free to learn something new and insightful about Python and Data Science every day. Also, get a Free Data Science PDF (250+ pages) with 200+ tips.


Read this post on LinkedIn: Post Link.

I like to explore, experiment, and write about data science concepts and tools. You could connect with me on LinkedIn.

1
Share this post

Find Your Code Hiding In Some Jupyter Notebook With Ease

www.blog.dailydoseofds.com
Share
Previous
Next
Comments
Top
New
Community

No posts

Ready for more?

© 2023 Avi Chawla
Privacy ∙ Terms ∙ Collection notice
Start WritingGet the app
Substack is the home for great writing