Re: Need help please

2023-04-10 Thread Thomas Passin
On 4/10/2023 9:59 AM, Jack Gilbert wrote: I D/L 3.11.3, I can see it in CMD running W10 64bit I have IDL on my desktop, HOW do I get 3.11.3 on my desktop? If you mean "How can I create a shortcut to Python 3.11.3 on my desktop that opens an interactive Python session", here is one way: 1.

Re: Need help please

2023-04-10 Thread Sravan Kumar Chitikesi
use where cmd to find out the path of the binary and create a shortcut to that file on desktop Regards, *Sravan Chitikesi* AWS Solutions Architect - Associate On Mon, Apr 10, 2023 at 10:03 AM Jack Gilbert <00jhen...@gmail.com> wrote: > I D/L 3.11.3, I can see it in CMD > > running W10 64bit > >

Need help please

2023-04-10 Thread Jack Gilbert
I D/L 3.11.3, I can see it in CMD running W10 64bit I have IDL on my desktop, HOW do I get 3.11.3 on my desktop? Thanks Jack g -- https://mail.python.org/mailman/listinfo/python-list

Re: stuck at this from so much time,need help....please ..

2013-11-23 Thread MRAB
On 23/11/2013 22:29, Bhanu Karthik wrote:> On Saturday, 23 November 2013 14:23:08 UTC-8, Chris Angelico wrote: >> On Sun, Nov 24, 2013 at 9:15 AM, Bhanu Karthik >> wrote: >> > data = sock.recv(RECV_BUFFER) >> > username = str(sock.getpeername()) >> >

Re: stuck at this from so much time,need help....please ..

2013-11-23 Thread Chris Angelico
On Sun, Nov 24, 2013 at 9:39 AM, Bhanu Karthik wrote: > indentation is correct when I trying to paste it here,it is showing like it > is unindented. That's because Google Groups mucks things up. Get a better client. ChrisA -- https://mail.python.org/mailman/listinfo/python-list

Re: stuck at this from so much time,need help....please ..

2013-11-23 Thread Bhanu Karthik
On Saturday, 23 November 2013 14:37:09 UTC-8, Roy Smith wrote: > In article <8445e47e-7efe-4f37-9b40-db2896d58...@googlegroups.com>, > > Bhanu Karthik wrote: > > > > > data = sock.recv(RECV_BUFFER) > > > username = str(sock.getpeername()) > > >

Re: stuck at this from so much time,need help....please ..

2013-11-23 Thread Chris Angelico
On Sun, Nov 24, 2013 at 9:33 AM, Bhanu Karthik wrote: > this is exact code.. > it is not even entering the if ... > I tried ( c= (data is '/quit')if c) > > when i print c ,its printing falseI dont understand what is > happening...please help.. Again, please get off Google Groups. Have a look

Re: stuck at this from so much time,need help....please ..

2013-11-23 Thread Roy Smith
In article <8445e47e-7efe-4f37-9b40-db2896d58...@googlegroups.com>, Bhanu Karthik wrote: > data = sock.recv(RECV_BUFFER) > username = str(sock.getpeername()) > username = usernames[username] > if data == "/quit"

Re: stuck at this from so much time,need help....please ..

2013-11-23 Thread Bhanu Karthik
On Saturday, 23 November 2013 14:23:08 UTC-8, Chris Angelico wrote: > On Sun, Nov 24, 2013 at 9:15 AM, Bhanu Karthik > > wrote: > > > data = sock.recv(RECV_BUFFER) > > > username = str(sock.getpeername()) > > > username = usernames[usern

Re: stuck at this from so much time,need help....please ..

2013-11-23 Thread Chris Angelico
On Sun, Nov 24, 2013 at 9:29 AM, Bhanu Karthik wrote: > sorry its not command its data > > I miss wrote it here... Okay. Start by copying and pasting your actual code, and saying what you're doing to trigger it. If this is a stream socket (eg TCP), you have no way of knowing where one read wi

Re: stuck at this from so much time,need help....please ..

2013-11-23 Thread Bhanu Karthik
On Saturday, 23 November 2013 14:23:08 UTC-8, Chris Angelico wrote: > On Sun, Nov 24, 2013 at 9:15 AM, Bhanu Karthik > > wrote: > > > data = sock.recv(RECV_BUFFER) > > > username = str(sock.getpeername()) > > > username = usernames[usern

Re: stuck at this from so much time,need help....please ..

2013-11-23 Thread Chris Angelico
On Sun, Nov 24, 2013 at 9:15 AM, Bhanu Karthik wrote: > data = sock.recv(RECV_BUFFER) > username = str(sock.getpeername()) > username = usernames[username] > if command == "/quit": >

stuck at this from so much time,need help....please ..

2013-11-23 Thread Bhanu Karthik
data = sock.recv(RECV_BUFFER) username = str(sock.getpeername()) username = usernames[username] if command == "/quit": print data sock.send("bye"

Re: Of Functions, Objects, and Methods-I NEED HELP PLEASE

2011-06-09 Thread Larry Hudson
On 06/08/2011 11:59 PM, Larry Hudson wrote: On 06/08/2011 01:09 PM, Cathy James wrote: I am almost there, but I need a little help: I would like to ... Here's one possible replacement. There are many other approaches as well. (This leaves the individual dogs as a (name, breed) tuple. It co

Re: Of Functions, Objects, and Methods-I NEED HELP PLEASE

2011-06-09 Thread Ethan Furman
Ethan Furman wrote: Larry Hudson wrote: On 06/08/2011 01:09 PM, Cathy James wrote: Dog Breed: ")) while not dogs: print("Goodbye!!") sys.exit() else: else does not belong with while. else works just fine with while; it is the path taken when the while is exhaust

Re: Of Functions, Objects, and Methods-I NEED HELP PLEASE

2011-06-09 Thread Ethan Furman
Larry Hudson wrote: On 06/08/2011 01:09 PM, Cathy James wrote: Dog Breed: ")) while not dogs: print("Goodbye!!") sys.exit() else: else does not belong with while. else works just fine with while; it is the path taken when the while is exhausted, but not broken ou

Re: Of Functions, Objects, and Methods-I NEED HELP PLEASE

2011-06-09 Thread Larry Hudson
On 06/08/2011 01:09 PM, Cathy James wrote: I am almost there, but I need a little help: I would like to a) print my dogs in the format index. name: breed as follows: 0. Mimi:Poodle 1.Sunny: Beagle 2. Bunny: German Shepard I am getting (0, ('Mimi', 'Poodle')) . Mimi : Poodle instead-what have

Re: Of Functions, Objects, and Methods-I NEED HELP PLEASE

2011-06-08 Thread John Gordon
In Cathy James writes: > b) I would like to append to my list, but my line dogs.dogAppend() is > giving a TypeError: > for i in enumerate (self.dogAppend()): > TypeError: 'list' object is not callable > def dogAppend(self): > self.dogAppend = [] You have a method and a list that

Re: Of Functions, Objects, and Methods-I NEED HELP PLEASE

2011-06-08 Thread Benjamin Kaplan
On Wed, Jun 8, 2011 at 1:09 PM, Cathy James wrote: > I am almost there, but I need a little help: > > I would like to > > a) print my dogs in the format  index. name: breed as follows: > > 0. Mimi:Poodle > 1.Sunny: Beagle > 2. Bunny: German Shepard > I am getting > > (0, ('Mimi', 'Poodle')) . Mimi

Re: Of Functions, Objects, and Methods-I NEED HELP PLEASE

2011-06-08 Thread Ethan Furman
Cathy James wrote: I am almost there, but I need a little help: I would like to a) print my dogs in the format index. name: breed as follows: 0. Mimi:Poodle 1.Sunny: Beagle 2. Bunny: German Shepard I am getting (0, ('Mimi', 'Poodle')) . Mimi : Poodle instead-what have I done wrong? b) I wou

Of Functions, Objects, and Methods-I NEED HELP PLEASE

2011-06-08 Thread Cathy James
I am almost there, but I need a little help: I would like to a) print my dogs in the format index. name: breed as follows: 0. Mimi:Poodle 1.Sunny: Beagle 2. Bunny: German Shepard I am getting (0, ('Mimi', 'Poodle')) . Mimi : Poodle instead-what have I done wrong? b) I would like to append to