Python PGU库-如何安装? [英] Python PGU Library - how do I install it?

查看:423
本文介绍了Python PGU库-如何安装?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在Windows 8上使用pygame在Python中开发游戏,我想添加一些按钮和内容.我找到了一个名为 PGU 的库,但是我真的不知道如何安装它

I am developing a game in Python with pygame on Windows 8, and I wanted to add some buttons and stuff. I found a library called PGU, but I don't really know how to install it.

如果有人可以帮助我将PGU添加到我的pygame中,那就太好了.

If somebody can help me adding PGU to my pygame, it would be great.

推荐答案

我刚刚找到了答案.下载PGU并将其解压缩时,该文件夹中还有另外两个名为"pgu"和"data"的文件夹.将它们复制到项目/程序的根文件夹中,就可以完成!

I just found the answer. When you download PGU and unzip it, inside the folder there are other two folders named "pgu" and "data". Copy them into your project's/program's root folder and you're done!

有关更多信息: https://code.google.com/p/pgu/source/browse/trunk/INSTALL.txt?r=21

这篇关于Python PGU库-如何安装?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆