[Tutor] Not sure why the code is giving weird result?

2016-01-09 Thread Whom Isac
Hi, today I tried to help with one of the request in Python tutor about trailing zeros -6days old. I don't know why my code is incrementing in number. Here is the code: def factorial(): print("Here you will put your factorial") factVar=int(input("Please input what number to be factorial: \

[Tutor] Creating a webcrawler

2016-01-09 Thread Whom Isac
Hi I want to create a web-crawler but dont have any lead to choose any module. I have came across the Jsoup but I am not familiar with how to use it in 3.5 as I tried looking at a similar web crawler codes from 3.4 dev version. I just want to build that crawler to crawl through a javascript enable

Re: [Tutor] Not sure why the code is giving weird result?

2016-01-09 Thread Peter Otten
Whom Isac wrote: > Hi, today I tried to help with one of the request in Python tutor about > trailing zeros -6days old. > I don't know why my code is incrementing in number. > Here is the code: > > def factorial(): > print("Here you will put your factorial") > factVar=int(input("Please in

Re: [Tutor] idle??

2016-01-09 Thread Chris Warrick
On 8 January 2016 at 20:07, bruce wrote: > Hey guys/gals - list readers > > Recently came across someone here mentioning IDLE!! -- not knowing > this. I hit google for a look. > > Is IDLE essentially an ide for doing py dev? I see there's a > windows/linux (rpms) for it. > > I'm running py.. I nor

[Tutor] Some error that you may find funny but I can't fix.

2016-01-09 Thread Lawrence Lorenzo
Hey, I am very new to the ways of python and am currently experiencing this error. This program is just a novice project set by my school to create an adventure game however I am having issues with being able to set skill points (500) to the users desired skills. Here is what I have done and

Re: [Tutor] Some error that you may find funny but I can't fix.

2016-01-09 Thread Steven D'Aprano
Hi Lawrence, and welcome! On Sat, Jan 09, 2016 at 01:17:55PM +, Lawrence Lorenzo wrote: > > Hey, I am very new to the ways of python and am currently experiencing > this error. This program is just a novice project set by my school to > create an adventure game however I am having issues w

Re: [Tutor] Creating a webcrawler

2016-01-09 Thread Alan Gauld
On 09/01/16 02:01, Whom Isac wrote: > Hi I want to create a web-crawler but dont have any lead to choose any > module. I have came across the Jsoup but I am not familiar with how to use > it in 3.5 as I tried looking at a similar web crawler codes from 3.4 dev > version. I don't know Jsoup and hav

Re: [Tutor] Not sure why the code is giving weird result?

2016-01-09 Thread Steven D'Aprano
On Sat, Jan 09, 2016 at 11:56:09AM +1000, Whom Isac wrote: "Not sure why the code is giving weird result?" Neither are we. What do you mean "weird results"? Which code did you run? (You give two versions.) What result did you expect, and what result did you get? But I can see one horrible mis

Re: [Tutor] Creating a webcrawler

2016-01-09 Thread Steven D'Aprano
On Sat, Jan 09, 2016 at 12:01:35PM +1000, Whom Isac wrote: > Hi I want to create a web-crawler but dont have any lead to choose any > module. I have came across the Jsoup but I am not familiar with how to use > it in 3.5 as I tried looking at a similar web crawler codes from 3.4 dev > version. > I

Re: [Tutor] Creating a webcrawler

2016-01-09 Thread bruce
Hi Isac. I'm not going to get into the pythonic stuff.. People on the list are way better than I. I've been doing a chunk of crawling, it's not too bad, depending on what you're trying to accomplish and the site you're targeting. So, no offense, but I'm going to treat you like a 6 year old (goog

Re: [Tutor] get aws path from argParser

2016-01-09 Thread ashish makani
+1 to what Alan said. Its not clear what you are asking & if you are asking something at all. ( to me, it seems like you are answering someone's query & accidentally posted here on the python tutor mailing list) sent from mobile device ; excuse typos & auto-correct errors On Jan 9, 2016 00:17, "

[Tutor] Hi Tutor

2016-01-09 Thread yehudak .
I wrote this short program for my grandson: from random import sample soups = ['Onion soup', 'Veggie soup', 'Chicken soup', 'Corn soup'] salads = ['Veggie', 'Onion', 'Cabbage', 'Lettuce', 'Caesar', 'Tomato'] main = ['Crab cake', 'Catfish', 'Ribs', 'Chopped liver', 'Meat balls'] beverage = ['Wine'

[Tutor] Printing a list without square brackets, was Re: Hi Tutor

2016-01-09 Thread Peter Otten
yehudak . wrote: > I wrote this short program for my grandson: Nothing against a little help here and there, but solving a problem can be fun, and you are taking away some of that fun. Does your grandson speak English? You might encourage him to post here himself. We bite, but only grandpas ;

Re: [Tutor] Hi Tutor

2016-01-09 Thread Martin A. Brown
>I wrote this short program for my grandson: > >from random import sample > >soups = ['Onion soup', 'Veggie soup', 'Chicken soup', 'Corn soup'] >salads = ['Veggie', 'Onion', 'Cabbage', 'Lettuce', 'Caesar', 'Tomato'] >main = ['Crab cake', 'Catfish', 'Ribs', 'Chopped liver', 'Meat balls'] >beverage

Re: [Tutor] Some error that you may find funny but I can't fix.

2016-01-09 Thread Lawrence Lorenzo
From: mcshiz...@hotmail.co.uk To: tutor@python.org Subject: Some error that you may find funny but I can't fix. Date: Sat, 9 Jan 2016 13:17:55 + Hey, I am very new to the ways of python and am currently experiencing this error. This program is just a novice project set by my school to

[Tutor] Python error that you may find funny but I don't get. :)

2016-01-09 Thread Lawrence Lorenzo
Hey, I am very new to the ways of python and am currently experiencing this error. This program is just a novice project set by my school to create an adventure game however I am having issues with being able to set skill points (500) to the users desired skills. Here is what I have done and the

[Tutor] PLEASE I NEED HELP URGENTLY

2016-01-09 Thread precious akams via Tutor
PLEASE I NEED A LITTLE HELP . I can figure out what Iam missing in this project Create a class called BankAccount .Create a constructor that takes in an integer and assigns this to a `balance` property. .Create a method called `deposit` that takes in cash deposit amount and updates the balance a

Re: [Tutor] PLEASE I NEED HELP URGENTLY

2016-01-09 Thread David Rock
* precious akams via Tutor [2016-01-09 19:54]: > PLEASE I NEED A LITTLE HELP . > I can figure out what Iam missing in this project > > Create a class called BankAccount > .Create a constructor that takes in an integer and assigns this to a > `balance` property. > .Create a method called `deposit

Re: [Tutor] PLEASE I NEED HELP URGENTLY

2016-01-09 Thread Alan Gauld
On 09/01/16 19:54, precious akams via Tutor wrote: > PLEASE I NEED A LITTLE HELP . > I can figure out what Iam missing in this project > Please post in plain text otherwise the code formatting gets messed up. > class BankAccount: > def_init_(self, initial_amount): > self.balance=initial_amount

Re: [Tutor] Some error that you may find funny but I can't fix.

2016-01-09 Thread Alan Gauld
On 09/01/16 19:49, Lawrence Lorenzo wrote: > Hey, I am very new to the ways of python and am currently experiencing this > error. This program is just a novice project set by my school to create an > adventure game however I am having issues with being able to set skill points > (500) to the us

Re: [Tutor] PLEASE I NEED HELP URGENTLY

2016-01-09 Thread Sefa Yıldız
2016-01-09 21:54 GMT+02:00 precious akams via Tutor : > PLEASE I NEED A LITTLE HELP . http://www.catb.org/esr/faqs/smart-questions.html -- sayz ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.o