Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Is there a way to automate changing the lines in a .txt like this?
Post: RE: Is there a way to automate changing the lines ...
So for these lines:
alcatrazObj[] = CreateDynamicObject(16147, -2180.231201, 1724.465454, 13.826271, 0.000000, 0.000000, 270.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(alcatrazObj... |
|
ejected |
General Coding Help |
3 |
2,162 |
May-05-2019, 05:51 PM |
|
|
Thread: Is there a way to automate changing the lines in a .txt like this?
Post: Is there a way to automate changing the lines in a...
I have a bunch of .txt files that I need to do the same thing to each. Is there a way to automate this in python? If so how? If not in python is there any other way I can automate this?
This is the c... |
|
ejected |
General Coding Help |
3 |
2,162 |
May-05-2019, 05:37 PM |
|
|
Thread: How can I send a .mp3 to play through my mic?
Post: RE: How can I send a .mp3 to play through my mic?
I want the text to speech to go through my mic so that people who are in a voice channel with me will hear the text to speech.
I don't know how else to explain it... I really don't. I don't mean to s... |
|
ejected |
General Coding Help |
20 |
20,527 |
Apr-05-2019, 06:09 PM |
|
|
Thread: How can I send a .mp3 to play through my mic?
Post: RE: How can I send a .mp3 to play through my mic?
(Apr-04-2019, 11:08 PM)Larz60+ Wrote: Is the image that you show your application?
And please refrain from vulgarity.
If it's not your app, the only way to automate changing the playback device (unl... |
|
ejected |
General Coding Help |
20 |
20,527 |
Apr-04-2019, 11:18 PM |
|
|
Thread: How can I send a .mp3 to play through my mic?
Post: RE: How can I send a .mp3 to play through my mic?
(Apr-04-2019, 10:40 PM)Larz60+ Wrote: can be done with selenium, you've got a bit of a learning curve ahead of you, but there just happens to be a good tutorial on this forum, done by snippsat
Web-S... |
|
ejected |
General Coding Help |
20 |
20,527 |
Apr-04-2019, 11:00 PM |
|
|
Thread: How can I send a .mp3 to play through my mic?
Post: RE: How can I send a .mp3 to play through my mic?
(Apr-04-2019, 09:09 PM)Larz60+ Wrote: you can play the mp3 directly from the python script.
The easiest way to do this is with pygame mixer which is use like:
from pygame import mixer
def play_mp3(... |
|
ejected |
General Coding Help |
20 |
20,527 |
Apr-04-2019, 10:06 PM |
|
|
Thread: How can I send a .mp3 to play through my mic?
Post: RE: How can I send a .mp3 to play through my mic?
(Apr-04-2019, 07:41 PM)Larz60+ Wrote: Quote:Sorry. Thought it would be easier to set this one to solved and ask the other question in a separate clear thread
Not a problem, we are here to answer que... |
|
ejected |
General Coding Help |
20 |
20,527 |
Apr-04-2019, 08:06 PM |
|
|
Thread: How can I send a .mp3 to play through my mic?
Post: RE: How can I send a .mp3 to play through my mic?
Sorry. Thought it would be easier to set this one to solved and ask the other question in a separate clear thread so that all these replies don't confuse people.
All I need to do is change the output... |
|
ejected |
General Coding Help |
20 |
20,527 |
Apr-04-2019, 06:50 PM |
|
|
Thread: How can I send a .mp3 to play through my mic?
Post: How can I send a .mp3 to play through my mic?
This is the code I have so far:
How can I make this .mp3 play through my mic? (so that people on Discord/TeamSpeak/Voice Chat can hear it)
from gtts import gTTS
t2s = gTTS(text="Hello this is the ... |
|
ejected |
General Coding Help |
20 |
20,527 |
Apr-04-2019, 03:16 PM |
|
|
Thread: How can I send a .mp3 to play through my mic?
Post: RE: Is this possible to make in Python?
(Apr-04-2019, 02:53 AM)Larz60+ Wrote: for that, you need speech to text
here are packages available: https://pypi.org/search/?q=speech+to+text
and then use text to speech to save mp3
Or if you don't... |
|
ejected |
General Coding Help |
20 |
20,527 |
Apr-04-2019, 02:49 PM |
|
|
Thread: How can I send a .mp3 to play through my mic?
Post: RE: Is this possible to make in Python?
(Apr-04-2019, 02:07 AM)Larz60+ Wrote: There are already packages that do this.
One of the more popular is gTTs: https://github.com/pndurette/gTTS
documentation here: https://gtts.readthedocs.io/en/l... |
|
ejected |
General Coding Help |
20 |
20,527 |
Apr-04-2019, 02:25 AM |
|
|
Thread: How can I send a .mp3 to play through my mic?
Post: Is this possible to make in Python?
Is it possible to make a text to speech program that outputs the speech through my mic? So I can use it over Discord/TeamSpeak/Game voice chat/ect
I would assume yes but can someone very briefly poin... |
|
ejected |
General Coding Help |
20 |
20,527 |
Apr-04-2019, 01:23 AM |
|
|
Thread: Why isnt this working? pip installs not working with cmd prompt?
Post: Why isnt this working? pip installs not working wi...
So I mainly use PyCharm and in PyCharm everything works fine when I pip install something but I'm trying to use my cmd prompt now and it isn't quite working as easily.
I try to pip install something ... |
|
ejected |
News and Discussions |
2 |
3,234 |
Apr-02-2019, 01:55 PM |
|
|
Thread: How do I center this text in tkinter?
Post: RE: How do I center this text in tkinter?
(Mar-29-2019, 05:57 PM)Larz60+ Wrote: This works with pack geometry
from tkinter import *
window = Tk()
window.title("List")
window.geometry("700x450")
window.configure(bg="orange red")
#center ... |
|
ejected |
GUI |
4 |
63,731 |
Mar-29-2019, 08:27 PM |
|
|
Thread: How do I center this text in tkinter?
Post: How do I center this text in tkinter?
from tkinter import *
window = Tk()
window.title("List")
window.geometry("700x450")
window.configure(bg="orange red")
#center this label
Label (window, text="List", bg="orange red", fg="white", font... |
|
ejected |
GUI |
4 |
63,731 |
Mar-29-2019, 04:37 PM |
|
|
Thread: Why wont this work?
Post: RE: Why wont this work?
It works in terminal but doesnt work in pycharm?... How do I get it to work in PyCharm? |
|
ejected |
General Coding Help |
2 |
3,245 |
Mar-29-2019, 01:30 AM |
|
|
Thread: Why wont this work?
Post: Why wont this work?
Microsoft Windows [Version 10.0.17134.648]
(c) 2018 Microsoft Corporation. All rights reserved.
(venv) C:\Users\Mario\PycharmProjects\New Project 1>pip3 install nmap
Requirement already satisfied:... |
|
ejected |
General Coding Help |
2 |
3,245 |
Mar-29-2019, 12:16 AM |
|
|
Thread: Interesting/Fun Scripts?
Post: Interesting/Fun Scripts?
Hey I just finished my first ever Python script. It was a web scraping script that required log in first. Did it in selenium with xpath.
What are some other fun/interesting scripts to make to learn p... |
|
ejected |
News and Discussions |
2 |
2,409 |
Mar-27-2019, 04:37 AM |
|
|
Thread: How do I use this? TypeError: 'NoneType' object does not support item assignment
Post: RE: How do I use this? TypeError: 'NoneType' objec...
Nvm found another way to do it. I used Selenium with XPATH to login.
Step 1 complete. :)
Now I gotta learn how to scrape it |
|
ejected |
General Coding Help |
9 |
22,412 |
Mar-26-2019, 05:06 AM |
|
|
Thread: Error when trying to use Selenium
Post: RE: Error when trying to use Selenium
Fixed it nvm.
I didnt have "\chromedriver.exe" at the end of my thing. Also ran pycharm as admin |
|
ejected |
Web Scraping & Web Development |
1 |
5,234 |
Mar-26-2019, 04:53 AM |