Python Forum
My first day coding (ever) :/
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My first day coding (ever) :/
#9
(Aug-27-2020, 01:03 AM)jessefarquhar Wrote: How did you know it was meant for the terminal rather than the interactive shell?
Code uses sys.argv which is used to take arguments from command line and pass it to code.
Here i run in colab notebook now you see that have take away sys.argv and give values in code.
Also added %matplotlib inline to show plot in Notebook and not a own window.

Google Colab is fine and free way to run Notebooks no install just use and run.
Reply


Messages In This Thread
My first day coding (ever) :/ - by jessefarquhar - Aug-25-2020, 08:04 AM
RE: My first day coding (ever) :/ - by Gribouillis - Aug-25-2020, 09:00 AM
RE: My first day coding (ever) :/ - by Gribouillis - Aug-25-2020, 03:23 PM
RE: My first day coding (ever) :/ - by snippsat - Aug-25-2020, 03:53 PM
RE: My first day coding (ever) :/ - by snippsat - Aug-26-2020, 04:58 AM
RE: My first day coding (ever) :/ - by snippsat - Aug-27-2020, 09:20 AM

Forum Jump:

User Panel Messages

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