- 博客(7)
- 资源 (5)
- 收藏
- 关注
原创 django用户验证的示例-自己写的
<br /> 初次写用户验证,不知道这样写用户验证还需要其他什么要点。大家都怎么写用户验证的,给点意见login.py#coding=utf-8from django.http import HttpResponsefrom django.shortcuts import render to responsefrom django.contrib.auth.models import Userfrom django.contrib.auth import authenticate
2010-06-21 18:53:00
1393
原创 关于pyclutter的timeline
动作的步骤是timelinealphabehaviorbehavior.apply(actor)timeline.start()clutter.main()如果是多actors,同时运行呢timelinealphabehaviorbehavior.apply(actor)timeline.start()timeline1alpha1behavior1behavior1.apply(actor1)timeline.start()timeline1.start()clutter.main()或者共用同一个tim
2010-06-20 17:04:00
489
原创 python-clutter 的动作 BehaviourPath
pyclutter的动作有以下几种:actor.set_reactive(True)设置为可运动clutter.BehaviourScale(x_scale_start, y_scale_start, x_scale_end, y_scale_end, alpha=True)缩放clutter.Alpha(timeline=None, func=None, data=None) 运动效果 func为效果函数clutter.BehaviourDepth(alpha=True, depth_start, dep
2010-06-20 07:57:00
687
原创 python-clutter做的一个立方体
<br />python-clutter的资料可真是稀缺呀,好不容易才找到几个demo,绚丽得很。<br />学着改了个立方体的,可以拿鼠标滑动,或通过上下左右键来旋转立方体。<br /><br />资料稀缺呀,这个小东西的代码<br />
2010-06-19 01:27:00
811
原创 准备写个linux下的千千静听
linux就是缺少个好的音乐播放器,集搜索,下载,歌词,播放,在线试听于一身。至少这些python可以实现,让我试试。1:暂且选定top100.cn这个google music的合作伙伴的资源吧,希望他不会介意。附加上百度搜索,这个以前做过。 http://www.lixiaoyong.net/blog/?p=222 http://forum.ubuntu.org.cn
2009-07-27 19:02:00
1785
6
原创 gps python serial nmea
使用GPS有一阵,今天突发奇想,使用python接受GPS信号。 GPS(garmin)使用的是串口线(当然也支持USB线)波特率为4800bps,python使用pyserial模块控制串口将GPS的接口协议调整为NMEA协议,使用pyserial接收到的信号(每两秒钟刷新一次)例如为$GPRMC,,V,,,,,,,230509,4.0,W,N*23$GPRMB,V,,,,,
2009-05-23 14:13:00
3071
原创 总结ubuntu升级后的配置
以下是ubuntu装好后的一些初始配置,作为个人笔记联网sudo pppoeconfpon dsl-providerpoff显卡fglrxinfo若显示:display: :0.0 screen: 0OpenGL vendor string: ATI Technologies Inc.OpenGL renderer string: ATI Mobility Radeon X1300OpenGL v
2008-12-07 14:01:00
637
songdown 1.1
2008-10-01
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人