Hi, I have a small script that runs a TCP server. A client connects to
this server and transmits a stored file line-by-line, and then waits
for a confirmation "done". However, when I run them the first loop
never really ends -- as the TCP server keeps expecting more data. I am
using a file-like-obj
I would like to create a python program for converting speech to text. I
am not getting the best results by using google API , SpeechRecognition
class.
Anybody please provide the best way possible to do this.
I have attached the program i used.
--
https://mail.python.org/mailman/listinfo/python
You could write the name of the class variable you want to import for example
class manager
On December 10, 2019, at 2:46 AM, Dennis Lee Bieber
wrote:
On Mon, 9 Dec 2019 20:21:39 +0100, "R.Wieser"
declaimed the following:
>
>And than when the instance is deleted the binding to the class is
Hi guys. I am basically transferring the data from PLC to PC (where the Python
API runs) but I'm unable to insert into MongoDB thereafter. When I run the
Python script on IDLE, the output is
Hello World!
Traceback (most recent call last): File "C:\Users\SRA2LO\Desktop\API.py", line
32, in s.bi
Hello,
I changed
PORT = 27017
to
PORT = 5.
I am not getting the error anymore. But I am still unable to insert the data
into MongoDB.
On Thursday, February 11, 2016 at 4:12:30 PM UTC+1, Arjun Srivatsa wrote:
> Hi guys. I am basically transferring the data from PLC to
e error(EBADF, 'Bad file descriptor')
error: [Errno 9] Bad file descriptor
On Thursday, February 11, 2016 at 5:09:53 PM UTC+1, MRAB wrote:
> On 2016-02-11 15:12, Arjun Srivatsa wrote:
> > Hi guys. I am basically transferring the data from PLC to PC (where the
> > Python API
bine these both and get the desired output.
On Monday, February 15, 2016 at 12:37:02 PM UTC+1, Peter Otten wrote:
> Arjun Srivatsa wrote:
>
> > I changed the port number from 27017 to 5 in the code segment:
>
> Instead of throwing arbitrary changes at your script in the hope
Okay,
I added
with open('yourfile','w') as f:
f.write(data)
to the read_server code in which the Actual data is stored in a file on my
desktop. Then, it must be possible to read this file in the Write_db script to
insert the data.
On Monday, February 15, 2016 at 4:0
Thanks a lot. Will implement that. Although I am able to do using just 2
scripts as well.
On Monday, February 15, 2016 at 5:34:08 PM UTC+1, Peter Otten wrote:
> Arjun Srivatsa wrote:
>
> > Hi Peter.
> >
> > Thank you for the reply.
> >
> > This is the read
Python
3.5.1 (v3.5.1:37a07cee5969), i have also tried using python 2.7 but the
errors were same.
Please help me to rectify this problem. Thanks in advance.
--
*Yours faithfully*
*ARJUN PRATHAP*
--
https://mail.python.org/mailman/listinfo/python-list
For thr program,
#include "E:\Python25\include\Python.h"
#include
int main(int argc, char* argv[]){
Py_Initialise();
Py_Finalise();
return 0;
}
I get the errors,
main.cpp:7: `Py_Initialise' undeclared (first use this function)
main.cpp:7: (Each undeclared identifier is reported only on
On May 20, 1:28 am, "Gabriel Genellina" <[EMAIL PROTECTED]>
wrote:
> En Sat, 19 May 2007 13:14:40 -0300, Arjun Narayanan
> <[EMAIL PROTECTED]> escribió:
>
> > For thr program,
> > #include "E:\Python25\include\Python.h"
> > #include
>
cff.close()
sfp.close()
s.close()
The execution sends all the lines (and prints out the len(line) ) and then
stays waiting. THen when I manually terminate the client script, the server
script happily types the "DONE!" output.
Where is this protocol hanging up?
connection
for it to actually occur completely!
My client waits after the "done sending" line indefinitely. Weird.
A
On Mon, Mar 1, 2010 at 16:35, Arjun Chennu wrote:
> Thanks for the feedback.
>
> Opening a separate file-obj for writing and for reading is just what I'
RE U WANT RUSSIAN GIRL FRIENDS...
WEBPAGE ---> http://123maza.com/hashan/
--
http://mail.python.org/mailman/listinfo/python-list
Thank you, Eryk Sun.
On Mar 26, 2017 12:40 PM, "eryk sun" wrote:
> On Sun, Mar 26, 2017 at 4:01 AM, arjun.janah
> wrote:
> >
> > I ran the file and it appeared to install properly. But when I tried to
> run Python from
> > the Windows All Programs menu tab, I got the following message, in a
> s
16 matches
Mail list logo