#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2004
    Posts
    35
    Rep Power
    10

    idea for a community program


    what do you think about doing a python file with gui that helps begginers in python to make executable files.
    I mean a good little program with many options for the advvanced programs too...
    maybe for you isnt a great idea but since this is one of the most common issues in the forum well i think it would be great... i mean a command line program would be usefull to, i dont know nothing about programming was just an idea

    i leave you here my stupid part

    i took the setup.py from this forum dont yellow at me for that

    Code:
    #!/usr/bin/env python
    
    from distutils.core import setup
    import py2exe, sys
    
    print """
    Make sure this file is in the same folder as the script you want to compile
    """
    script = raw_input("Input the name of the script you want to 'exelizar' : ")
    
    #Appends py2exe to the list of command like arguments. This makes it
    #possible to run the setup file by double clicking on it.
    sys.argv.append('py2exe')
    
    #Create a console application from the file named in the 'console'
    #option.
    setup(console = [script])
    i would be add more options for images, sound etc
    dunno..
  2. #2
  3. Hello World :)
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2003
    Location
    Hull, UK
    Posts
    2,537
    Rep Power
    69
    I think its a nice Idea, though the questions about how to run py2exe from the command line would be replaced with questions about the GUI . Still, I'll talk it over with some peoples and see what they think of the idea. Shouldn't take two long to hack something up anyway.

    Nice one,

    Mark.
    programming language development: www.netytan.com Hula

  4. #3
  5. Mini me.
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2003
    Location
    Cambridge, UK
    Posts
    783
    Rep Power
    13
    As a project I like the idea and was seriously thinking about this too as a whole sort of Python Project Manager plugin and front-end (PPM [tm grim 2004 ] to IDLE.

    But who keeps putting py2exe in their heads? It's way too soon for most of them to be thinking about it. ( I hope nobody takes that too personally )

    grim
  6. #4
  7. Hello World :)
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2003
    Location
    Hull, UK
    Posts
    2,537
    Rep Power
    69
    I for one take that very personally . Really lol. Anyway, hate to tell you this Grim, but PPM was already snatched up by Activestate for there PerlPackageManager; I think they have a PyPM too but I'm not 100% on that since I don't use the ActivePython dist' myself .
    programming language development: www.netytan.com Hula

  8. #5
  9. A wanna-be guru of some sort
    Devshed Novice (500 - 999 posts)

    Join Date
    Sep 2004
    Location
    Either online or offline
    Posts
    625
    Rep Power
    20
    I think that using py2exe from the very beginning is not the best idea for people who are trying to learn the language. That's my opinion. The idae is good, but I would not do that exclusively as a beginner's tool... rather as a tool for someone who has a solid knowledge of Python.

IMN logo majestic logo threadwatch logo seochat tools logo