No result found.

Outline

  • Session 1

  • Session 2

Specialist in python

Sahana B13 Aug, 2020

Session 1

        C:\Users\Admin>python --version
Python 3.7.1

C:\Users\Admin>python
Python 3.7.1 (default, Dec 10 2018, 22:54:23) [MSC v.1915 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> print("Getting started with specialization with python")
Getting started with specialization with python
>>> notepad
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'notepad' is not defined
>>> system("notepad")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'system' is not defined
>>> os.system("notepad")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'os' is not defined
>>> os.system("notebook")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'os' is not defined
>>> import os
>>> os.system("notebook")
'notebook' is not recognized as an internal or external command,
operable program or batch file.
1
>>> speak("Getting started with specialization with python")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'speak' is not defined

>>> exit()

C:\Users\Admin>pip install pyttsx3
Collecting pyttsx3
  Downloading https://files.pythonhosted.org/packages/33/9a/de4781245f5ad966646fd276259ef7cfd400ba3cf7d5db7c0d5aab310c20/pyttsx3-2.90-py3-none-any.whl
Requirement already satisfied: comtypes; platform_system == "Windows" in c:\users\admin\anaconda3\lib\site-packages (from pyttsx3) (1.1.7)
Collecting pypiwin32; platform_system == "Windows" (from pyttsx3)
  Downloading https://files.pythonhosted.org/packages/d0/1b/2f292bbd742e369a100c91faa0483172cd91a1a422a6692055ac920946c5/pypiwin32-223-py3-none-any.whl
Requirement already satisfied: pywin32; platform_system == "Windows" in c:\users\admin\anaconda3\lib\site-packages (from pyttsx3) (223)
Installing collected packages: pypiwin32, pyttsx3
Successfully installed pypiwin32-223 pyttsx3-2.90

C:\Users\Admin>python
Python 3.7.1 (default, Dec 10 2018, 22:54:23) [MSC v.1915 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyttsx3
>>> speak("hi sahana")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'speak' is not defined
>>> pyttsx3.speak("hi sahana")
>>> pyttsx3.speak("Welcome to training of Specialist in python")
>>>

      

Session 2