Re: [Tutor] Help with error in paramiko

2016-07-24 Thread Alan Gauld via Tutor
On 23/07/16 09:12, José de Jesus Marquez Rangel wrote: > Hello. > > I have a problem because when I connect to the remote server via SSH gives > me an error with paramiko library, but I connect to the same server with > programs like putty, ssh and another there is no error. > > Here the screensh

[Tutor] Help with error in paramiko

2016-07-24 Thread José de Jesus Marquez Rangel
Hello. I have a problem because when I connect to the remote server via SSH gives me an error with paramiko library, but I connect to the same server with programs like putty, ssh and another there is no error. Here the screenshot: *Script.* [image: Imágenes integradas 1] *the result of run* [i

Re: [Tutor] Help with error

2016-02-02 Thread Alan Gauld
On 02/02/16 15:37, Chelsea G wrote: > 'issues' and output those results into a text file. I just need some help > with figuring out how to fix the error I am receiving. Joel has already pointed out the indentation error in your class. However there is another problem... but possibly not with you

[Tutor] Help with error

2016-02-02 Thread Chelsea G
Hi, When I run my code I am getting an error it says "Attribute Error: Dictionary instance has no attribute 'search'. So the whole idea for my code is to input a csv file and output results that we want. This specific piece of code def search is to search the csv file for any keyword like 'issues'

Re: [Tutor] Help with error

2016-02-02 Thread Joel Goldstick
First, Please try to be more creative with your message subject line. Help, isn't -- helpfull Second. Don't paraphrase the error, copy it from your actual terminal screen and paste it here. See below On Tue, Feb 2, 2016 at 10:37 AM, Chelsea G wrote: > Hi, > When I run my code I am getting an

Re: [Tutor] Help with error in ski game

2011-11-20 Thread Steven D'Aprano
Chloe Beck wrote: Traceback (most recent call last): File "/Users/Chloe/Documents/SKI SKI/ski ski ski", line 99, in skier.move(speed) File "/Users/Chloe/Documents/SKI SKI/ski ski ski", line 28, in move if self.rect.centerx < 20: self.rect.centrex = 20 AttributeError: 'pygame.Rect'

Re: [Tutor] Help with error in ski game

2011-11-20 Thread bodsda
Just a guess but take a look at the spelling. centerx Or centrex Bodsda Sent from my BlackBerry® wireless device -Original Message- From: Chloe Beck Sender: tutor-bounces+bodsda=googlemail@python.org Date: Sun, 20 Nov 2011 11:58:25 To: Subject: [Tutor] Help with error in ski game

[Tutor] Help with error in ski game

2011-11-20 Thread Chloe Beck
Hi, I've just begun trying to teach myself how to program with Python. I'm currently working through the book 'Hello World, Computer programming for kids and other beginners' and am stuck on one of the exercises. The exercise is a take on the SkiFree game. The error message I get is as follow

Re: [Tutor] Help with error handling in a while loop

2005-02-18 Thread Mike Bell
I haven't tried the code, but it looks like you need to increment on connection failures, too. I think it's more pythonic to iterate over a range, as in the following for test_port in range(start_port, end_port) but it would suffice to just move the start_port+=1 outside of the try _

[Tutor] Help with error handling in a while loop

2005-02-18 Thread Mark Kels
Hi all. I'm trying to build a simple port scanner (just to learn sockets). here is the code (doesn't work) : import socket sk=socket.socket(socket.AF_INET, socket.SOCK_STREAM) host=raw_input("Enter name of host to scan: ") start_port=input("Enter the start port: ") end_port=input("Enter the end por