/r/IPython

Photograph via snooOG

If you have a question about IPython, (now Jupyter) the programming language written by scientists for scientists with an eye towards presentation, we want you here. If you have tips, Notebooks you want to share, or you want feedback we want you here. We welcome posts about the all versions of the IPython IDE, plus Markdown and LaTex. We discuss the popular libraries Mathplotlab, SciPy, NumPy, & SymPy. If you want to know about features like embedded video or animation check us out.

IPython (now Jupyter) was originally started by Fernando Perez as a way to improve the Python work flow for scientific computing. Since then it has grown in popularity, and gaining to the ability to make XKCD styled plots using matplotlib hasn't hurt. With new additions like the IPython Notebook, which runs in a browser, and the Notebook Viewer, IPython is a scientist's best friend.


Related subreddits

Useful Libraries


Cloud Services

Official IPython Sites


Official Example Notebooks

Additional Good Examples


Installation

Other Educational Resources

NBViewer Browser Extensions


Additional References


Comment Guidelines

The visitors to /r/IPython come from very different backgrounds and some even have little programming experience. Since this site is primarily here to provide help in the use of IPython, and host discussions about current and future features, make sure that it is clear how comments are relevant to the original post or the previous comment.

/r/IPython

8,578 Subscribers

0

Need Help!

So, I am trying to animate a list of .fits files. Like, fits = [‘1.fits’, ‘2.fits’, ‘3.fits’, ……., ‘30.fits’]

But I am get an error as list out of range or doesn’t have ‘writer’ method.

How can I fix this?

1 Comment
2024/04/30
02:29 UTC

5

Announcing pixi-kernel - Jupyter kernels using Pixi for reproducible notebooks

Hello everyone,

I'm proud to announce a brand-new Python library named pixi-kernel. Feedback and suggestions are welcome.

https://github.com/renan-r-santos/pixi-kernel

Also, if you haven't heard of the Pixi package manager, check it out at https://pixi.sh/latest/.

It supports conda and PyPI (through uv) packages, pyproject.toml config, git, path and editable installs and it is really fast.

0 Comments
2024/04/15
12:33 UTC

3

Python Applications for Digital Design and Signal Processing Course

The popular "Python Applications for Digital Design and Signal Processing" course by Dan Boschen is running again this month. Early registration discount through April 17, 2024!

This course combines pre-recorded video with live workshops and many examples in Jupyter Notebook as the fast path to quickly getting up to speed in best practice use of Python and related tools specific to modeling and simulation for signal processing analysis and design.

Go to https://www.dsprelated.com/courses for more info and to sign up!

https://preview.redd.it/boln6cc68ntc1.png?width=1200&format=png&auto=webp&s=d5cad7f93125cde6d25d1a9654eb9443102f219e

0 Comments
2024/04/10
12:11 UTC

1

Help out

Hi all,

Not particularly adept with code, so I need help. i want to set my aspect ratio to a square/equal, but none of all the solutions I found online work. Anyone know how I can go about this? Thanks in advance.

https://preview.redd.it/hz3v8t8ic5oc1.png?width=1473&format=png&auto=webp&s=7c0a70ba0e0418929f8045d768321c59e325ffa8

https://preview.redd.it/f7oja0ngc5oc1.png?width=1492&format=png&auto=webp&s=3693a56cf6a5cbe7c9fae8a2bf6194eeb0892b6c

2 Comments
2024/03/13
18:42 UTC

3

Install and use autocomplete in jupyter lab 4.1.2

I'm using jupyter lab 4.1.2. is there like an extension that can suggest code while I'm typing my code in jupyter lab. I tried installing tabnine and hinterland extension, but it seems like it's disabled. I checked the list of extensions installed using cmd and even though these extensions are listed there, these won't work in the jupyter lab environment.

4 Comments
2024/03/09
16:02 UTC

2

Question about copy path

Hello guys!!! , I am just starting with python and jupyter notebook so I have a question that how to copy path of a file. I was able to do it on google colab but I can't seem to get it done with jupyter notebook. So please help me.

https://preview.redd.it/pws0y69cmbkc1.png?width=1257&format=png&auto=webp&s=53ca08fe4994f75f3d54e31a77f0c20547e75cfa

4 Comments
2024/02/23
11:31 UTC

2

How to access notebooks on other device ?(current device: Mac, other device: Windows)

1 Comment
2024/01/30
04:01 UTC

2

Building full stack RAG apps with Python

0 Comments
2024/01/25
00:41 UTC

10

JupyterLab + OpenAI plugin

Hi, r/IPython!

I've been working on a JupyterLab extension to integrate OpenAI's models in JupyterLab. It adds a new button to the cell bar and a shortcut allowing code generation from a cell comment.

Here's a demo showing how I created a gallery from images in a random Wikipedia article.

This is the first place where I publish it! I'd like to get some feedback in preparation for a larger launch, please let me know your feedback!

Repo: https://github.com/ploomber/jupyai

https://reddit.com/link/19528dx/video/szvqw3qhz1cc1/player

2 Comments
2024/01/12
18:36 UTC

0

Python programmers in mumbai

0 Comments
2024/01/10
10:41 UTC

3

Grep over IPython output!

Hi there! i just finish a little project allowing you to use grep over IPython output like so:

In [1]: {i:i for i in range(3)}
Out[1]:
{0: 0,
1: 1,
2: 2,
}
In [2]: %greps 1
Out[2]: ' 1: 1,\n'

https://github.com/royreznik/greps

2 Comments
2023/12/30
13:02 UTC

3

How can I disable large size warnings in JupyterLab?

Example of a large size warning in JupyterLab: https://i.stack.imgur.com/bAU9C.jpg

I don't want to disable all warning, but only large size warnings.

0 Comments
2023/12/29
05:32 UTC

Back To Top