Re: [Tutor] New to Python

2017-09-15 Thread Abdur-Rahmaan Janhangeer
1) valuable resources : sololearn tutorialspoint python3 top tip : concentrate on concepts good books for beginners there are many like .. dive into python 3 available free online .. automate the boring stuff available free online a good reference-like book: .. Learning Python .. Programming P

Re: [Tutor] New to Python

2017-09-08 Thread Alan Gauld via Tutor
On 08/09/17 08:35, George Fischhof wrote: > As this is a really frequent question, maybe it would be good to put a > short list (the answers cumulated no more than about 10 websites) into the > welcome message of the Tutor mailing list. The welcome message should be a very short (ideally one "scr

Re: [Tutor] New to Python

2017-09-08 Thread George Fischhof
2017-09-07 20:39 GMT+02:00 boB Stepp : > Welcome to Tutor! > > On Thu, Sep 7, 2017 at 8:14 AM, Vikram Singh > wrote: > > I've been learning Python from Google For Education > > . A little help will be > > appreciated regarding the right way and right tut

Re: [Tutor] New to Python

2017-09-07 Thread boB Stepp
Welcome to Tutor! On Thu, Sep 7, 2017 at 8:14 AM, Vikram Singh wrote: > I've been learning Python from Google For Education > . A little help will be > appreciated regarding the right way and right tutorials to learn Python > from. Thanks in advance. Th

[Tutor] New to Python

2017-09-07 Thread Vikram Singh
I've been learning Python from Google For Education . A little help will be appreciated regarding the right way and right tutorials to learn Python from. Thanks in advance. ___ Tutor maillist - Tutor@python.org

Re: [Tutor] new to python

2017-07-26 Thread N6Ghost
On 7/25/2017 12:43 AM, Alan Gauld via Tutor wrote: On 25/07/17 04:58, N6Ghost wrote: this code works f = open("C:/coderoot/python3/level1/inputfile.txt", 'r') for line in f: for line in f: #print(line.rstrip()) print(line) f.close() the out put skips the first line

Re: [Tutor] new to python

2017-07-25 Thread Alan Gauld via Tutor
On 25/07/17 04:58, N6Ghost wrote: > this code works > f = open("C:/coderoot/python3/level1/inputfile.txt", 'r') > for line in f: > for line in f: > #print(line.rstrip()) > print(line) > > f.close() > the out put skips the first line of the inputfile and puts a blank line

Re: [Tutor] new to python

2017-07-25 Thread Andre Engels
The problem here is that you have doubled the "for line in f:" line. Given that you say you know some programming, I'll just cut to the technical name of the problem you are having: You are changing the value of a loop variable (by starting an inner loop with the same loop variable) inside a loop.

Re: [Tutor] new to python

2017-07-25 Thread N6Ghost
On 7/23/2017 1:03 AM, Alan Gauld via Tutor wrote: On 23/07/17 07:26, N6Ghost wrote: f = open("C:\coderoot\python3\level1\inputfile.txt", 'r') for line in file: Note that you have no variable called 'file'. So this line doesn't make sense. for line in f: print(line.rstripe()

Re: [Tutor] new to python

2017-07-24 Thread Mats Wichmann
On 07/24/2017 04:32 PM, N6Ghost wrote: > update code: > f = open("C:\coderoot\python3\level1\inputfile.txt", 'r') > for line in f: > for line in f: > print(line.rstripe()) > > f.close() > > > C:\coderoot\python3\level1>python secondscript.py > Traceback (most recent call las

Re: [Tutor] new to python

2017-07-24 Thread N6Ghost
On 7/23/2017 1:03 AM, Alan Gauld via Tutor wrote: On 23/07/17 07:26, N6Ghost wrote: f = open("C:\coderoot\python3\level1\inputfile.txt", 'r') for line in file: Note that you have no variable called 'file'. So this line doesn't make sense. for line in f: print(line.rstripe()

Re: [Tutor] new to python

2017-07-23 Thread Mats Wichmann
On 07/23/2017 09:16 AM, Alex Kleider wrote: > On 2017-07-23 01:06, Anish Tambe wrote: >>> for line in file: >> >> This line is not required as the you have opened your file to 'f'. >> 'file' is a built-in class. Type - >> help(file) >> on the interpreter to know more about it. > > This appears to

Re: [Tutor] new to python

2017-07-23 Thread Alex Kleider
On 2017-07-23 01:06, Anish Tambe wrote: for line in file: This line is not required as the you have opened your file to 'f'. 'file' is a built-in class. Type - help(file) on the interpreter to know more about it. This appears to be true in python2x but not in python3: alex@X301n3:~$ python3

Re: [Tutor] new to python

2017-07-23 Thread Peter Otten
N6Ghost wrote: > C:\coderoot\python3\level1>python > Python 3.6.2 (v3.6.2:5fd33b5, Jul 8 2017, 04:14:34) [MSC v.1900 32 bit > (Intel)] on win32 > Type "help", "copyright", "credits" or "license" for more information. > > /windows 10 x64 > > new to python, but not really new to programming. > >

Re: [Tutor] new to python

2017-07-23 Thread Anish Tambe
> for line in file: This line is not required as the you have opened your file to 'f'. 'file' is a built-in class. Type - help(file) on the interpreter to know more about it. > for line in f: > print(line.rstripe()) > f.close() Are you sure that you need to close the file aft

Re: [Tutor] new to python

2017-07-23 Thread Alan Gauld via Tutor
On 23/07/17 07:26, N6Ghost wrote: > > f = open("C:\coderoot\python3\level1\inputfile.txt", 'r') > for line in file: Note that you have no variable called 'file'. So this line doesn't make sense. > for line in f: > print(line.rstripe()) This bit will work if you omit the line abov

[Tutor] new to python

2017-07-23 Thread N6Ghost
C:\coderoot\python3\level1>python Python 3.6.2 (v3.6.2:5fd33b5, Jul 8 2017, 04:14:34) [MSC v.1900 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. /windows 10 x64 new to python, but not really new to programming. going through the beginners docs

Re: [Tutor] New to Python

2016-10-27 Thread Danny Yoo
> program-they just do it. Also noticed-when starting new file sometimes I > see run at the top sometimes not? Lots of questions. Familiar with > programming in C. If you're a database and C developer, then you probably have enough experience to go through the Python tutorial, as it is aimed for

Re: [Tutor] New to Python

2016-10-27 Thread Alan Gauld via Tutor
On 28/10/16 01:05, Rusty Bayles wrote: > Thanks for the reply Alan, > Could you please tell me more detail on the videos? Like who made them. Some are just amateurs others are professional (or at least Youtube regulars) Here are a couple of links, but to be honest just about any of them would mee

Re: [Tutor] New to Python

2016-10-27 Thread Alan Gauld via Tutor
On 27/10/16 23:41, Rusty Bayles wrote: > I just installed 3.5.2 interpreter and cannot figure out how to run > program. I strongly suggest you go to Youtube and search for IDLE. There are several short (3-10min) videos there that should make it clear where you are going wrong. Watch a couple

[Tutor] New to Python

2016-10-27 Thread Rusty Bayles
I just installed 3.5.2 interpreter and cannot figure out how to run program. I am a database developer and my first attempt at sqllite3 has beeen a disasterr! When I run a program (after importinh sqllite and doing connection setups and attempting to setup table. When I press run (F5?) the firs

Re: [Tutor] New to Python, Already Confused

2016-09-20 Thread Steven D'Aprano
On Mon, Sep 19, 2016 at 11:01:30PM +, Gampper, Terry wrote: > Hello > I started my journey with Python last week and find it to be an > easy-to-learn language. I am currently teaching introduction to > computer programming. One of the assignments we are working on > involves an instructor gi

Re: [Tutor] New to Python, Already Confused

2016-09-20 Thread Joel Goldstick
You should probably convert scores to ints on input. At any rate, here is your problem: low_tscore = min(tscore1,tscore2,tscore3,tscore4,tscore5) You need to convert tscore1, etc. to ints, otherwise min will give lexical comparison (alphabetic order), not numeric order On Mon, Sep 19, 2016 at 7

[Tutor] New to Python, Already Confused

2016-09-20 Thread Gampper, Terry
Hello I started my journey with Python last week and find it to be an easy-to-learn language. I am currently teaching introduction to computer programming. One of the assignments we are working on involves an instructor giving a series of 5 tests, and the lowest score is dropped, then calculatin

Re: [Tutor] New to Python..Need help

2014-09-04 Thread Felisha Lawrence
These are all the files. No two filenames are the same swp.1120630020111.KLWX.0.0.5_PPI_v2 swp.1120630020143.KLWX.0.0.9_PPI_v3 swp.1120630020215.KLWX.0.1.3_PPI_v4 swp.1120630020247.KLWX.0.1.8_PPI_v5 swp.1120630020302.KLWX.0.2.4_PPI_v6 swp.1120630020316.KLWX.0.3.1_PPI_v7 swp.1120630020330.KLWX.0.

Re: [Tutor] New to Python..Need help

2014-09-04 Thread Cameron Simpson
On 04Sep2014 15:01, Joel Goldstick wrote: On Thu, Sep 4, 2014 at 8:49 AM, Felisha Lawrence wrote: I have a question regarding strings in python. I have a directory on my MacBook Bro of about 13 files. I need to alter the file endings in that directory. The files are on the order of 'swp.113006

Re: [Tutor] New to Python..Need help

2014-09-04 Thread Danny Yoo
On Thu, Sep 4, 2014 at 12:05 PM, taserian wrote: > Is there anything different between the filenames aside from that suffix > _vXX? If not, then you'll run into problems after the first filename is > changed; further attempts won't allow the change, since there's already a > file with that same na

Re: [Tutor] New to Python..Need help

2014-09-04 Thread Danny Yoo
> I have a question regarding strings in python. I have a directory on my > MacBook Bro of about 13 files. I need to alter the file endings in that > directory. The files are on the order of > 'swp.113006004000_KLWX_0.0.5_PPI_v2','swp.113006004000_KLWX_0.0.5_PPI_v3'. I > need to remove the characte

Re: [Tutor] New to Python..Need help

2014-09-04 Thread Alan Gauld
On 04/09/14 13:49, Felisha Lawrence wrote: 'swp.113006004000_KLWX_0.0.5_PPI_v2','swp.113006004000_KLWX_0.0.5_PPI_v3'. I need to remove the characters after the 'v' and replace with v20. All of the endings of the files are sequential _v2, _v3,_v4, _v5. I need all of these characters to be the sam

Re: [Tutor] New to Python..Need help

2014-09-04 Thread taserian
Is there anything different between the filenames aside from that suffix _vXX? If not, then you'll run into problems after the first filename is changed; further attempts won't allow the change, since there's already a file with that same name. AR On Thu, Sep 4, 2014 at 8:49 AM, Felisha Lawrence

Re: [Tutor] New to Python..Need help

2014-09-04 Thread Joel Goldstick
On Thu, Sep 4, 2014 at 8:49 AM, Felisha Lawrence wrote: > Hello, > I have a question regarding strings in python. I have a directory on my > MacBook Bro of about 13 files. I need to alter the file endings in that > directory. The files are on the order of > 'swp.113006004000_KLWX_0.0.5_PPI_v2','sw

[Tutor] New to Python..Need help

2014-09-04 Thread Felisha Lawrence
Hello, I have a question regarding strings in python. I have a directory on my MacBook Bro of about 13 files. I need to alter the file endings in that directory. The files are on the order of 'swp.113006004000_KLWX_0.0.5_PPI_v2','swp.113006004000_KLWX_0.0.5_PPI_v3'. I need to remove the characters

Re: [Tutor] New to Python - print function - invalid syntax

2014-08-05 Thread Dave Angel
Marc Tompkins Wrote in message: > On Tue, Aug 5, 2014 at 8:23 AM, Zachary Ware > wrote: >> >> which it should be if the most recently >> installed Python was 3.3 or 3.4, installed with default options. >> > > And there we have my problem with this glorious new "feature". YOU > CAN'T RELY ON IT,

Re: [Tutor] New to Python - print function - invalid syntax

2014-08-05 Thread Marc Tompkins
On Tue, Aug 5, 2014 at 8:23 AM, Zachary Ware wrote: > > which it should be if the most recently > installed Python was 3.3 or 3.4, installed with default options. > And there we have my problem with this glorious new "feature". YOU CAN'T RELY ON IT, because it depends on the most recent version

Re: [Tutor] New to Python - print function - invalid syntax

2014-08-05 Thread Zachary Ware
On Tue, Aug 5, 2014 at 9:56 AM, Marc Tompkins wrote: > On Tue, Aug 5, 2014 at 12:48 AM, Maxime Steisel > wrote: >> I think this is because on windows, *.py files are associated with py.exe >> that choose the python version depending on the first line of your file. > > No. *ix operating systems

Re: [Tutor] New to Python - print function - invalid syntax

2014-08-05 Thread Mark Lawrence
On 05/08/2014 15:56, Marc Tompkins wrote: On Tue, Aug 5, 2014 at 12:48 AM, Maxime Steisel wrote: I think this is because on windows, *.py files are associated with py.exe that choose the python version depending on the first line of your file. No. *ix operating systems (Unix, Linux, OS X, et

Re: [Tutor] New to Python - print function - invalid syntax

2014-08-05 Thread Marc Tompkins
On Tue, Aug 5, 2014 at 12:48 AM, Maxime Steisel wrote: > I think this is because on windows, *.py files are associated with py.exe > that choose the python version depending on the first line of your file. No. *ix operating systems (Unix, Linux, OS X, etc.) inspect the first line of a file to de

Re: [Tutor] New to Python - print function - invalid syntax

2014-08-05 Thread Ben Finney
Greg Markham writes: > For cmd line, yes that's basically it. When I say "shell", I'm > referring to the Python IDLE GUI. For future reference: the operating system shell presents a command line. The Python shell presents a command line. So “shell” and “command line” don't distinguish between th

Re: [Tutor] New to Python - print function - invalid syntax

2014-08-05 Thread Maxime Steisel
Le 2014-08-05 02:07, "Greg Markham" a écrit: > Ok, when I try this from the Shell window, it works. When executing the full program from command line, it does not. Python versions from both shell and command line are 3.4.1 (confirmed via command: "python -V"). > > Full error msg output when run

Re: [Tutor] New to Python - print function - invalid syntax

2014-08-05 Thread Greg Markham
On Mon, Aug 4, 2014 at 7:38 PM, Steven D'Aprano wrote: > On Mon, Aug 04, 2014 at 04:44:46PM -0700, Greg Markham wrote: > > > Ok, when I try this from the Shell window, it works. When executing the > > full program from command line, it does not. Python versions from both > > shell and command

Re: [Tutor] New to Python - print function - invalid syntax

2014-08-05 Thread Greg Markham
On Mon, Aug 4, 2014 at 5:13 PM, Alan Gauld wrote: > On 05/08/14 00:21, Greg Markham wrote: > > but I'm running into a syntax error >> > > As others have said you are getting the expected error when running Python > v3 code under Python v2. > > How exactly are you running the program? It

Re: [Tutor] New to Python - print function - invalid syntax

2014-08-04 Thread Steven D'Aprano
On Mon, Aug 04, 2014 at 04:44:46PM -0700, Greg Markham wrote: > Ok, when I try this from the Shell window, it works. When executing the > full program from command line, it does not. Python versions from both > shell and command line are 3.4.1 (confirmed via command: "python -V"). I'm a little

Re: [Tutor] New to Python - print function - invalid syntax

2014-08-04 Thread Alan Gauld
On 05/08/14 00:21, Greg Markham wrote: but I'm running into a syntax error As others have said you are getting the expected error when running Python v3 code under Python v2. How exactly are you running the program? It looks like somehow you are picking up Python v2 when you run the

Re: [Tutor] New to Python - print function - invalid syntax

2014-08-04 Thread Greg Markham
On Mon, Aug 4, 2014 at 11:52 AM, Joel Goldstick wrote: > On Mon, Aug 4, 2014 at 1:28 PM, Greg Markham > wrote: > > Hello, > > > > I'm extremely new to Python having only just started learning this week. > > I'm slowly plodding through a book, Python Programming for the Absolute > > Beginner, 3rd

Re: [Tutor] New to Python - print function - invalid syntax

2014-08-04 Thread Greg Markham
On Mon, Aug 4, 2014 at 12:37 PM, Alex Kleider wrote: > On 2014-08-04 10:28, Greg Markham wrote: > >> Hello, >> >> I'm extremely new to Python having only just started learning this week. >> I'm slowly plodding through a book, Python Programming for the Absolute >> Beginner, 3rd ed >>

Re: [Tutor] New to Python - print function - invalid syntax

2014-08-04 Thread Cameron Simpson
On 04Aug2014 13:38, Danny Yoo wrote: > difference between the version of Python I'm using (3.4.1) and that which > was in use at the time the book was written (3.1.x) that is responsible > for this error. Just to double check: how are you confirming what version of Python you're using? In pa

Re: [Tutor] New to Python - print function - invalid syntax

2014-08-04 Thread Danny Yoo
> > but I'm running into a syntax error when running one of the unmodified > > programs. On line 14, which reads: > > > > print("Here", end=" ") > > > > I'm receiving a syntax error which points to the end parameter. I'd like to also support Joel's suggestion to provide detailed output of the err

Re: [Tutor] New to Python - print function - invalid syntax

2014-08-04 Thread Joel Goldstick
On Mon, Aug 4, 2014 at 1:28 PM, Greg Markham wrote: > Hello, > > I'm extremely new to Python having only just started learning this week. > I'm slowly plodding through a book, Python Programming for the Absolute > Beginner, 3rd ed by Michael Dawson. > > Code is provided for all the scripts found t

[Tutor] New to Python - print function - invalid syntax

2014-08-04 Thread Greg Markham
Hello, I'm extremely new to Python having only just started learning this week. I'm slowly plodding through a book, Python Programming for the Absolute Beginner, 3rd ed

Re: [Tutor] New to Python

2014-05-04 Thread Alan Gauld
On 28/04/14 13:56, Jordan Smallwood wrote: I never got a response. Should I check my spam? Probably, although Dave and I both basically said the same as the current batch of answers. Namely the exercise is pretty clear: write a module with 2 functions. Now, what part of that specifically do

Re: [Tutor] New to Python

2014-05-04 Thread Jordan Smallwood
I never got a response. Should I check my spam? Sent from my iPhone > On Apr 28, 2014, at 1:57 AM, Mark Lawrence wrote: > >> On 26/04/2014 23:53, jordan smallwood wrote: >> Hello, >> >> I am new to Python. I mean completely new and we're working on this >> problem set in class where they give

Re: [Tutor] New to Python

2014-04-28 Thread Steven D'Aprano
On Sat, Apr 26, 2014 at 03:53:33PM -0700, jordan smallwood wrote: > Hello, > > I am new to Python. I mean completely new and we're working on this > problem set in class where they give us specs and we have to build > something based off these specs. I have no idea what they're asking. > Could

Re: [Tutor] New to Python

2014-04-28 Thread Danny Yoo
Hi Jordan, You probably want to read up to chapter 3 (including the "Functions" chapter) in "How to Think Like a Computer Scientist": http://www.greenteapress.com/thinkpython/html/index.html or some equivalent tutorial, so that you at least know what the terms in the problem statement means.

Re: [Tutor] New to Python

2014-04-28 Thread R. Alan Monroe
> 1. Write a program module with at least two functions. Hint: "def" is the Python keyword used to define a function. You can read all about def in the docs on python.org. Alan ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscripti

Re: [Tutor] New to Python

2014-04-28 Thread Mark Lawrence
On 26/04/2014 23:53, jordan smallwood wrote: Hello, I am new to Python. I mean completely new and we're working on this problem set in class where they give us specs and we have to build something based off these specs. I have no idea what they're asking. Could someone help get me started on the

[Tutor] New to Python

2014-04-28 Thread jordan smallwood
Hello, I am new to Python. I mean completely new and we're working on this problem set in class where they give us specs and we have to build something based off these specs. I have no idea what they're asking. Could someone help get me started on the path to figuring this out? Below is the qu

Re: [Tutor] New to Python - simple question

2012-11-30 Thread Unaiza Ahsan
I'm on Chapter 1 of Solem's book. The following function definition needs to be added to imtools.py: [I did paste this I think in my first email]. import os from numpy import * def histeq(im,nbr_bins=256): """ Histogram equalization of a grayscale image. """ # get image histogram imhist,bins = hi

Re: [Tutor] New to Python - simple question

2012-11-19 Thread Oscar Benjamin
On 18 November 2012 14:07, Unaiza Ahsan wrote: > Hi all, > > > The function histogram is supposed to come from the numpy module; at > > least that's the case on my computer (I have numpy 1.6.2 for Python > 2.7): > from numpy import * > histogram > > > Maybe something is wrong with Unaiz

Re: [Tutor] New to Python - simple question

2012-11-19 Thread Unaiza Ahsan
*Hi all, The function histogram is supposed to come from the numpy module; at* * least that's the case on my computer (I have numpy 1.6.2 for Python 2.7): >>> from numpy import ** * >>> histogram Maybe something is wrong with Unaiza's version of numpy.* * Kal *Yes it's supposed to come from n

Re: [Tutor] New to Python - simple question

2012-11-19 Thread Unaiza Ahsan
* Where is the histogram() function from? Is it in imtools.py as well? * It is a NumPY function. ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] New to Python - simple question

2012-11-18 Thread ALAN GAULD
>>> And the relevant portion in imtools.py is: >>> def histeq(im,nbr_bins=256): >>>      """ Histogram equalization of a grayscale image. """ >>> >>>      #get image histogram >>>      imhist,bins = histogram(im.flatten(),nbr_bins,normed=True) >> >> >> This is the call, but where is histogram? If

Re: [Tutor] New to Python - simple question

2012-11-17 Thread Kal Sze
On 18 November 2012 07:40, Alan Gauld wrote: > On 16/11/12 17:40, Unaiza Ahsan wrote: > >> There is a function created for histogram equalization of images (called >> *histeq*), and saved in imtools.py. > > > > from PIL import Image > from numpy import * > im = array(Image.open('Tulips

Re: [Tutor] New to Python - simple question

2012-11-17 Thread Alan Gauld
On 16/11/12 17:40, Unaiza Ahsan wrote: There is a function created for histogram equalization of images (called *histeq*), and saved in imtools.py. from PIL import Image from numpy import * im = array(Image.open('Tulips.jpg').convert('L')) im2,cdf = imtools.histeq(im) I get this: Tracebac

Re: [Tutor] New to Python - simple question

2012-11-17 Thread staticsafe
On 11/16/2012 12:40, Unaiza Ahsan wrote: > Hi all, > > I am following Jan Erik Solem's book "Programming Computer Vision with > Python" and I'm just on the first chapter. The book asked us to create a > file imtools.py and put down helpful functions there, which we can just > call later. > > Ther

[Tutor] New to Python - simple question

2012-11-17 Thread Unaiza Ahsan
Hi all, I am following Jan Erik Solem's book "Programming Computer Vision with Python" and I'm just on the first chapter. The book asked us to create a file imtools.py and put down helpful functions there, which we can just call later. There is a function created for histogram equalization of ima

Re: [Tutor] New to Python

2012-05-18 Thread Vignesh Sathiamoorthy
Hi Jeremy, I am new to Python too. I find docs.python.org very helpful. *Understanding functions:* http://docs.python.org/tutorial/controlflow.html#defining-functions *Reading and Writing Files:* http://docs.python.org/tutorial/inputoutput.html#reading-and-writing-files *File Objects:* http:

Re: [Tutor] New to Python

2012-05-18 Thread Steven D'Aprano
Hi Jeremy, Welcome to Python, but please don't send HTML email (what some programs wrongly call "Rich Text"), as it completely destroys the necessary indentation of your Python code and makes it difficult or impossible to work out what your code is supposed to be. However, I will take a wild

[Tutor] New to Python

2012-05-17 Thread Jeremy Traurig
Hello, I very new to python and have been playing around with some simple code that I would eventually use in the real word. Below is the code I have created. I want the code to read data from a file called SIL633.txt and then output that data into another file called test.txt. below is my code:

Re: [Tutor] New to Python programing

2012-04-03 Thread wesley chun
a couple of other sources of video learning (DISCLAIMER: the 1st is from my employer, and the 2nd is from me -- the intention is to provide alternatives not shameless self-promotion so please don't take it that way!): 1. Google offers an internal Python training class to its employees. it's a 2-da

Re: [Tutor] New to Python programing

2012-04-03 Thread Brad Hudson
>> Are you possibly thinking of the Khan Academy [1] ? >> >> [1] http://www.khanacademy.org/ If you're interested in free courses, MIT also has free programming courses (done in Python) via their OpenCourseWare and will be expanding this to MITx in the near future. OpenCourseWare - Intro to Compu

Re: [Tutor] New to Python programing

2012-04-03 Thread Cranky Frankie
On Tue, Apr 3, 2012 at 10:09 AM, Christian Witts wrote: > Are you possibly thinking of the Khan Academy [1] ? > > [1] http://www.khanacademy.org/ Yes, that was it, thanks. -- Frank L. "Cranky Frankie" Palmeri Risible Riding Raconteur & Writer “The problem with quotes on the Internet is that i

Re: [Tutor] New to Python programing

2012-04-03 Thread Christian Witts
On 2012/04/03 03:50 PM, Cranky Frankie wrote: Another resourse for learning to program is YouTube. They just had a segment on "60 Minutes" about a guy who does all kinds of well regarded free courses on-line, unfortunately I can't remberber the URL. I've viewed several Stanford University program

[Tutor] New to Python programing

2012-04-03 Thread Cranky Frankie
Another resourse for learning to program is YouTube. They just had a segment on "60 Minutes" about a guy who does all kinds of well regarded free courses on-line, unfortunately I can't remberber the URL. I've viewed several Stanford University programming courses, and there are many Python specific

Re: [Tutor] New to Python programing

2012-04-03 Thread Wayne Werner
On Mon, 2 Apr 2012, wesley chun wrote: greetings walter, and welcome to the Python family! as far as books go, the best way to learn Python is by writing games. this is an approach that works both with children as well as adults. there are several excellent books that can help you with this r

Re: [Tutor] New to Python programing

2012-04-02 Thread wesley chun
greetings walter, and welcome to the Python family! it looks like you've got your machine all set up. hopefully installing Python 3 wasn't too difficult -- users constantly have issues with their own installs clash with the Python that's pre-installed by Apple. as far as learning Python for begin

Re: [Tutor] New to Python programing

2012-04-02 Thread Shane Keene
I don't currently use Python 3 and don't recommend that you use it to learn with, mostly because the bulk of the docs and learning resources are Python 2.x focused and the two are not compatible. That said, here are some resources that you may find useful (particularly if you choose to learn using

[Tutor] New to Python programing

2012-04-02 Thread Walter Luna
Hi everybody, my name is Walter I am a new beginner with no programing experience. I am using OSX Lion, and successfully installed Python version 3. I am looking for a programing guide for beginners with no programing experience. Can you please suggest me a good one to use. Thank you. Walter

Re: [Tutor] new to python

2010-11-19 Thread Joel Schwartz
Great information. Thanks to everyone who replied. Joel _ From: Walter Prins [mailto:wpr...@gmail.com] Sent: Friday, November 19, 2010 5:52 AM To: Joel Schwartz Cc: Tutor@python.org Subject: Re: [Tutor] new to python On 19 November 2010 00:20, Joel Schwartz wrote: For those of

Re: [Tutor] new to python

2010-11-19 Thread Walter Prins
On 19 November 2010 00:20, Joel Schwartz wrote: > For those of us who are new to writing code that makes various software > packages interact with each other, can you say more about what "COM object > model" means in this context and where one can learn how to use it to make > Python interact wit

Re: [Tutor] new to python

2010-11-19 Thread Alan Gauld
"Alan Gauld" wrote COM = Common Object Model Oops, sorry. That should be COMPONENT Object Model... Alan G. ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] new to python

2010-11-18 Thread Emile van Sebille
On 11/18/2010 4:20 PM Joel Schwartz said... Walter, For those of us who are new to writing code that makes various software packages interact with each other, can you say more about what "COM object model" means in this context and where one can learn how to use it to make Python interact with E

Re: [Tutor] new to python

2010-11-18 Thread Alan Gauld
"Joel Schwartz" wrote packages interact with each other, can you say more about what "COM object model" means in this context and where one can learn how to use it to make Python interact with Excel and with Windows software in general. COM = Common Object Model It is a Microsoft standard

Re: [Tutor] new to python

2010-11-18 Thread Joel Schwartz
org [mailto:tutor-bounces+joel=joelschwartz@python.org] On Behalf Of Walter Prins Sent: Thursday, November 18, 2010 2:51 PM To: gary engstrom Cc: Tutor@python.org Subject: Re: [Tutor] new to python On 18 November 2010 21:13, gary engstrom wrote: Being new to python I was wondering if there is

Re: [Tutor] new to python

2010-11-18 Thread Walter Prins
On 18 November 2010 21:13, gary engstrom wrote: > Being new to python I was wondering if there is a way to import exel data > into pyrhon matrix/arrays so that I have some data to work with. I know R > uses Rcmdr as an easy interface > for excel data, which helps keep the reader engaged while lea

Re: [Tutor] new to python

2010-11-18 Thread Steven D'Aprano
gary engstrom wrote: Dear Python Tutor, Being new to python I was wondering if there is a way to import exel data into pyrhon matrix/arrays so that I have some data to work with. I know R uses Rcmdr as an easy interface for excel data, which helps keep the reader engaged while learning the langu

[Tutor] new to python

2010-11-18 Thread gary engstrom
Dear Python Tutor, Being new to python I was wondering if there is a way to import exel data into pyrhon matrix/arrays so that I have some data to work with. I know R uses Rcmdr as an easy interface for excel data, which helps keep the reader engaged while learning the language. Thanks G

Re: [Tutor] New to Python

2009-10-29 Thread Tim Golden
asteri...@petlover.com wrote: I am running Windows Vista. OK. Definite points for giving useful info up front. Do you know what remote desktop is? Yes. This is the tool I use to connect to my other severs on the network or alternatively I use my "Run" option (Start/Run) where you add in

Re: [Tutor] New to Python

2009-10-29 Thread asterix09
I am running Windows Vista. Do you know what remote desktop is? This is the tool I use to connect to my other severs on the network or alternatively I use my "Run" option (Start/Run) where you add in the IP address and connect to the server. I want to use python to do this for me. I can do it

Re: [Tutor] New to Python

2009-10-28 Thread Kent Johnson
e don't top-post. > > > -Original Message- > From: Kent Johnson > To: asteri...@petlover.com > Cc: *tutor python > Sent: Wed, Oct 28, 2009 1:18 pm > Subject: Re: [Tutor] New to Python > > Forwarding to the list with my reply (please use Reply All to reply

Re: [Tutor] New to Python

2009-10-28 Thread asterix09
Well I would have to remote to the machine that contains the log file and copy it from there. -Original Message- From: Kent Johnson To: asteri...@petlover.com Cc: *tutor python Sent: Wed, Oct 28, 2009 1:18 pm Subject: Re: [Tutor] New to Python Forwarding to the list with my reply

Re: [Tutor] New to Python

2009-10-28 Thread Dave Angel
Remember to hit Reply to all - Forwarding your message onto the list -- Forwarded message -- From: Date: Wed, Oct 28, 2009 at 1:00 AM Subject: Re: [Tutor] New to Python To: sri...@gmail.com Hi Wayne, I will try as best to explain what I need to do. I have a log file. In

Re: [Tutor] New to Python

2009-10-28 Thread Kent Johnson
Forwarding to the list with my reply (please use Reply All to reply to the list): On Wed, Oct 28, 2009 at 2:01 AM, wrote: > Hi Kent, > > Thank you for replying to my request, really appreciate it. > > I am not familiar with all your connections that you have mentioned below. > > What I can tell

Re: [Tutor] New to Python

2009-10-27 Thread Alan Gauld
wrote How do you connect to a different server using python? (I have not used python before) Have you programmed before? If so in what languages? If you are a complete novice any kind of network programming is quite a challenge. If you are experienced can you give us a bit more context? -

Re: [Tutor] New to Python

2009-10-27 Thread Kent Johnson
On Tue, Oct 27, 2009 at 11:35 AM, wrote: > Hi there, > > How do you connect to a different server using python? (I have not used > python before) What kind of connection? The Python standard library includes modules which support raw sockets, http, ftp, smtp, xml-rpc and probably a few others. P

Re: [Tutor] New to Python

2009-10-27 Thread Wayne
On Tue, Oct 27, 2009 at 10:35 AM, wrote: > Hi there, > > How do you connect to a different server using python? (I have not used > python before) > What kind of server? What do you ultimately want to do? see: http://catb.org/~esr/faqs/smart-questions.html#beprecise for more info about asking

[Tutor] New to Python

2009-10-27 Thread asterix09
Hi there, How do you connect to a different server using python? (I have not used python before) Your help would be much appreciated. Kindest Regards, Dave ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http:/

Re: [Tutor] New to Python

2009-10-21 Thread Wayne
On Tue, Oct 20, 2009 at 4:55 PM, wrote: > Hello all, > Just started looking at Python, I have not programmed in a good 8-10 years > now, and find myself woefully behind. > Luckily it shouldn't take you too much time with python - it's a lot easier to learn/relearn than a lot of other languages!

Re: [Tutor] New to Python

2009-10-21 Thread Alan Gauld
wrote Just started looking at Python Welcome to the list. I was wondering if there was a Preset Menu and file system module Not really sure what you are expecting here? Can you give examples of what you would expect these to do? There are operations for acting on files, if thats what you

[Tutor] New to Python

2009-10-20 Thread lfseeney
Hello all, Just started looking at Python, I have not programmed in a good 8-10 years now, and find myself woefully behind. I was wondering if there was a Preset Menu and file system module for Python so I would not have to look at setting it all up? Trying to start again, Car wreck took

Re: [Tutor] New to python: some advises for image processing tool

2009-10-13 Thread Nicola De Quattro
> You currently think about > user interface stuff and not about the real problem, analyzing > spectra of stars. Well, I think is exactly as you say. I've never developed entirely a tool, so I started with the container rather then the content. Thanks for the very useful (however simple) observati

  1   2   >