How to run this puthon code

This is the place for queries that don't fit in any of the other categories.

How to run this puthon code

Postby achin » Wed Sep 25, 2013 5:27 am

hi, i am basically related to Java , and i am working on universal remote so i have allot of re-research on this topic and finally i found a python code on this site ...
i have no idea about python , as i have read that the python code will create a wave file with input of pronto hex code and the end of python code you can see some Samsung pronto hex codes
and Now i want to run that python code so i google and find how to run python code online and find this link
and i pasted the entire python code but getting some errors, because i have no idea about python
please help me
Code: Select all
Runtime error  comments (0)
  stdin copy
Standard input is empty
Standard output is empty

Traceback (most recent call last):
  File "", line 6, in <module>
    import numpy as N
ImportError: No module named numpy
Last edited by Mekire on Wed Sep 25, 2013 6:22 am, edited 1 time in total.
Reason: First post lock. Code tags added; please read the "New Users, Read This" sticky.
Posts: 1
Joined: Wed Sep 25, 2013 5:24 am

Re: How to run this puthon code

Postby Mekire » Wed Sep 25, 2013 6:18 am

Are you trying to run this with an online interpreter? That probably isn't going to work. Online interpreters are basically just toys for testing snippets or learning; they don't often contain 3rd party modules. You will need to download python. Also, if the distribution of python you download doesn't automatically include numpy you will need to install that as well. Before moving forward with this current project however, I recommend you go through some basic python tutorials.

New Users, Read This
  • Use code tags when posting code.
  • Include any errors with your post (in code tags).
  • Describe your problem; not your chosen solution.
  • Make examples the minimum length to demonstrate your issue.
User avatar
Posts: 1588
Joined: Thu Feb 07, 2013 11:33 pm
Location: Tucson, Arizona

Return to General Coding Help

Who is online

Users browsing this forum: Bing [Bot] and 6 guests