代码搜索结果
找到约 10,000 项符合
Python 的代码
ogrepythontest.py
# Import the Ogre-to-Python bridge
import Ogre
class FL(Ogre.FrameListener, Ogre.KeyListener):
def __init__(self, win, cam):
Ogre.FrameListener.__init__(self)
Ogre.KeyListen
mesh.cpp
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "OgrePythonLink.h"
using namespace boost::python;
using namespace Ogre;
void exportMesh()
{
class_("Mesh", init
keylistener.cpp
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "OgrePythonLink.h"
#include "OgreKeyEvent.h"
#include "OgreEventListeners.h"
using namespace boost::python;
using namespace Ogre;
viewport.cpp
#ifdef HAVE_CONFIG_H
# include "config.h"
# ifdef HAVE_SNPRINTF
# undef HAVE_SNPRINTF
# endif
#endif
#include "OgrePythonLink.h"
using namespace boost::python;
using namespace
ogrepythontest.py
# Import the Ogre-to-Python bridge
import Ogre
class FL(Ogre.FrameListener, Ogre.KeyListener):
def __init__(self, win, cam):
Ogre.FrameListener.__init__(self)
Ogre.KeyListen
mesh.cpp
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "OgrePythonLink.h"
using namespace boost::python;
using namespace Ogre;
void exportMesh()
{
class_("Mesh", init
keylistener.cpp
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "OgrePythonLink.h"
#include "OgreKeyEvent.h"
#include "OgreEventListeners.h"
using namespace boost::python;
using namespace Ogre;
viewport.cpp
#ifdef HAVE_CONFIG_H
# include "config.h"
# ifdef HAVE_SNPRINTF
# undef HAVE_SNPRINTF
# endif
#endif
#include "OgrePythonLink.h"
using namespace boost::python;
using namespace
mimeviewer.py
#! /usr/bin/env python
# View a single MIME multipart message.
# Display each part as a box.
import string
from types import *
from Tkinter import *
from ScrolledText import ScrolledText
class Mime
www7.py
#! /usr/bin/env python
# www7.py -- display the contents of a URL in a Text widget
# - set window title
# - make window resizable
# - update display while reading
import sys
import urllib
from Tkint