unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Daniel Fleischer <danflscr@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Using emacs for working with python and numpy
Date: Tue, 30 May 2023 20:17:42 +0300	[thread overview]
Message-ID: <m21qix20y1.fsf@gmail.com> (raw)
In-Reply-To: 06lzH_-WQCN1hnDCUa6sMW8NYnOXAr7lv3__DdybIi8FccmsLJgk6GBrM85e7_uyOIiRW1TLg6hnHy2C_twirYQBgP9ZYinTLGMFxcFjgG0=@proton.me

uzibalqa [2023-05-30 Tue 13:18] wrote:

> I would like to use emacs for working in python and calling numpy tools.  How can I proceed ? 
> Have seen other using Jupyter but would prefer using emacs instead.

Just create an empty file, call M-x python-mode. Now, start a python
interpreter using the menu bar or by calling C-c C-p. Now you can either
write a line of code in the interpreter and press "enter" to see what
happens, or you can write code in the empty file and run the entire file
using C-c C-c, run a region C-c C-r. That's about all you need to run
python.

-- 
Daniel Fleischer




      parent reply	other threads:[~2023-05-30 17:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-30 13:18 Using emacs for working with python and numpy uzibalqa
2023-05-30 16:22 ` Basile Starynkevitch
2023-05-30 16:38   ` uzibalqa
2023-05-30 17:17 ` Daniel Fleischer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m21qix20y1.fsf@gmail.com \
    --to=danflscr@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).