Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(135)  |  Call(89)  |  Derive(0)  |  Import(46)

src/k/a/kamaelia-HEAD/Sketches/MPS/BugReports/FixTests/Kamaelia/Examples/SimpleGraphicalApps/BouncingCatGame/Sprites/SpriteScheduler.py   kamaelia(Download)
 
from Axon.Component import component
from Axon.Ipc import newComponent
 
class SpriteScheduler(component):

src/k/a/kamaelia-HEAD/Sketches/MPS/BugReports/FixTests/Kamaelia/Examples/Multicast/BasicSystems/MulticastStreamingServer.py   kamaelia(Download)
 
        self.addChildren(source, sender)
        yield Axon.Ipc.newComponent(*(self.children))
        while 1:
           yield 1

src/k/a/kamaelia-HEAD/Sketches/MPS/BugReports/FixTests/Kamaelia/Examples/Multicast/BasicSystems/MulticastStreamingClient.py   kamaelia(Download)
 
        self.addChildren(receiver, detupler, decoder, player)
        yield Axon.Ipc.newComponent(*(self.children))
        while 1:
           yield 1

src/k/a/kamaelia-HEAD/Code/Python/Kamaelia/Examples/SimpleGraphicalApps/BouncingCatGame/Sprites/SpriteScheduler.py   kamaelia(Download)
 
from Axon.Component import component
from Axon.Ipc import newComponent
 
class SpriteScheduler(component):

src/k/a/kamaelia-HEAD/Code/Python/Kamaelia/Examples/Multicast/BasicSystems/MulticastStreamingServer.py   kamaelia(Download)
 
        self.addChildren(source, sender)
        yield Axon.Ipc.newComponent(*(self.children))
        while 1:
           yield 1

src/k/a/kamaelia-HEAD/Code/Python/Kamaelia/Examples/Multicast/BasicSystems/MulticastStreamingClient.py   kamaelia(Download)
 
        self.addChildren(receiver, detupler, decoder, player)
        yield Axon.Ipc.newComponent(*(self.children))
        while 1:
           yield 1

src/k/a/Kamaelia-0.6.0/Examples/SimpleGraphicalApps/BouncingCatGame/Sprites/SpriteScheduler.py   Kamaelia(Download)
 
from Axon.Component import component
from Axon.Ipc import newComponent
 
class SpriteScheduler(component):

src/k/a/Kamaelia-0.6.0/Examples/Multicast/BasicSystems/MulticastStreamingServer.py   Kamaelia(Download)
 
        self.addChildren(source, sender)
        yield Axon.Ipc.newComponent(*(self.children))
        while 1:
           yield 1

src/k/a/Kamaelia-0.6.0/Examples/Multicast/BasicSystems/MulticastStreamingClient.py   Kamaelia(Download)
 
        self.addChildren(receiver, detupler, decoder, player)
        yield Axon.Ipc.newComponent(*(self.children))
        while 1:
           yield 1

src/k/a/kamaelia-HEAD/Sketches/CE/Server.py   kamaelia(Download)
import os, pygame, random, time, string, Image
from Axon.Component import component, scheduler, linkage
from Axon.Ipc import producerFinished, newComponent
from Kamaelia.KamaeliaIPC import socketShutdown
 
 
            self.addChildren(FileChooser, ImageGrabber, MyFileReader)
            return newComponent( FileChooser, ImageGrabber, MyFileReader )
         else:
            FileChooser = random_file_selector(self.directory, self.file_type, self.number_of_files_to_find)
 
            self.addChildren(FileChooser, MyFileReader)
            return newComponent( FileChooser, MyFileReader )             
 
      if self.dataReady("_readFinished"):
                    myServer = SimpleServer(self.protocol, self.port)
                    self.addChildren(myServer)
                    return newComponent(myServer)
 
                 elif clickedReset == True:
         myServer = SimpleServer(self.protocol, self.port)
         self.addChildren(myServer)
         return newComponent(myServer)
      return 1       
 

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next