Skip to content

Commit

Permalink
add more to README
Browse files Browse the repository at this point in the history
  • Loading branch information
patel-zeel committed Aug 4, 2024
1 parent 1fc2d40 commit 854aab2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,18 @@ On the first time cell execution, it will print the default imports.

Copy-paste the printed lines in your notebook and remove (or keep if you want!) the `import dimport` line. That's it!

These are my **D**efault **Import**s, what are yours?
## For python scripts
Import `dimport` at the beginning of your script.
```python
import dimport
```

Run the script from the terminal. It will print the default imports.
![](assets/dimport_py.png)

Copy-paste the printed lines in your script and remove `import dimport` line. That's it!

<font color='red'>**Note:**</font> You can modify the default imports as per your needs!

## Modify the default imports

Expand Down
Binary file added assets/dimport_py.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 854aab2

Please sign in to comment.