Eric115's Profile User Rating: *****

Reputation: 63 Whiz
Group:
Authors
Active Posts:
700 (0.33 per day)
Joined:
19-January 09
Profile Views:
15,604
Last Active:
User is offline Oct 23 2014 07:09 AM
Currently:
Offline

Previous Fields

Country:
AU
OS Preference:
Windows
Favorite Browser:
FireFox
Favorite Processor:
AMD
Favorite Gaming Platform:
Who Cares
Your Car:
Who Cares
Dream Kudos:
250

Latest Visitors

Icon   Eric115 has now set his status

Posts I've Made

  1. In Topic: Count to a million

    Posted 23 Oct 2014

    View Postbelgarion262, on 23 October 2014 - 04:15 AM, said:

    14026 I can't believe you guys are still counting :P/>


    14027. I know right, I thought this thread would be long dead!
  2. In Topic: Count to a million

    Posted 24 May 2014

    14206.

    Checking in
  3. In Topic: Count to a million

    Posted 15 Feb 2014

    13897.
  4. In Topic: Making an exe file with Pyinstaller

    Posted 14 Aug 2013

    View Postpianist1119, on 18 July 2013 - 10:49 AM, said:

    Okay, really sorry if this is kind of obvious or I missed something. How do you package the rsrc in the executable? I usually use --onefile to compile my programs. Is there a way to make the code standalone, or will it run properly with the rsrc file just in the directory?

    Hi, It sounds like you are using pythoncard for your GUI. To package the rsrc file into your main exe, you need to put the rsrc file into your main code file. To do this, create a variable in your code (before you call your main class with the model.Background) and call it rsrc. Then where you call your class to actually start, you need to change the argument to have a two extra arguments to tell pythoncard that your rsrc is now in your main code like so:
    #imports and other stuff
    
    rsrc = #everything copied out of your rsrc file
    
    class main(model.Background) 
        #main stuff
    
    if __name__ == '__main__':
        app = model.Application(main, None, rsrc) #change the arguments here
        app.MainLoop()
    
    
    


    Then when you compile/run the program, it will use the variable rsrc instead of the actual .rsrc file.

    Hope that helps!
  5. In Topic: Count to a million

    Posted 14 Aug 2013

    13399.

My Information

Member Title:
coderさん
Age:
18 years old
Birthday:
December 3, 1995
Gender:
Interests:
I am interested in computers, technology, engineering and inventing/designing. I enjoy learning new languages, whether they are for computers or humans.
Full Name:
Eric Goodwin
Years Programming:
3
Programming Languages:
Python, HTML, PHP, CSS3, HTML5, Jquery, MySQL, JavaScript, Ajax

Contact Information

E-mail:
Private
Website URL:
Website URL  http://
Xfire:
Eric115

Comments

Page 1 of 1
  1. Photo

    aresh Icon

    05 Feb 2013 - 04:39
    Maybe you should get a life other than school.
  2. Photo

    aresh Icon

    26 Sep 2012 - 07:44
    Go on Eric, just one more post!
  3. Photo

    Eric115 Icon

    19 Jul 2012 - 22:08
    Hey Strawhat
  4. Photo

    strawhat89 Icon

    19 Jul 2012 - 04:14
    Hello
Page 1 of 1