feeblethemighty's Recent Forum Activity

  • Even though it works better than it did before--even managing to get the AIML example working perfectly as a .py script--i can't seem to get it to compile with py2exe properly. When i compile it and try to run the AIML exe, it says "WARNING: No match found for input: load aiml b" and anytime i try typing, it says the same thing but with whatever i typed in the prompt.

    Mostly, i wanted to learn how to import python into Construct so i can import Pygame and be able to use a joystick with my games. If you can point me in the direction of the libraries i need for that, i would be happy. I would definitely be MORE happy if i could get this whole py2exe thing to work myself, but so it goes.

    I think i may take a break from trying to get libraries to import for now and to try and learn Python on it's own. Thanks for your help and tutorials, though! Much appreciated.

  • Err...okay i figured it out. Somehow. This is how i did it.

    So, i had installed ActivePython which set up my file dependancies properly (which the normal distro of python did NOT do, much to my frustration) and it gave me PythonWin, a GUI Python editor.

    I made hello.py and setup.py for py2exe as per stated in the tutorial, then i made setup.py into setup.pyc by opening setup.py in PythonWin and clicking "import" which gave this output in PythonWin:

    [quote:2fsxuk02]File "C:\Python26\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py", line 427, in ImportFile

    exec codeObj in __main__.__dict__

    File "<auto import>", line 1, in <module>

    File "C:\Pythonery\setup.py", line 4, in <module>

    setup(console=["hello.py"])

    File "C:\Python26\lib\distutils\core.py", line 140, in setup

    raise SystemExit, gen_usage(dist.script_name) + "\nerror: %s" % msg

    SystemExit: usage: [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]

    or: --help [cmd1 cmd2 ...]

    or: --help-commands

    or: cmd --help

    error: no commands supplied

    Then, i could use the command "setup.pyc py2exe" (instead of "setup.py py2exe" like it says in the tutorial) and it compiles properly!

    I'm completely new at Python and i kinda feel like i stumbled on this solution, so if someone can explain why it worked, i will be happy.

  • Yeah, it comes with the ActivePython install, i believe.

    At least, when i downloaded the package you linked to and i tried installing it, it gave me an error like: "cannot create a directory when one exists already".

  • Okay, so i installed ActiveState which came with PythonWin something or other and now it seems i can actually run .py files from the command prompt. I think that is a step in the right direction. But now, when i run "setup.py" i get this:

    <img src="http://dl.dropbox.com/u/1289061/Pics/python%20frustration.PNG">

    GAH! Why can't it just work?

    EDIT: Great. So, apparently py2exe is just not working with Python 2.6. Check out the bug tracker here.

  • Weird. I solved the path problem...kind of.

    I realized that my python path was python2 instead of python26 like it's supposed to be, so i reinstalled python to the new directory. I tried the "setup.py py2exe" in my "c:\pythonery" directory where i have hello.py and setup.py, and as soon as i hit enter, Windows7 pops up the "what program would you like to use to open setup.py?" window. I tried selecting the exe in the py2exe directory but it doesn't do anything.

    Not sure where i should go with this. I'd really like to get Python with Construct up and running.

    EDIT: Holy hell this is annoying. For some reason, i cannot associate .py files with the Python executable. I think that's why it's not working. If anyone has any ideas, i'm all ears.

  • So i'm going through your tutorial part one, coding Python through IDLE, but i can't seem to get the "setup.py" script to work. I made the "hello.py" script, got it to work through IDLE, made the "setup.py" script and typed in "setup.py py2exe" in the command window but get nothing. No output, no dist directory.

    Could it be that i'm running Windows 7? For some reason the py2exe installer wouldn't work unless i made it compatible for WinXP.

  • Sigh. That's what i thought. Thanks for humoring me anyways!

  • Damn. That is sad news.

    Do you know how that would work in Python? Would it be a smooth enough transition to be good enough for a presentation style setting?

  • Anyone know the status on fixing this AVI object?

    'Cause when it gets fixed, Construct could then be used as a piece of rather powerful multimedia presentation software. I've been trying to find something like powerpoint that does video too and this is the closest thing i've found so far except that the video does not go away when moving to the next layout.

    Please fix this!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hey everybody,

    I'm making an updated version of Guyman Hero, my entry into the TIGSource Assemblee competition.

    The new version has some slightly updated visuals, a flashlight mechanic, and new level design. Please check it out on GameJolt to try it out. I'd really appreciate some feedback.

    Please note that the levels are far from complete, so they will eventually just run out. Don't worry, i'm working on it.

    Here is a screenshot to whet your appetite.

    <img src="http://www.feeblethemighty.com/wp-content/uploads/2010/02/guyman-hero-generic1.png">

    Thanks!

  • Hmm...once again i am skeptical of users whose posts are all advertisements for a website. It sounds a little too good to be true.

  • This snake thing is pretty sweet. I'd love to know how it works. I hope you're still working on it.

feeblethemighty's avatar

feeblethemighty

Member since 1 Jun, 2009

None one is following feeblethemighty yet!

Trophy Case

  • 15-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

17/44
How to earn trophies