Keen Learner and Exp... • 5d
Day 22 of learning python as a beginner. Topic: speech_recognition, webbrowser, pyttsx3 speech_recognition: this is a popular library used to convert audio to text. it helps in capturing audio from microphone or audio files. I am using google's web speech api in this. webbrowser: helps in communicating with the browser to open urls in the browser. This is built in in python. pyttsx3: this is an online text to speech converter. using these three I created and modified a program that can open any website just when you say the name of it. I also have plans for expanding much more features into this. Initially I used if else statements all over the code however I soon realised that I may be compromising with scalibilty of code by using so much of if else. Therefore I used match cases to analyse the user command and identify what he is trying to open. A few amazing people suggested me that I should use multi-line comments to make my program more readable, thus I got introduced with readme.md file where I can use these type of comments to tell what is happening (I know it may not be what those amazing people meant however I just found this interesting so thus I implemented it). I have also started using GitHub because I realised that I can much more widely experiment with the code with when I don't have the fear of messing it up. Some of you commented that I should not use videos in the post because they were unable to see the code. Therefore I am sharing the refined and modified version of that code. I would appreciate any suggestion that will help me improve my code. Here's my code and its result (for those who want to see the video of it's functioning can see my day 21 post on my linkedIn you can find my linkedin in my profile).
Hey I am on Medial • 1y
www.facebook.com/AndNowHigh5 👆Facebook is banning me from pasting content. Perticularly Android app code . The app name is SoundScout and facebook not letting me post the actual code that I have. This audio based navigation app might replace Googl
See MoreBuilding thehooked.c... • 1y
I don't know how to code and that made me a criminal So I decided to make a change It's been one of the biggest pain points of my life that I don't know how to build apps and code. As a CEO, I need to be aware of every aspect of my startup but th
See MoreHey I am on Medial • 1y
I am working as a Full stack developer in a small company, today my CEO asked me to write javascript code to automate email response, I accomplished it using Google Apps Script, and use ChatGPT to write the code. I want to know did i had any other
See MoreHey I am on Medial • 10m
I have an idea of a mobile and am struggling a little with buildingthe app using code or no code tools as the features of my app are different and unique and it is getting harder fir me to build and i also want to make a business over it hence as hav
See MoreDeveloper • 5m
Working as a Web Developer, I believe in working smart rather than just hard. I leverage ChatGPT to speed up my development process, using it to refine logic and generate code snippets that enhance efficiency. While GPT doesn’t provide the entire sol
See MoreAudiophile with 8 ye... • 5m
Hi! friends, Hope you all are doing well! I am an Audiophile with 8 years of music listening experience. I only listen to Bollywood and English music but I am a hard-core Bass lover. I belong to an era of early 2000 when sound was the primary mode o
See MoreDownload the medial app to read full posts, comements and news.