Re: Please help me

2019-08-06 Thread Brian Oney via Python-list
On Mon, 2019-08-05 at 21:10 +0430, arash kohansal wrote: > Hello ive just installed python on my pc and ive already check the > path > choice part but microsoft visual code can not find it and it does not > have > the reload item Check out: https://code.visualstudio.com/docs/languages/python or

Re: Please help me

2019-08-05 Thread MRAB
On 2019-08-05 17:40, arash kohansal wrote: Hello ive just installed python on my pc and ive already check the path choice part but microsoft visual code can not find it and it does not have the reload item 1. Open Visual Studio Code. 2. Press F1, type "Python: Select Interpreter", and then pre

RE: please help me to debud my local chat network program

2012-11-30 Thread Prasad, Ramit
Minh Dang wrote: > > can anyone help me? Chris Angelico has given you some good comments which should give you a direction to investigate. This list is a global list and you seem a tad impatient. It is normal to hear back from a few hours to a day or two. Even if I wanted to help, without cont

Re: please help me to debud my local chat network program

2012-11-29 Thread Chris Angelico
On Thu, Nov 29, 2012 at 8:03 PM, Minh Dang wrote: > can anyone help me? Look over my previous posts. I've made several suggestions that you haven't followed up on. Also, check out ESR's article on asking questions, which I also linked you to earlier. Take its advice. You'll help yourself, AND it

Re: please help me to debud my local chat network program

2012-11-29 Thread Minh Dang
can anyone help me? -- http://mail.python.org/mailman/listinfo/python-list

Re: please help me to debud my local chat network program

2012-11-28 Thread Minh Dang
ok, here is my code, zip http://www.mediafire.com/?ob4kokda81fj6xc -- http://mail.python.org/mailman/listinfo/python-list

Re: please help me to debud my local chat network program

2012-11-28 Thread Jorgen Grahn
On Wed, 2012-11-28, Chris Angelico wrote: > On Wed, Nov 28, 2012 at 1:50 PM, Minh Dang wrote: >> Hello everybody, i am doing my project: local network chat using python >> here is my file >> http://www.mediafire.com/?cc2g9tmsju0ba2m > > Hmm. Might I recommend some other means of sharing your code?

Re: please help me to debud my local chat network program

2012-11-28 Thread Minh Dang
there are still these 2 problems and i don't know how to solve it -- http://mail.python.org/mailman/listinfo/python-list

Re: please help me to debud my local chat network program

2012-11-28 Thread Chris Angelico
On Thu, Nov 29, 2012 at 1:10 AM, Minh Dang wrote: > File "C:\Users\MINH_IT\workspace\project\src\project\client.py", line 60, > in main > rQueue, wQueue, xQueue = select.select(inputs, [], []) > OSError: [WinError 10038] An operation was attempted on something that is not > a socket Have

Re: please help me to debud my local chat network program

2012-11-28 Thread Minh Dang
yes, it's run but appear: in server: Server is ready. Accepted connection from ('127.0.0.1', 5000) End connection from ('127.0.0.1', 5000) after connected, server close. in client: Connected to server at 127.0.0.1 : 4000 Traceback (most recent call last): File "C:\Users\MINH_IT\workspace\proje

Re: please help me to debud my local chat network program

2012-11-28 Thread Chris Angelico
On Wed, Nov 28, 2012 at 10:57 PM, Minh Dang wrote: > please help me, after changing broadcast, there are 2 bugs: > if __name__ == "__main__": > sys.exit(main()) > and > > rQueue, wQueue, xQueue = select.select(inputs, [], []) > please help me By "bug", I'm guessing you mean one of two things:

Re: please help me to debud my local chat network program

2012-11-28 Thread Minh Dang
please help me, after changing broadcast, there are 2 bugs: if __name__ == "__main__": sys.exit(main()) and rQueue, wQueue, xQueue = select.select(inputs, [], []) please help me -- http://mail.python.org/mailman/listinfo/python-list

Re: please help me to debud my local chat network program

2012-11-28 Thread Minh Dang
yes, still have 2 bugs: sys.exit(main()) rQueue, wQueue, xQueue = select.select(inputs, [], []) -- http://mail.python.org/mailman/listinfo/python-list

Re: please help me to debud my local chat network program

2012-11-28 Thread Chris Angelico
On Wed, Nov 28, 2012 at 10:10 PM, Minh Dang wrote: > ok, in client.py, i change broadcastIP = "broadcast" to broadcastIP = > "127.0.0.1" but there are some bugs I doubt that that will work either. And you may need to be a little clearer on what you mean by "there are some bugs" - is it doing wha

Re: please help me to debud my local chat network program

2012-11-28 Thread Minh Dang
ok, in client.py, i change broadcastIP = "broadcast" to broadcastIP = "127.0.0.1",it's ok, but there are some bugs sys.exit(main()) rQueue, wQueue, xQueue = select.select(inputs, [], []) -- http://mail.python.org/mailman/listinfo/python-list

Re: please help me to debud my local chat network program

2012-11-28 Thread Chris Angelico
On Wed, Nov 28, 2012 at 9:52 PM, Minh Dang wrote: > but, how can I fix it? I can't say that for sure, but did you read the bit at the end of my last post beginning "I think you probably want"? Try doing that, see what happens. ChrisA -- http://mail.python.org/mailman/listinfo/python-list

Re: please help me to debud my local chat network program

2012-11-28 Thread Minh Dang
ok, in client.py, i change broadcastIP = "broadcast" to broadcastIP = "127.0.0.1" but there are some bugs sys.exit(main()) rQueue, wQueue, xQueue = select.select(inputs, [], []) -- http://mail.python.org/mailman/listinfo/python-list

Re: please help me to debud my local chat network program

2012-11-28 Thread Minh Dang
but, how can I fix it? -- http://mail.python.org/mailman/listinfo/python-list

Re: please help me to debud my local chat network program

2012-11-27 Thread Chris Angelico
On Wed, Nov 28, 2012 at 4:47 PM, Minh Dang wrote: > ok, here is my code, zip > http://www.mediafire.com/?ob4kokda81fj6xc Thanks! That's a distinct improvement :) That code doesn't exactly match the traceback, though; there's client.py not pclient.py and the line numbers don't match. So I have to

Re: please help me to debud my local chat network program

2012-11-27 Thread Minh Dang
ok, here is my code, zip http://www.mediafire.com/?ob4kokda81fj6xc -- http://mail.python.org/mailman/listinfo/python-list

Re: please help me to debud my local chat network program

2012-11-27 Thread Chris Angelico
On Wed, Nov 28, 2012 at 1:50 PM, Minh Dang wrote: > Hello everybody, i am doing my project: local network chat using python > here is my file > http://www.mediafire.com/?cc2g9tmsju0ba2m Hmm. Might I recommend some other means of sharing your code? The unrar-free utility from the Debian repo won't

Re: please help me to debud my local chat network program

2012-11-27 Thread Terry Reedy
On 11/27/2012 9:50 PM, Minh Dang wrote: Hello everybody, i am doing my project: local network chat using python here is my file http://www.mediafire.com/?cc2g9tmsju0ba2m I am not familiar with .rar files and whether I can open them. Better to upload a standard .zip. when i compile client.py

Re: Please help me grok: webserver > python

2009-04-22 Thread bobicanprogram
On Apr 21, 3:20 pm, Phillip B Oldham wrote: > I'm having trouble grok'ing how to get python talking through a > webserver. I've got a lot of experience working with nginx+php-fcgi > (via a unix socket) and I'd like to know what would be the bare > minimum to get python talking in the same way. > >

Re: Please help me finding a way to implement os.path.issubpath(a, b)

2008-09-12 Thread Giampaolo Rodola'
On Sep 11, 8:04 pm, Arnaud Delobelle <[EMAIL PROTECTED]> wrote: > On Sep 11, 5:40 pm, "Giampaolo Rodola'" <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > I'm trying to implement a function which returns whether a path is a > > subpath of another one (e.g. /a/b/c is a subpath of /a/b). > > I wrote this

Re: PLEASE HELP ME WITH THIS ASSIGNMENT...PLEASE....

2008-09-12 Thread Bruno Desthuilliers
Daniel Fetchinson a écrit : Thanking you, Ms. Vaidehi Pawar How much do you pay? How much do you ask for cheers Ms. Vaidehi I was just kidding. But if you seriously need people to do this kind of job it's better to post the amount you are willing to pay otherwise nobody will take it

Re: PLEASE HELP ME WITH THIS ASSIGNMENT...PLEASE....

2008-09-12 Thread Almar Klein
> > I find it impossible to take anyone asking others to do their school > work for them seriously no matter how or what they are willing to pay. > Exactly, and writing the subject of the post in all capitals doesn't help either... Almar -- http://mail.python.org/mailman/listinfo/python-list

Re: PLEASE HELP ME WITH THIS ASSIGNMENT...PLEASE....

2008-09-11 Thread Timothy Grant
On Thu, Sep 11, 2008 at 12:02 PM, Daniel Fetchinson <[EMAIL PROTECTED]> wrote: > > >>> Thanking you, >>> >>> Ms. Vaidehi Pawar >> >> How much do you pay? >> >>> How much do you ask for >>> >>> cheers >>> Ms. Vaidehi > > I was just kidding. But if you seriously need people to do this kind > of

Re: PLEASE HELP ME WITH THIS ASSIGNMENT...PLEASE....

2008-09-11 Thread Daniel Fetchinson
>> Thanking you, >> >> Ms. Vaidehi Pawar > > How much do you pay? > >> How much do you ask for >> >> cheers >> Ms. Vaidehi I was just kidding. But if you seriously need people to do this kind of job it's better to post the amount you are willing to pay otherwise nobody will take it seriously

Re: Please help me finding a way to implement os.path.issubpath(a, b)

2008-09-11 Thread Fredrik Lundh
Diez B. Roggisch wrote: Any reason why os.path.normpath(a).startswith(os.normpath(b)) doesn't do the trick? Except for the trivial type, you mean? That depends on whether "c:\foo" should be seen as a subpath to "c:\foobar" or not. I'd probably go for (also untested): def issubpath(a, b)

Re: Please help me finding a way to implement os.path.issubpath(a, b)

2008-09-11 Thread Diez B. Roggisch
Giampaolo Rodola' schrieb: Hi, I'm trying to implement a function which returns whether a path is a subpath of another one (e.g. /a/b/c is a subpath of /a/b). I wrote this function which apparently seems to work fine: import os def issubpath(path1, path2): """Return True if path1 is a sub p

Re: Please help me finding a way to implement os.path.issubpath(a, b)

2008-09-11 Thread Arnaud Delobelle
On Sep 11, 5:40 pm, "Giampaolo Rodola'" <[EMAIL PROTECTED]> wrote: > Hi, > I'm trying to implement a function which returns whether a path is a > subpath of another one (e.g. /a/b/c is a subpath of /a/b). > I wrote this function which apparently seems to work fine: > > import os > > def issubpath(p

Re: PLEASE HELP ME WITH THIS ASSIGNMENT...PLEASE....

2008-09-10 Thread Sean DiZazzo
On Sep 10, 3:33 pm, "Daniel Fetchinson" <[EMAIL PROTECTED]> wrote: > > I know I'm to late to ask you for helpbut please help me out..I > > am really new to unix and dont know how to finish this assignment on > > time.proff. said he will be using MOSS to detect whether I > > downloaded t

Re: PLEASE HELP ME WITH THIS ASSIGNMENT...PLEASE....

2008-09-10 Thread Daniel Fetchinson
> I know I'm to late to ask you for helpbut please help me out..I > am really new to unix and dont know how to finish this assignment on > time.proff. said he will be using MOSS to detect whether I > downloaded the code..please help me.. > > email me : [EMAIL PROTECTED] > > Assignment 1

Re: Please help me with linking libraries on Solaris 10 sparc

2008-05-01 Thread idev
On May 1, 11:41 am, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > > Martin, could you please tell me how to do this, I am pretty new in > > Solaris. > > It's fairly complicated, so I'm not sure I can give you the full > tutorial in a Usenet message. > > In essence, you need to spot the linker line

Re: Please help me with linking libraries on Solaris 10 sparc

2008-05-01 Thread Martin v. Löwis
> Martin, could you please tell me how to do this, I am pretty new in > Solaris. It's fairly complicated, so I'm not sure I can give you the full tutorial in a Usenet message. In essence, you need to spot the linker line in the build process, (e.g. by the -o option to the compiler), and add -lm t

Re: Please help me with linking libraries on Solaris 10 sparc

2008-05-01 Thread idev
On May 1, 10:30 am, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > > lib/python/site-packages/psycopg2/_psycopg.so: symbol round: > > referenced symbol not found > > You need to link _psycopg.so with the math library, -lm. > > Regards, > Martin Martin, could you please tell me how to do this, I am

Re: Please help me with linking libraries on Solaris 10 sparc

2008-05-01 Thread idev
On May 1, 10:17 am, Ralf Schönian <[EMAIL PROTECTED]> wrote: > idev schrieb: > > > > > Hi all, > > Please help me with my stuff. > > > I downloaded python 2.5.1 package fromhttp://blastwave.orgit was > > compiled using Sun Studio 11 for Solaris 8 sparc. > > > My system is Solaris 10 sparc and I com

Re: Please help me with linking libraries on Solaris 10 sparc

2008-05-01 Thread Martin v. Löwis
> lib/python/site-packages/psycopg2/_psycopg.so: symbol round: > referenced symbol not found You need to link _psycopg.so with the math library, -lm. Regards, Martin -- http://mail.python.org/mailman/listinfo/python-list

Re: Please help me with linking libraries on Solaris 10 sparc

2008-05-01 Thread Ralf Schönian
idev schrieb: Hi all, Please help me with my stuff. I downloaded python 2.5.1 package from http://blastwave.org it was compiled using Sun Studio 11 for Solaris 8 sparc. My system is Solaris 10 sparc and I compiled using SunStudio 11 psycopg2 python binding for PostgreSQL 8.3.1. Compilation was

Re: Please Help me

2007-10-06 Thread Hendrik van Rooyen
Jean-Francois Canac wrote: 8< -- duplicate request --- see other answer. - Hendrik -- http://mail.python.org/mailman/listinfo/python-list

Re: please help me choose a proper gui library.

2006-11-18 Thread krishnakant Mane
On 18 Nov 2006 12:40:57 -0800, sturlamolden <[EMAIL PROTECTED]> wrote: > It's a matter of taste. I would recommend PyGTK (yes it runs on > Windows). You can design the GUI in a fly with GLADE, and import it as > an XML resource in Python with one single line of code. I also have to consider the iss

Re: please help me choose a proper gui library.

2006-11-18 Thread Phil Thompson
On Saturday 18 November 2006 6:22 pm, krishnakant Mane wrote: > On 18/11/06, Phil Thompson <[EMAIL PROTECTED]> wrote: > > You have to install Qt first. You only need to install the run-time > > elements (ie. the DLLs) on the client's machine. Unless your application > > is licensed under the GPL (a

Re: please help me choose a proper gui library.

2006-11-18 Thread sturlamolden
krishnakant Mane wrote: > now My question is which gui toolkit should I choose? It's a matter of taste. I would recommend PyGTK (yes it runs on Windows). You can design the GUI in a fly with GLADE, and import it as an XML resource in Python with one single line of code. It will save you an awful

Re: please help me choose a proper gui library.

2006-11-18 Thread krishnakant Mane
On 18/11/06, Phil Thompson <[EMAIL PROTECTED]> wrote: > You have to install Qt first. You only need to install the run-time elements > (ie. the DLLs) on the client's machine. Unless your application is licensed > under the GPL (and you are using the GPL version of Qt and PyQt) then there > are com

Re: please help me choose a proper gui library.

2006-11-18 Thread Phil Thompson
On Saturday 18 November 2006 5:44 pm, krishnakant Mane wrote: > hello all. > after finishing a project in record time using python we have taken up > one more project. > this time however, we need to do a gui based project which will run > on windows xp and 2000. > now My question is which gui too

Re: please help me is sms with python

2006-05-15 Thread Paul Boddie
Diez B. Roggisch wrote: > > Attach a Mobile to your computer using USB/Bluetooth, open it with a > terminal program and use these AT-commands. > > http://www.cellular.co.za/hayesat.htm#SMS Command Set > > You can do that in python too, by opening the COM-port the handset is > attached to and issuin

Re: please help me is sms with python

2006-05-15 Thread [EMAIL PROTECTED]
Yet another option: Use Python high level API for Symbian (http://opensource.nokia.com/projects/pythonfors60/) to write simple server which listen to desktop client (both in Python). Server (phone side): accept requests, send SMS using mobile phone capability Client (desktop): send requests, speci

Re: please help me is sms with python

2006-05-15 Thread [EMAIL PROTECTED]
Yet another option: Use web-service provided by your mobile operator (by means of cookielib, urllib2, etc). -- http://mail.python.org/mailman/listinfo/python-list

Re: please help me is sms with python

2006-05-15 Thread Diez B. Roggisch
huda ahmed wrote: > hi > please i need your help . > > how can i send sms from pc(windows xp) > to mobile symbian 60 6630 by python > > i need your help please > i hope you answer me as fast as u can > > thanks in advance.. Attach a Mobile to your computer using USB/Bluetooth, ope

Re: Please help me to resolve this issue

2006-03-27 Thread Dave Mandelin
Yanping Zhang wrote: > Hello everyone, > > I am pretty new in python. Please give me any idea about > this issue: > > There is a function like this in my c dll: > > typedef void (WINAPI *myCallBack) (unsigned int myarg1, unsigned int myarg2) > > bool myfunc(myCallBack mycall) > > > In my python co

Re: Please help me understand this code....

2005-06-17 Thread Jordan Rastrick
The : is used in Python for slice notation, which is explained pretty thoroughly in the Python tutorial, specifically at: http://www.python.org/doc/2.4/tut/node5.html -- http://mail.python.org/mailman/listinfo/python-list