Re: [Tutor] Need help on How to Think Like a Computer Scientist: Learning with Python.

2007-08-15 Thread Amadeo Bellotti
I don't know of any answer list but one you can ask for help here or what I do when I have a question i stop working on it for anywhere from an hour to a week and go back to it you will solve it if you solve it in your sleep well thats a whole other issue but that does happen. -Amadeo On

Re: [Tutor] Online Rock Paper Sizzors

2007-06-22 Thread Amadeo Bellotti
thank you very much ill start on it right away its just going to be a text based game client cause i want it to work on my old computer Pentium 1 On 6/22/07, Alan Gauld [EMAIL PROTECTED] wrote: From: Amadeo Bellotti [EMAIL PROTECTED] no this isn't a home work assignment. Ok, Just checking

[Tutor] Online Rock Paper Sizzors

2007-06-21 Thread Amadeo Bellotti
any body know where i start with this I want to be able to enter user names and keep score for the persons wins and loses anybody know how i can do this? ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] Converting a string to a list with each character as an item

2007-01-11 Thread Amadeo Bellotti
does anyone know how to do this? I need it because i want to make a binary coverter ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] OT What's next

2006-11-30 Thread Amadeo Bellotti
thank you soo much Alan i have Sams teach yourself C in 21 days fr starters is that any good? On 11/30/06, Alan Gauld [EMAIL PROTECTED] wrote: Amadeo Bellotti [EMAIL PROTECTED] wrote step two sites to learn anyone know where i can look up c programming for linux? Ah! Now, if you'd said

Re: [Tutor] OT What's next

2006-11-30 Thread Amadeo Bellotti
I will I'm learning Java at school (icky i no) so i thought C+Java+Python would be redcilously strong(especially with Jython). On 11/30/06, Alan Gauld [EMAIL PROTECTED] wrote: Amadeo Bellotti [EMAIL PROTECTED] wrote i have Sams teach yourself C in 21 days fr starters is that any good? I

Re: [Tutor] Python Linux Distro Anyone

2006-11-29 Thread Amadeo Bellotti
at 22:45 -0500, Amadeo Bellotti wrote: I was thinking it would be really nice if i could make a Pocket Linux distro that of course fits on one or two floppies (outdated I no but still are amazing) thats just the Linux kernel, bash, and python. with of course a lot of tiny scripts to do daily

[Tutor] OT What's next

2006-11-28 Thread Amadeo Bellotti
I've recently wanted to learn more about my hardware and i figured what better way then programming at the base level. I no it sounds stupid but i would like to learn to manage my own memory. so i was wondering if anyone has dipped there toe in either C or Assembly. If you have please tell me

[Tutor] Python Linux Distro Anyone

2006-11-28 Thread Amadeo Bellotti
I was thinking it would be really nice if i could make a Pocket Linux distro that of course fits on one or two floppies (outdated I no but still are amazing) thats just the Linux kernel, bash, and python. with of course a lot of tiny scripts to do daily business and/or recovery. We could have a

[Tutor] off topic GNOME background

2006-10-31 Thread Amadeo Bellotti
my background just disappeared it shows a black screen like it cant find the default background. if that makes sense I've added my own and it cant seem to find it i removed it and re added it it doesn't seem to be working though anyone have any ideas?

[Tutor] Python Magazine

2006-10-14 Thread Amadeo Bellotti
I no im probally not the best pereson to go about this but maybe people in this community are. I was wondering if there was or maybe someone can start a Python maganize kinda like 3dCreative or 2d Artist. that is an PDF magazine with tutorials interviews, python news, and maybe a programming

Re: [Tutor] Python Magazine

2006-10-14 Thread Amadeo Bellotti
i saw it but it didnt quite meet what i wanted :\On 10/14/06, Glenn T Norton [EMAIL PROTECTED] wrote: Amadeo Bellotti wrote: I no im probally not the best pereson to go about this but maybe people in this community are. I was wondering if there was or maybe someone can start a Python maganize

[Tutor] tkinter tutorials

2006-10-12 Thread Amadeo Bellotti
I am currently interseted in learning tkinter and what beeter way then with a project so im making a python IDE and i was wondering if there were any good tutorials that are out there for tkinter and a book or 2 would be nice thank you ___ Tutor

Re: [Tutor] Some questions about my yen-USD.py

2006-09-18 Thread Amadeo Bellotti
thats fine its just my dad would need that and it would be easier for him if he had the exchange rate bulit inOn 9/17/06, Dick Moores [EMAIL PROTECTED] wrote:At 07:10 PM 9/17/2006, Amadeo Bellotti wrote:ok i jsut wanted to say great program but i would like to see an acutal exchange rate like

Re: [Tutor] Some questions about my yen-USD.py

2006-09-17 Thread Amadeo Bellotti
ok i jsut wanted to say great program but i would like to see an acutal exchange rate like maybe get it from a website it would be so much nicer and easier to use also it would help linux users who run from console so they dont have to look up the current rate online On 9/17/06, Dick Moores [EMAIL

Re: [Tutor] [OT] some jobs are just too big for Python

2006-09-08 Thread Amadeo Bellotti
Thats acutally a pretty good analogy but i think python isnt yet at its fullest potential or even closeOn 9/8/06, Terry Carroll [EMAIL PROTECTED] wrote: http://www.news.com.au/dailytelegraph/story/0,22049,20372915-5006003,00.htmlSummary: A python (the actual snake) ate an entire pregnant sheep

Re: [Tutor] GUI Programing

2006-09-01 Thread Amadeo Bellotti
thank you all im reading up on it all its a diffreent mindset that i have tog et used toOn 9/1/06, Terry Carroll [EMAIL PROTECTED] wrote:On Fri, 1 Sep 2006, Alan Gauld wrote: Fred Lundh's tutorial is much better nowadays - although longer. Tkinter docs are tough enough to come by that, in my

[Tutor] GUI Programing

2006-08-31 Thread Amadeo Bellotti
I'm going to try some GUI programming does anyone know where the start like using tk or wx or what ever i want it to it will run on Windows UNIX and Mac systems can you tell me whats best to use and give me a link to a good tutorial? Thanks ___ Tutor

Re: [Tutor] File IO

2006-08-30 Thread Amadeo Bellotti
the code is way to long but i can post the output of puzzleanswers Answer: 6 1 4 2 9 3 8 5 7 8 5 9 1 6 7 2 3 4 2 3 7 8 5 4 9 1 6 7 8 6 9 1 2 5 4 3 4 2 1 3 7 5 6 9 8 3 9 5 4 8 6 1 7 2 9 4 3 5 2 8 7 6 1 5 6 8 7 4 1 3 2 9 1 7 2 6 3 9 4 8 5 for those of you who dont know its a sudoku puzzle if you

Re: [Tutor] Can you tell me whats wrong with this code?

2006-08-30 Thread Amadeo Bellotti
Thank you sooo much thats exactly what went wrong thank you so muchOn 8/30/06, John Fouhy [EMAIL PROTECTED] wrote: On 31/08/06, Amadeo Bellotti [EMAIL PROTECTED] wrote: first of all i have random.randint imported as rand like this: from random import randint as rand it is giving me an error

Re: [Tutor] File IO

2006-08-29 Thread Amadeo Bellotti
i do and they have writing but its just not printing it at allOn 8/29/06, Kent Johnson [EMAIL PROTECTED] wrote: Amadeo Bellotti wrote: Ok im trying to create a file that the user chooses the name of and print a varible that is a string to the text file. but for some reason whne i do this code

Re: [Tutor] File IO

2006-08-29 Thread Amadeo Bellotti
well i made a typo and puzzleanswers was empty i fixed it and it works fine thank you guys so muchOn 8/29/06, Bob Gailer [EMAIL PROTECTED] wrote:Amadeo Bellotti wrote: Ok im trying to create a file that the user chooses the name of and print a varible that is a string to the text file. but for

Re: [Tutor] File IO

2006-08-29 Thread Amadeo Bellotti
issue?Alan G. On 8/29/06, Kent Johnson [EMAIL PROTECTED] wrote: Amadeo Bellotti wrote: Ok im trying to create a file that the user chooses the name of and print a varible that is a string to the text file. but for some reason whne i do this code: FILE = open(filename, w) FILE.write

[Tutor] A list of ints to a strings

2006-08-25 Thread Amadeo Bellotti
I need to convert a list of intgers to a string so for example I have this x = [1, 2, 3, 4, 5, 6] I want this x = 1 2 3 4 5 6 I need this to write it to a .txt file does anyone know how to do this? ___ Tutor maillist - Tutor@python.org

Re: [Tutor] A list of ints to a strings

2006-08-25 Thread Amadeo Bellotti
thank you and like wat if i wanna write one string on one line and another string on another line ect.On 8/25/06, David Heiser [EMAIL PROTECTED] wrote: This will work x = [1, 2, 3, 4, 5, 6] x = str(x)[1:-1].replace(,, '') open(filename.txt, w).write(x) -Original

Re: [Tutor] 2D array question [was (no subject)]

2006-08-18 Thread Amadeo Bellotti
thank you so much Mr. Gauld that really helpedOn 8/18/06, Alan Gauld [EMAIL PROTECTED] wrote: Mr. Kuhlman it says python is not configured for tk.Gaarrgh! Why do linux distros do this? Stooopid... You will need to fetch another version of Python withTk support built in. Its a compile time option

Re: [Tutor] (no subject)

2006-08-18 Thread Amadeo Bellotti
Mr. Gauld I run it from termainal on GNOME and it says ** IDLE can't import Tkinter. Your Python may not be configured for Tk. ** and Yea I am Administrator this is my Home computer after all im only 15.On 8/18/06, Alan Gauld [EMAIL PROTECTED] wrote: thank you but IDLE doesnt seem to work on

Re: [Tutor] (no subject)

2006-08-17 Thread Amadeo Bellotti
thank you Mr. Johnson this is my first program so its a little sloppy. I'm using gedit ill check out the other editors that u have thank youOn 8/17/06, Kent Johnson [EMAIL PROTECTED] wrote: Amadeo Bellotti wrote: Mr. Johnson i was hoping i didnt have to make my whole program into a loop because

Re: [Tutor] (no subject)

2006-08-17 Thread Amadeo Bellotti
Thank you again i no im a newbie and really inexperianced but thank youOn 8/17/06, Danny Yoo [EMAIL PROTECTED] wrote: thank you Mr. Johnson this is my first program so its a little sloppy. I'm using gedit ill check out the other editors that u have thank youMore fundamentally, spend some time to

Re: [Tutor] (no subject)

2006-08-17 Thread Amadeo Bellotti
thank you again but i think i found a way to fix itOn 8/17/06, Danny Yoo [EMAIL PROTECTED] wrote: Mr. Yoo im working on a program to write a sudoku puzzle and if something is wrong with the last row i need to re make the whole puzzle over again. Here's a separate question that's related to

Re: [Tutor] Which Book

2006-08-17 Thread Amadeo Bellotti
A good book is Practical Python by Magnus Lie Hetland.On 8/17/06, Alan Gauld [EMAIL PROTECTED] wrote: I have very little programming experience, I have decided to learn Python..there are tons of material and references on the web-pages, can you guys please suggest what is the best way to start

Re: [Tutor] (no subject)

2006-08-17 Thread Amadeo Bellotti
thank you but IDLE doesnt seem to work on Suse 9.2 do you know a way to fix it?On 8/17/06, Alan Gauld [EMAIL PROTECTED] wrote: thank you Mr. Johnson this is my first program so its a little sloppy. I'm using gedit ill check out the other editors that u have thank youIf you have Python you will

Re: [Tutor] (no subject)

2006-08-17 Thread Amadeo Bellotti
Mr. Kuhlman it says python is not configured for tk. but on another note does anyone know how to make a 2d array? On 8/18/06, John Fouhy [EMAIL PROTECTED] wrote: On 18/08/06, Amadeo Bellotti [EMAIL PROTECTED] wrote: thank you but IDLE doesnt seem to work on Suse 9.2 do you know a way to fix

[Tutor] (no subject)

2006-08-16 Thread Amadeo Bellotti
hello is there a way if a condition is not met to restart the whole program? for example if and if statement returns true then re start the whole program? ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor