Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My Python Journey//\\Q & A
#1
Hello SF.net

Thanks to this thread http://www.supportforums.net/showthread.php?tid=194 , I'm now starting to learn Python, mind you I'm still a beginner, I have had no experience with programming before, and so of course I'll have a few problems, and so I'll ask for help. I'm a fast learner, so I hope no one thinks I'm a skid that's too lazy to do anything.

That's why I've started this thread, so instead of starting a new thread every time I get an error, or I'm stuck somewhere, I'll just post in this 1 thread here asking and hopefully some people can help me.

OK with the intro done, I'm going to go ahead and ask my first question.

How do I execute files? I copied the source from here http://www.supportforums.net/showthread.php?tid=1856 (The roulette game) And pasted into the notepad-alike window and saved the file in C:\Python26 as Poker.py. I fired up shell (or I think I did) and I typed in
Quote:execfile("Poker.py")
I'm getting this error. Here are two pics of me trying to execute it in 1 computer, and the second pic on the 2nd computer. I don't know what I'm doing wrong.

After I get this settled out, I hope that the rest of my python experience becomes a whole lot smoother. Thumbsup

PIC 1

PIC 2

[Image: Dingo_Dog.jpg]
Reply


Messages In This Thread
My Python Journey//\\Q & A - by Dingo_Dog - 10-27-2009, 09:56 PM
RE: My Python Journey//\\Q & A - by L0iz - 10-28-2009, 01:17 PM
RE: My Python Journey//\\Q & A - by Spl3en - 10-28-2009, 01:55 PM
RE: My Python Journey//\\Q & A - by L0iz - 10-28-2009, 02:31 PM
RE: My Python Journey//\\Q & A - by Yoshi - 10-29-2009, 03:15 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Python Help Dεlluzion 3 2,009 09-30-2019, 12:59 AM
Last Post: samsmith001
  Simple Python Python Compiler Canoris 21 9,216 06-01-2011, 06:30 PM
Last Post: Filefinder
  Python 2 vs 3? Jake 8 2,681 12-11-2010, 04:13 PM
Last Post: Bursihido
  Python help Kharnage 2 910 02-12-2010, 09:07 PM
Last Post: Kharnage
  "==" and "is" in Python Canoris 1 852 02-07-2010, 03:55 PM
Last Post: uber1337

Forum Jump:


Users browsing this thread: 1 Guest(s)