I have a SUPER NOOB question...

  • (2 Pages)
  • +
  • 1
  • 2

17 Replies - 791 Views - Last Post: 25 August 2011 - 05:26 PM Rate Topic: -----

#1 iJasonTATE  Icon User is offline

  • New D.I.C Head

Reputation: -10
  • View blog
  • Posts: 41
  • Joined: 14-August 11

I have a SUPER NOOB question...

Posted 24 August 2011 - 06:19 PM

I'm sorry for my lack of knowledge but I'm just a beginner. How do I run my cointoss.py program in the command prompt? The cointoss.py is located on my desktop. Could someone give me step by step instructions on how to do this please? I'm running Windows Vista.

Thanks, Jason
Is This A Good Question/Topic? 0
  • +

Replies To: I have a SUPER NOOB question...

#2 darorck  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 23-August 11

Re: I have a SUPER NOOB question...

Posted 24 August 2011 - 06:55 PM

Windows key + R - type cmd (command promp) - go to desktop ( maybe only type> cd desktop) - type> python cointoss.py
Was This Post Helpful? 0
  • +
  • -

#3 heyoman1  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 64
  • View blog
  • Posts: 735
  • Joined: 30-November 09

Re: I have a SUPER NOOB question...

Posted 24 August 2011 - 10:57 PM

Just go in the terminal/command prompt and type:

python myfile.py

Make sure the file is in your current directory when running this command!

This post has been edited by heyoman1: 24 August 2011 - 10:58 PM

Was This Post Helpful? 0
  • +
  • -

#4 CryptochildXR  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 15
  • Joined: 29-January 10

Re: I have a SUPER NOOB question...

Posted 25 August 2011 - 04:55 AM

why run it on cmd the simplest way is to run the python shell press ctrl+o the browse through till you find the file you want then open. open it then press f5
Was This Post Helpful? 0
  • +
  • -

#5 iJasonTATE  Icon User is offline

  • New D.I.C Head

Reputation: -10
  • View blog
  • Posts: 41
  • Joined: 14-August 11

Re: I have a SUPER NOOB question...

Posted 25 August 2011 - 06:27 AM

It's still not working. Whatever, I'm quitting programming.
Was This Post Helpful? -1
  • +
  • -

#6 iJasonTATE  Icon User is offline

  • New D.I.C Head

Reputation: -10
  • View blog
  • Posts: 41
  • Joined: 14-August 11

Re: I have a SUPER NOOB question...

Posted 25 August 2011 - 10:41 AM

NOTHING WORKS!!!!! No matter what I do I cant get a dang program to run. I suck soooooo bad. I'm quitting.
Was This Post Helpful? -2
  • +
  • -

#7 darorck  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 23-August 11

Re: I have a SUPER NOOB question...

Posted 25 August 2011 - 10:53 AM

do you have python installed?
Was This Post Helpful? 0
  • +
  • -

#8 darek9576  Icon User is offline

  • D.I.C Lover

Reputation: 198
  • View blog
  • Posts: 1,686
  • Joined: 13-March 10

Re: I have a SUPER NOOB question...

Posted 25 August 2011 - 12:23 PM

View PostiJasonTATE, on 25 August 2011 - 06:27 AM, said:

It's still not working. Whatever, I'm quitting programming.

do it
Was This Post Helpful? -1
  • +
  • -

#9 Simown  Icon User is offline

  • Blue Sprat
  • member icon

Reputation: 319
  • View blog
  • Posts: 650
  • Joined: 20-May 10

Re: I have a SUPER NOOB question...

Posted 25 August 2011 - 02:20 PM

You can't quit every time you have a problem - we all have programming problems, even the experts have days when they are stuck on the most simple things. If we all gave up programming when we had a problem, there wouldn't be half the people that are on the forum today, it's a part of programming - getting a problem and working out a solution.

Now, explain step by step what you are doing and what feedback the computer gives you - and then someone can try and help again. Ok?
Was This Post Helpful? 2
  • +
  • -

#10 iJasonTATE  Icon User is offline

  • New D.I.C Head

Reputation: -10
  • View blog
  • Posts: 41
  • Joined: 14-August 11

Re: I have a SUPER NOOB question...

Posted 25 August 2011 - 03:05 PM

All the "Solutions" people give me don't work!

I'm trying to run a simple program I interpreted. Whenever I try to run it in the python shell, I get "Invalid syntax" as feedback. Whenever I try to run it in the CMD it just doesn't work. Nothing anyone is telling me is working! I've tried everything, I cant do it.
Was This Post Helpful? -2
  • +
  • -

#11 Dogstopper  Icon User is offline

  • The Ninjaducky
  • member icon



Reputation: 2870
  • View blog
  • Posts: 11,025
  • Joined: 15-July 08

Re: I have a SUPER NOOB question...

Posted 25 August 2011 - 03:17 PM

To be fair, you haven't given us much to work with. Remember that we are programmers and rely on error messages and diagnostics to establish what is wrong with something. Saying "it didn't work" isn't helping us help you. Tell us what HAPPENED when you tried.
Was This Post Helpful? 0
  • +
  • -

#12 iJasonTATE  Icon User is offline

  • New D.I.C Head

Reputation: -10
  • View blog
  • Posts: 41
  • Joined: 14-August 11

Re: I have a SUPER NOOB question...

Posted 25 August 2011 - 03:25 PM

I just elaborated. Gosh you people... nvm. THE ERROR IS INVALID SYNTAX!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Other people run the program fun. I'm going to a different forum.
Was This Post Helpful? -6
  • +
  • -

#13 Dogstopper  Icon User is offline

  • The Ninjaducky
  • member icon



Reputation: 2870
  • View blog
  • Posts: 11,025
  • Joined: 15-July 08

Re: I have a SUPER NOOB question...

Posted 25 August 2011 - 03:27 PM

I'm sorry you feel that way. Good luck!
Was This Post Helpful? 0
  • +
  • -

#14 iJasonTATE  Icon User is offline

  • New D.I.C Head

Reputation: -10
  • View blog
  • Posts: 41
  • Joined: 14-August 11

Re: I have a SUPER NOOB question...

Posted 25 August 2011 - 03:42 PM

Knowone is being the slightest bit helpful. I love it.
Was This Post Helpful? -4
  • +
  • -

#15 iJasonTATE  Icon User is offline

  • New D.I.C Head

Reputation: -10
  • View blog
  • Posts: 41
  • Joined: 14-August 11

Re: I have a SUPER NOOB question...

Posted 25 August 2011 - 04:49 PM

Fixed it MYSELF. Thanks for the help. Not.
Was This Post Helpful? -3
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2