Re: [Tutor] Need help with python script

2014-08-04 Thread P McCombs
Sorry, I missed copying this to the list. On Aug 4, 2014 8:13 AM, "P McCombs" wrote: > > > On Jul 31, 2014 4:50 PM, "McKinley, Brett D." wrote: > > > > I would like to see if someone can help me with a python script. I’m trying to export a file geodatabase feature class to csv file. This is wh

Re: [Tutor] Need help with python script

2014-08-04 Thread Joel Goldstick
On Mon, Aug 4, 2014 at 11:20 AM, P McCombs wrote: > Sorry, I missed copying this to the list. > > On Aug 4, 2014 8:13 AM, "P McCombs" wrote: > > >> >> >> On Jul 31, 2014 4:50 PM, "McKinley, Brett D." wrote: >> > >> > I would like to see if someone can help me with a python script. I’m >> > tryi

[Tutor] Python; webcam

2014-08-04 Thread René Mathieu
Hello there I'm writing a Python program and I would like to display a video device (webcam). How should I write in the program? thank you very much MATHIEU René ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: htt

[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 - 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

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] Python; webcam

2014-08-04 Thread Danny Yoo
On Mon, Aug 4, 2014 at 7:10 AM, René Mathieu wrote: > Hello there > > I'm writing a Python program and I would like to display a video device > (webcam). How should I write in the program? Hi Mathieu René, I'm unsure because I have no direct experience with this. You might want to check the ge

Re: [Tutor] Python; webcam

2014-08-04 Thread Vipul Sharma
You should try Computer Vision libraries for python like OpenCV and SimpleCV. They are best for playing with the camera, videos and for image processing tasks. My personal favorite is OpenCV you should definitely try it. https://opencv-python-tutroals.readthedocs.org/en/latest/py_tutorials/py_setup

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 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 >>

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

2014-08-04 Thread Greg Markham
On Mon, Aug 4, 2014 at 1:38 PM, Danny Yoo wrote: > > > > 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

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 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 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