Python Forum
Hello World issues when using %% with ipython
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hello World issues when using %% with ipython
#3
(Dec-11-2016, 10:29 AM)Yoriz Wrote: Magic functions Cell magics are prefixed with a double %%, and they are functions that get as an argument not only the rest of the line, but also the lines below it in a separate argument.

So what command do I need to use if I have no argument?

I have tried "%%python","%%python2" and "%%pypy". None of them just works by ENTER.

Thanks,

L
Reply


Messages In This Thread
RE: Hello World issues - by Yoriz - Dec-11-2016, 10:29 AM
RE: Hello World issues when using %% with ipython - by landlord1984 - Dec-11-2016, 06:25 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  World Clock syntax error OscarBoots 1 1,211 May-03-2024, 05:20 AM
Last Post: snippsat
  IPython errors for numpy array min/max methods muelaner 1 1,619 Nov-04-2023, 09:22 PM
Last Post: snippsat
  Can a program execute code in iPython shell and get result? deanhystad 3 2,902 Jun-17-2022, 03:45 AM
Last Post: Larz60+
  Hello World! rufenghk 0 1,413 Jun-02-2022, 09:48 PM
Last Post: rufenghk
  Very new to Python world daveseaman 0 1,984 Jun-25-2021, 07:17 PM
Last Post: daveseaman
  IPython console vs Spyder script losc 3 3,819 Apr-30-2020, 04:57 AM
Last Post: deanhystad
  How can I create a multiline input in ipython? DataMower 3 5,866 Oct-28-2019, 08:50 PM
Last Post: DataMower
  ipython autocomplete broke indentation! Exsul 6 6,189 Aug-20-2019, 01:29 AM
Last Post: Exsul
  Help | Classes to use in real world soothsayerpg 9 6,331 Jul-08-2019, 07:30 PM
Last Post: nilamo
  How to clear IPython console in Spyder? Vai 7 63,227 Aug-20-2018, 09:43 PM
Last Post: james_balcomb

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020