- Upvotes Received
- 4
- Posts with Upvotes
- 3
- Upvoting Members
- 3
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
8 Posted Topics
Re: You might want to look at https://github.com/bunkahle/py2php as a translation tool to convert python scripts to php. | |
Re: if you want to play video files this code should work: from __future__ import print_function import wx import wx.media import os #---------------------------------------------------------------------- class StaticText(wx.StaticText): """ A StaticText that only updates the label if it has changed, to help reduce potential flicker since these controls would be updated very frequently otherwise. … | |
Is there anybody having a code snippet for using the Bresenham circle algo and modifiying it in a way so that it actually draws arcs with specified start and end angle instead of complete circles? A Bresenham algo for a complete circle in Python would be like this: [CODE]import PIL.Image, … | |
Re: If you want to find out about the methods in a DLL you can use the pefile module available at [url]http://code.google.com/p/pefile/[/url] Here is some sample code: [code] import os, pefile dll = 'C:\Windows\system32\comdlg32.dll' pe = pefile.PE(dll) """ pefile module can be downloaded at: http://code.google.com/p/pefile/ """ print "DLL IMPORT Reading (DLL … | |
Hi, I am trying to install Ming for Python 2.6 I have downloaded the windows setup from [url]http://sourceforge.net/projects/ming/files/Releases/Ming%200.4.3/ming-0.4.3.zip/download[/url] but I am running into problems since if I try to run the setup.py inside the directory py_ext like setup2.py build --compiler=mingw32 I get the following error message: running build running build_py … | |
Re: Here is a more sophisticated code for more cases than just for *@*.com which uses no regexp but still does its job quite well for checking on valid email addresses. If you have any improvements or any cases in which this code does not work feel free to comment. Originally … | |
I have written code to use the automatic CD-Burn routine inside WinXP and above. But I cannot start the CD Writing Wizard by python code. Has anybody any idea how to do it? This is my code so far: [CODE]#!/usr/bin/env python # -*- coding: utf-8 -*- import os, sys import … | |
Hi, I tried the following code to capture the contents of the foreground window to an avi-file. It works under Python 2.6 and OpenCV2.0 though it only takes about 210 shots and then crashes. I think it might be a memory problem. Any ideas? You need to resize the window … |
The End.