Skip to content
murmot

Results for “python script hello world example code java site:mail.python.org”

  • mail.python.org

    [Tutor] C++, Java, Python, metrics, etc. (was Re: Re: small ...

    Jul 17, 2002 · At my last job I worked on the most significant java project I have worked on, but we didn't measure it for size. At my current job I have mostly been pulling things together, and also making a couple of zope-based web apps. They're not huge, though, and it would be hard to measure LOC with the mix of python scripts, page templates, and SQL.

  • mail.python.org

    [Tutor] Drawing simple graphics objects

    Hello, This is one of the questions in Python Programming by Zelle.Modify the example in the book to program to draw a square instead of a circle. # Additionally, have a new square drawn each time the mouse is clicked. from graphics import *.

  • mail.python.org

    [Tutor] Fwd: executing a string representing python code

    Mar 5, 2007 · The result seems pretty similar to eval (), allthough eval () seems more straight-forward if the aim is to assign the returned value ("Done") to a variable. >>> eval ('some_func ("wasn\'t that cool")') Hello World wasn't that cool 'Done' in other words >>> s = eval ('some_func ("wasn\'t that cool")') Hello World wasn't that cool >>> s 'Done ...

  • mail.python.org

    [C++-sig] Re: help building hello world example on Debian

    Under Linux (I can't do this in Windows yet) I have had no difficulty > using distutils to build boost.python extensions.Just one question about the config.py in the shoutpy sources: Why. libraries.extend(("boost_python"

  • mail.python.org

    [Python-Dev] New PEP: 319

    Jun 16, 2003 · In my opinion, this is one of the glaring *flaws* of the java threading and synchronization model. Locks are entities of their own, to be used when synchronization is needed.

  • mail.python.org

    [python-win32] Re: Window capture using WM_PRINT and Python

    I'm a Java developper and I wish to make a capture of an offscreen window >(on WinXP). It's not possible in Java, so I use a python script and >WM_PRINT, but it doesn't seem to work. I think device contexts are not shareable between processes, so you can't pass a DC handle.

  • mail.python.org

    Mailman 3 May 2017 - Twisted-web - python.org

    Hello, I have an optimization question in the realm of "before I do something foolish..." regarding the contextFactory passed to twisted.web.client.Agent. Background: I have (several) twisted applications running on a Cortex-A5 system, one of which interfaces with a web service using the twisted.web.client.Agent API*.

  • mail.python.org

    [C++-sig] Re: help building hello world example on Debian

    Daniel Holth <dholth at fastmail.fm>, 2004 > # based on David Abraham's example from Boost.Python > > #. This file is not important unless you want to use boost-jam; > # bjam -sBUILD=release builds a smaller binary than setup.py > > #. This is the top of our own project tree...

  • mail.python.org

    [Tutor] A quicky example of writing a SocketServer ... - Python

    Aug 10, 2002 · The standard library's 'SocketServer' module does have some documentation, but it's quite dense, and doesn't come with a working example. It looks a lot more intimidating than it should be, but it's actually not too scary. Here is a simple "echoing" server that repeats whatever is being sent to it.

  • mail.python.org

    [Python-3000] It's a statement! It's a function! It's BOTH!

    Apr 2, 2006 · But the Python parser doesn't read the modules it imports! When it sees "import foo" it just generates a few bytecodes that cause foo to be imported at run time, and notes that foo is now a local variable (yes, local!). If there are any (-:print:-) declarations in foo.py, the parser won't know about them.