1.��(chu��ng)������ ���ڳߴ磨300��300��
screen=pygame.display.set_mode((300,300))
2.�xȡ���؈DƬ
img1=pygame.image.load(r"1.jpg")
3.�������м��댦(du��)�� (0,0)�@ʾ��λ��
screen.blit(img1,(0,0))
4.ˢ�´������@ʾ���������Ќ�(du��)��
pygame.display.update()
5.�˳�����
sys.exit(0)
#��������
pygame.init() #��������Ҫ��ʼ��
#�@ȡ���w��(du��)�� (���C(j��)���w�ļ���·��,��̖(h��o))
text=pygame.font.Font(r"C:\Windows\Fonts\SIMLI.TTF",30)
#�O(sh��)�þ��w�ı���(n��i)�� �Ƿ���X
text_fmt=text.render(strr,True,(255,255,255))
#���ı��ӵ������� (80,100)�ı��@ʾλ��
screen.blit(text_fmt,(80,100))
�Г�(d��n)�������О����(d��o)�µķ���؟(z��)�Σ�
��վ�Й�(qu��n)������h���Р�(zh��ng)�h�u(p��ng)Փ��
���c���u(p��ng)Փ���������ѽ�(j��ng)��x������
�����l����