Re: [Tutor] print "Hello, World!"

2011-02-02 Thread davidheiserca
Seven years ago, my story was similar. I started off with "The Python Quick Book" (Manning) and "Python - Visual Quickstart Guide" (Peachpit Press). Both are very easy to follow. I still pick up the "Quick" book once in a while for reference. This "Tutor" list helped a lot. I learned by tryi

[Tutor] System of ODEs Question

2011-02-02 Thread Eric Lofgren
So I'm in the process of learning Python, and have been working on a program to solve a very simple S-I-R model, used to study infectious diseases. Basically, it's just a smallish set of differential equations which need to be numerically integrated over time. Working off of a template program,

[Tutor] byte array conversion question

2011-02-02 Thread Bill Allen
I have found that there are a couple of ways to convert a byte array to a string in Python. Is there any advantage or disadvantage to either method? my_bytes = b'this is a test' str(my_bytes,'utf-8') yields 'this is a test' my_bytes.decode('utf-8';) yeilds 'this is a test' --Bill

Re: [Tutor] print "Hello, World!"

2011-02-02 Thread michael scott
Hey doug please don't be discouraged..., and be glad you didn't start in C++ like me... talk about being discouraged... But anyways, I just started as well. I've only been programming like 5 months. So I understand you very much :) Here are some of the better (more clear) tutorials I ran across

Re: [Tutor] print "Hello, World!"

2011-02-02 Thread Wayne Werner
On Wed, Feb 2, 2011 at 8:27 PM, Corey Richardson wrote: > On 2/2/2011 9:00 PM, Doug Marvel wrote: > > [snip] > > > > I am hoping for a link to a somewhat comprehensive online resource > > that explains from the beginning in English, plain English, as this is > > the only language I speak. Somethi

Re: [Tutor] print "Hello, World!"

2011-02-02 Thread Corey Richardson
On 2/2/2011 9:00 PM, Doug Marvel wrote: > [snip] > > I am hoping for a link to a somewhat comprehensive online resource > that explains from the beginning in English, plain English, as this is > the only language I speak. Something to get my foot in the door would > be awesome. > > > Cheers, > Doug

[Tutor] print "Hello, World!"

2011-02-02 Thread Doug Marvel
Hey folks, I'm Doug. I've been using computers since second grade, and I know a little about them. I am, however, completely new to programming. I don't even know what I know about it. I'd like some social interaction with this, but I can't go back to school until summer or fall of this year. I do

Re: [Tutor] update Tkinter text widget in realtime?

2011-02-02 Thread Alan Gauld
"Elwin Estle" wrote Caveat: I haven't studied this in detail so I might be missing something... So, just for the heck of it, I thought, what would happen if I put a word into the matrix, such that its first letter is in the center, and then it rotate around its insertion point. This sets up a

Re: [Tutor] Help with range of months [was Tutor Digest, Vol 84, Issue 8]

2011-02-02 Thread Steven D'Aprano
Hi Nevins, I don't think I've seen you post here before. Welcome to the list! Before answering your comment (see below), I have to give you a gentle wrap on the knuckles. It's considered impolite to: (1) reply to a digest without changing the subject line from "Tutor Digest" to something mor

[Tutor] update Tkinter text widget in realtime?

2011-02-02 Thread Elwin Estle
The guy who had the post about the "vowel search" exercise got me to thinking about matrices of letters, and thence to word search games, which I have made a time or two by hand and they are a pain. So I decided to try making a program that would put words into a word search. This is very basic

[Tutor] RE module is working ?

2011-02-02 Thread Karim
Hello, I am trying to subsitute a '""' pattern in '\"\"' namely escape 2 consecutives double quotes: * *In Python interpreter:* $ python Python 2.7.1rc1 (r271rc1:86455, Nov 16 2010, 21:53:40) [GCC 4.4.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>>

Re: [Tutor] Help with range of months spanning across years

2011-02-02 Thread Steven D'Aprano
ian douglas wrote: It bugs me that so many people are quick to jump on the "we wont' do your homework" bandwagon -- I was accused of the same thing when I posted a question to the list myself. I've been programming professionally for many years but learning Python in my spare time... I sent th

[Tutor] Homework was: Re: Tutor Digest, Vol 84, Issue 8

2011-02-02 Thread Alan Gauld
Please do not send the entire digest message, As the instructions say below: "Nevins Duret" wrote Send Tutor mailing list submissions to tutor@python.org When replying, please edit your Subject line so it is more specific than "Re: Contents of Tutor digest..." And also edit out the

Re: [Tutor] Defining Exceptions

2011-02-02 Thread davidheiserca
It's difficult to see exactly what the data looks like as it is received. Where are the line breaks? At the commas? Is the "header" just the first line? Is "1Time" considered part of the header? Is everything after "1Time" considered "data"? I can see several simple alternatives to your method

Re: [Tutor] Need help on Setup.py

2011-02-02 Thread Alan Gauld
"Sriram Jaju" wrote What is pywin32 ? I mean what is its use ? It is a set of Python modules that gives access to the Windows API, including COM functions. Using it you can create native Windows GUIs from Python or, more usefully, integrate with Windows Operating System features and other

Re: [Tutor] Defining Exceptions

2011-02-02 Thread Emile van Sebille
On 2/2/2011 6:51 AM Tom Brauch said... All, I am a python neophyte and not terrible well versed in programming (as will become obvious shortly) I have a script which is reading a serial device on a schedule. The device outputs a header at the beginning of every read. I have a data file which

[Tutor] Defining Exceptions

2011-02-02 Thread Tom Brauch
All, I am a python neophyte and not terrible well versed in programming (as will become obvious shortly) I have a script which is reading a serial device on a schedule. The device outputs a header at the beginning of every read. I have a data file which I am appending and would like to eliminat

Re: [Tutor] Homework and the Tutor list

2011-02-02 Thread Rance Hall
On Wed, Feb 2, 2011 at 10:53 AM, Jerry Hill wrote: > > I don't think that's true at all.  I think people here are happy to > help, including by posting working, efficient, code.  What we try to > avoid is having students come here with their assignments and have us > do their schoolwork for them.

[Tutor] Homework and the Tutor list

2011-02-02 Thread Jerry Hill
>    I would have to agree with you Ian.  Coming from an art then computer > animation visual effects background, it's not until recently that it became > evident to me that in order to push the potential of this medium, I would > definitely have to learn to code.  I think the stigma of the "homewo

Re: [Tutor] Tutor Digest, Vol 84, Issue 8

2011-02-02 Thread Nevins Duret
On 02/02/2011 06:00 AM, tutor-requ...@python.org wrote: Send Tutor mailing list submissions to tutor@python.org To subscribe or unsubscribe via the World Wide Web, visit http://mail.python.org/mailman/listinfo/tutor or, via email, send a message with subject or body 'help' to

Re: [Tutor] Need help on Setup.py

2011-02-02 Thread Sriram Jaju
What is pywin32 ? I mean what is its use ? -- Xcited 2 be AliveSriram ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor