Author Topic: Ninja-IDE help  (Read 681 times)

TeenHacker

  • Jr. Members
  • **
  • Posts: 68
  • Reputation: 2
  • 127.0.0.1 is where I feel at home.
  • iDevices: iPod Touch 4G 5.0.1
Ninja-IDE help
« on: September 26, 2012, 12:46:44 am »
  I have download Ninja-IDE for Windows 7 and it won't run
Code: [Select]
print 'Hello, World!' The same happens on Ninja-IDE on Ubuntu 12.04
Can someone tell me how to set it up properly?

[null]

  • Hero Member
  • *****
  • Posts: 646
  • Reputation: 42
  • the halloween jack is a real cool cat
  • Computers: I have a PC running Windows 7 that was built by my uncle. I also have a Newsmy T3 Android Tablet.
  • iDevices: iPod Touch 4G
Re: Ninja-IDE help
« Reply #1 on: September 26, 2012, 06:27:38 am »
It looks like the , is screwing with it. Try removing it.
__  __           ___    ___          
/\ \/\ \         /\_ \  /\_ \          
\ \ `\\ \  __  __\//\ \ \//\ \     
 \ \ , ` \/\ \/\ \ \ \ \  \ \ \          
  \ \ \`\ \ \ \_\ \ \_\ \_ \_\ \_
   \ \_\ \_\ \____/ /\____\/\____\
    \/_/\/_/\/___/  \/____/\/____/

Ironman

  • Administrator
  • Hero Member
  • *****
  • Posts: 5113
  • Reputation: 252
  • Badges:
  • Computers: ASUS UL50VT
  • iDevices: iPhone 5, iPhone 4S, iPhone 4, iPhone 3GS
Re: Ninja-IDE help
« Reply #2 on: September 26, 2012, 06:45:48 am »
Have you got python installed?
Click for How to Add Our Repo
If you're going to ask questions....
At least make them good ones.

Knowledge is the one thing that can never be taken from you

h4ck3rpr0n3

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3063
  • Reputation: 130
  • Developer, Genius :P :P
  • Badges:
  • Computers: HP Pavillion g7: Windows 7, BT5 R1, Ubuntu 12.04, Windows 8, Linux Mint
  • iDevices: ipod touch 3g, ipod touch 2g
Re: Ninja-IDE help
« Reply #3 on: September 26, 2012, 10:19:09 am »
Try using (") on either side instead of ('). I know your technically allowed to use either but still.
goals:
[] get developer status
[X] get 30+ karma
[X] get to hero member
[X] become part of the staff

languages i know:
JavaScript
CSS
HTML
PHP
C
C++
Cython
Python

8BitAce

  • Hero Member
  • *****
  • Posts: 703
  • Reputation: 57
  • If at first you don't succeed; call it version 1.0
  • Computers: Toshiba L505D-GS6000
  • iDevices: iPad 2 16GB WiFi, iPod 2g, iPod 4g
Re: Ninja-IDE help
« Reply #4 on: September 26, 2012, 11:21:09 am »
What file are you putting the code in, and how are you running it?

Don't like seeing ads? Click here to register!

h4ck3rpr0n3

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3063
  • Reputation: 130
  • Developer, Genius :P :P
  • Badges:
  • Computers: HP Pavillion g7: Windows 7, BT5 R1, Ubuntu 12.04, Windows 8, Linux Mint
  • iDevices: ipod touch 3g, ipod touch 2g
Re: Ninja-IDE help
« Reply #5 on: September 26, 2012, 09:53:15 pm »
What file are you putting the code in, and how are you running it?
Oh! You just reminded me of a silly problem I ran into, or mistake rather. Make sure you make a folder like "Programs" on your Desktop for example and link it there otherwise that'll happen. Happened to me haha.
goals:
[] get developer status
[X] get 30+ karma
[X] get to hero member
[X] become part of the staff

languages i know:
JavaScript
CSS
HTML
PHP
C
C++
Cython
Python

TeenHacker

  • Jr. Members
  • **
  • Posts: 68
  • Reputation: 2
  • 127.0.0.1 is where I feel at home.
  • iDevices: iPod Touch 4G 5.0.1
Re: Ninja-IDE help
« Reply #6 on: September 27, 2012, 02:30:49 am »
Sorry for the later reply, guys. My internet was down :3 uh, I just click on a new file and type in the code. But I think I'm doing something wrong. Can you tell me the process of make a Python program?

UberN00b

  • Hero Member
  • *****
  • Posts: 529
  • Reputation: 23
  • Perfection is a process.
  • Computers: em250-kav60 netbook
  • iDevices: iPhone 4
Re: Ninja-IDE help
« Reply #7 on: September 28, 2012, 04:31:30 pm »
  I have download Ninja-IDE for Windows 7 and it won't run
Code: [Select]
print 'Hello, World!'
Don't you have to place a / or \ infront of the comma so the interpreter or whatever ignores the symbol?
A million strands of spiderwebs weaved to make my vest!

TeenHacker

  • Jr. Members
  • **
  • Posts: 68
  • Reputation: 2
  • 127.0.0.1 is where I feel at home.
  • iDevices: iPod Touch 4G 5.0.1
Re: Ninja-IDE help
« Reply #8 on: September 28, 2012, 05:59:14 pm »
No, that's only for Apostrophes. say you wanted to say, 'This is John's house..' It would be something like this:
Code: [Select]
print 'This is John\'s house.' You don't have to use a slash for commas.

On a different note; I fixed my problem. I just didn't have python installed. :P Thanks for all the help, though! :)

N33n0Gr33n

  • Full Member
  • ***
  • Posts: 116
  • Reputation: 1
  • Rogue ininja
  • Computers: Dell,HP
  • iDevices: Iphone4,HTC
Re: Ninja-IDE help
« Reply #9 on: September 30, 2012, 04:15:47 am »
I think he's talking about the script or program he wrote, if I'm understanding
correctly, your program wont run. If so save your program and press CTRL+F6.
and also make sure you have python installed as stated before. I had a similar problem too. I was pressing the green run button doesn't work for some reason.

Don't like seeing ads? Click here to register!

TeenHacker

  • Jr. Members
  • **
  • Posts: 68
  • Reputation: 2
  • 127.0.0.1 is where I feel at home.
  • iDevices: iPod Touch 4G 5.0.1
Re: Ninja-IDE help
« Reply #10 on: September 30, 2012, 04:37:22 am »
Yeah. the Run command doesn't work. I had to use the Run File command; which is ctrl+F6 :P

N33n0Gr33n

  • Full Member
  • ***
  • Posts: 116
  • Reputation: 1
  • Rogue ininja
  • Computers: Dell,HP
  • iDevices: Iphone4,HTC
Re: Ninja-IDE help
« Reply #11 on: September 30, 2012, 12:24:35 pm »
I had a feeling that's what you ment. I had the same issue, it's funny because Run with F6 worked, just once though.

TeenHacker

  • Jr. Members
  • **
  • Posts: 68
  • Reputation: 2
  • 127.0.0.1 is where I feel at home.
  • iDevices: iPod Touch 4G 5.0.1
Re: Ninja-IDE help
« Reply #12 on: September 30, 2012, 04:51:50 pm »
What is F6 even meant to do?

N33n0Gr33n

  • Full Member
  • ***
  • Posts: 116
  • Reputation: 1
  • Rogue ininja
  • Computers: Dell,HP
  • iDevices: Iphone4,HTC
Re: Ninja-IDE help
« Reply #13 on: September 30, 2012, 06:04:08 pm »
CTRL F6 is ment run the file, which doesn't make sense because in pythons propriety IDE the it's installed with, all you have to do is CTRL-s to save and F5 to run the program.I think there's a auto save too. Np++ is a simple and straight forward I'm using all three all three bahave differently.
I don't mean to run your eyes, but I'm more comfortable with running power shell with py IDE or with np++.

TeenHacker

  • Jr. Members
  • **
  • Posts: 68
  • Reputation: 2
  • 127.0.0.1 is where I feel at home.
  • iDevices: iPod Touch 4G 5.0.1
Re: Ninja-IDE help
« Reply #14 on: September 30, 2012, 07:08:53 pm »
Yeah, I'm just using Ninja-IDE on Ubuntu 12.04 because I only have it working on there and Python IDLE on Windows :P