How do we execute the python scripts or commands i...

Discussion in 'Web App and Programming' started by _18940, Dec 25, 2017.

  1. _18940

    _18940 Member

    Joined:
    Dec 25, 2017
    Messages:
    4
    Likes Received:
    0
    How do we execute the python scripts or commands in windows? This course focuses on Ubunto only. Is it better to install VM with Ubunto on it?
     
    #1
  2. Rakesh Deshpande

    Rakesh Deshpande Moderator
    Simplilearn Support

    Joined:
    May 3, 2016
    Messages:
    769
    Likes Received:
    62
    Hello,

    It's upto you if you are comfortable working on Ubuntu or linux based systems, but you can install python on Windows and here is the link to download:

    https://www.python.org/downloads/


    How do you know or run a sample program ?

    1. Open cmd and change to python's directory ( cd <filename>) or create a folder ( mkdir <filename). - usually windows don't support mkdir , in that case you can create folder manually.

    >>> print "Hello"
    Hello
    >>> "Hello" * 3
    'HelloHelloHello'

    Check the official page here: https://docs.python.org/2/faq/windows.html
     
    #2

Share This Page