Python-Assistant icon indicating copy to clipboard operation
Python-Assistant copied to clipboard

wanting to add pdf to audio convertor

Open ShubhamZoro opened this issue 2 years ago • 11 comments

It will convert pdf book into an audio book

ShubhamZoro avatar Mar 02 '22 14:03 ShubhamZoro

Please assign this to me

ShubhamZoro avatar Mar 02 '22 15:03 ShubhamZoro

@ShubhamZoro how are you going to implement this feature?? Because for this we have to select a specific pdf first then only it can convert it. Do you have any idea to select a pdf using voice command??

Can you elaborate it further??

Umesh-01 avatar Mar 03 '22 17:03 Umesh-01

Well, we will ask a user to tell the name of the pdf. But there is one thing pdf name must be in small or capital. So that we can change the text we get from the user accordingly. If there are any suggestions please tell me.

ShubhamZoro avatar Mar 03 '22 17:03 ShubhamZoro

With GUI, we can. for reference: https://www.geeksforgeeks.org/python-askopenfile-function-in-tkinter/

solletravinder avatar Mar 08 '22 05:03 solletravinder

hey @Umesh-01 i want to contribute to your project please assign me this issue!! under GSSOC'22 !!!
I have new solution regarding this issues please if the assigned person not working on it

i am going to use ibm api

ishabhthakur avatar Apr 02 '22 15:04 ishabhthakur

Well, we will ask a user to tell the name of the pdf. But there is one thing pdf name must be in small or capital. So that we can change the text we get from the user accordingly. If there are any suggestions please tell me.

To achieve this, we have to keep all the pdf files in one directory and by providing the path of that directory to PA we can access them. But, it makes this feature limited to a particular directory and in real life we can have our pdf's anywhere in the computer. That's the problem.

Umesh-01 avatar Apr 02 '22 17:04 Umesh-01

With GUI, we can. for reference: https://www.geeksforgeeks.org/python-askopenfile-function-in-tkinter/

It's a good idea. @solletravinder for this we have to select the file manually, don't we??

There comes another problem why we are using the assistant if we have to do something manually. We should try to minimize the usage of PC manually.

I think we have to find a global path or something from where we can access all the files and directories inside our PC with that we will provide the extension (.pdf) of files so that the PA can search for those specific files in all the directories if it exists.

Umesh-01 avatar Apr 02 '22 17:04 Umesh-01

@Umesh-01 Can we store the location folder path of those PDFs with some unique name in a dictionary variable? place of setting paths can be in environment variable. (python-dotenv library)

solletravinder avatar Apr 02 '22 17:04 solletravinder

With GUI, we can. for reference: https://www.geeksforgeeks.org/python-askopenfile-function-in-tkinter/

It's a good idea. @solletravinder for this we have to select the file manually, don't we??

There comes another problem why we are using the assistant if we have to do something manually. We should try to minimize the usage of PC manually.

I think we have to find a global path or something from where we can access all the files and directories inside our PC with that we will provide the extension (.pdf) of files so that the PA can search for those specific files in all the directories if it exists.

Can we create a command to set paths for Documents/media, etc? This we can store as a constant.

solletravinder avatar Apr 02 '22 17:04 solletravinder

@Umesh-01 Can we store the location folder path of those PDFs with some unique name in a dictionary variable? place of setting paths can be in environment variable. (python-dotenv library)

I am not aware of python-dotenv library, are you sure it will work??

Umesh-01 avatar Apr 02 '22 18:04 Umesh-01

Yeah if you want to set a centralized path.

solletravinder avatar Apr 02 '22 18:04 solletravinder