• Advertisement
Sign in to follow this  

Python & pySDL2

This topic is 1251 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi

 

I have been trying to learn python for quite some time, with little success.  So i have decided to create a project and learn on the way.

 

Im hoping to use pySDL2 as pygame is kind of outdated.  I was able to install pySDL2 without problems.  The only problem I am having now is understanding the second line of the pySDL2 tutorial.  http://pysdl2.readthedocs.org/en/rel_0_9_3/tutorial/helloworld.html

RESOURCES = sdl2.ext.Resources(__file__, "resources")

I realise this line creates a resource folder but due to my inexperience I am not able to fix this problem.  i was hoping someone here has experience and would be able to explain so I can move on with the rest of the tutorial.

 

Thanks so much

 

Dan

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement