| |
thread by: ccgrl451 |
last post Jan 8 '10 by: ccgrl451
##Christy Pham
##Creative Computing, 4
##December 18, 2009
from turtle import *
from random import*
class Pacman(Turtle):
def __init__(self):
Turtle.__init__(self)
|
thread by: heiro |
last post Jan 22 '10 by: heiro
hi Everyone,
Can you please help me on how to convert dynamic pages to statics web pages like in php without affecting your dynamic page?
I'm using CGI Python...
Thanks
|
thread by: BirdaoGwra |
last post Jan 25 '10 by: BirdaoGwra
Hi,
I hv created an application with Tkinter/PIL in python25. It can import an image into the canvas. Now could someone kindly tell me how to select and move that image with mouse? Any help would be really appreciated.
# BirdaoGwra
# January 25, 2010
import sys, os, math
from Tkinter import *
import Tkinter as tk
|
thread by: saskoPython |
last post Feb 8 '10 by: saskoPython
Is there code snippet for python and xmpp to connect on localhost (127.0.0.1) ie host machine with openfire server running?
It seams to me that xmpp always connect on WAN IP's!
Any help?
|
thread by: curiouskit79 |
last post Feb 13 '10 by: curiouskit79
I need to know when a user opens a file.
1. Python process that is constant
2. File is *checked in* through perforce and is not writable
3. The file is opened using one of several programs.
ex. Can be accessed through Photoshop, paint ets
4. When the user opens the file or a file in a directory - python can then say hey are you...
|
thread by: chria85 |
last post Mar 1 '10 by: chria85
Hi,
I'm having problem with a precompiled .pyd file to use on another machine. I have created a python package which involves parts written in cython and I have now created a precompiled version using windows xp as to easily install it on another computer, also using windows xp. I successfully installed it on one machine but on the other I get...
|
thread by: sanjayrjain |
last post Mar 2 '10 by: sanjayrjain
Hi ,
I'm using python 2.3 version which is a default version present in linux 4.4.
I have few queries w.r.t python:
1) How can capture the UDP packet and read the TTL value from it?
usually i did manually using tcpdump tool. But now i want to automate it using a python script. Is it possible to achieve this ? If yes , how?
|
| |
thread by: gloris |
last post Mar 4 '10 by: gloris
Hi,
What is the best way in python find the process name and owner?
Now i use WMI, but this version is too slow.
|
thread by: Pavol |
last post Mar 11 '10 by: Pavol
Hi, I'm quite new to Python and would appreciate help. My NB IDE 6.8 has Python and Jython Distribution plugins installed. I have Python 3.1.1 installed on my PC. I can 'run' my script ok but once I try to use debug feature in the NetBeans 6.8 the IDE aborts with errors in the debug python scripts.
Here is an example - ...
|
thread by: Thebuilderofdoom |
last post Mar 16 '10 by: Thebuilderofdoom
when i write a program in python compile it with py2exe and how you shell the complied .exe Like:
Shell test.exe C:\test1.txt
it will write pie at the end
so how you do it?
|
thread by: gretty |
last post Mar 24 '10 by: gretty
I have made a Python App(really script) that will check a stocks current values from a website & save that data to a SQLite 3 database.
I am looking for any suggestions & criticisms on what I should do better or anything at all but mainly in these areas:
Any advice criticism would be really helpful.
App:
"""
*Stock Data Builder*
|
thread by: cindrie |
last post Mar 27 '10 by: cindrie
please correct my code using boa constructor
------------frame1---------------
#Boa:Frame:Frame1
import wx
import Frame2
import Frame3
|
thread by: jiee |
last post Apr 3 '10 by: jiee
I'm working on this Python package for RSA implementation <link removed>,However,It only gives a RSA implementation without PKCS1 padding.
I'm now trying to improve the code snippets for PKCS1 padding. I followed the RFC2313 http://www.faqs.org/rfcs/rfc2313.html and get a list object like this:
m =
According to RFC2313, the list above is...
|
thread by: dmoney10 |
last post Apr 5 '10 by: dmoney10
I need to Convert UTMS to DD in python and im hoping there is a code. because right now I am using model builer in Arcgis to do it but i have to use VB which wont work when i use the code in python. PLease help
|
thread by: wtzolt |
last post Apr 7 '10 by: wtzolt
Question regarding compiling *.py script.
Everything works fine when I compile the script except that there is no "theme". It looks like it's using win 98 skin or something. Looks very bad.
Would like to know how to preserve gtk-theme-name = MS-Windows" .
Which packages or modules should I include wen compiling with GUI2Exe.
Any ideas?
|
| |
thread by: microera |
last post Apr 8 '10 by: microera
Hi
Please for an example about viewing HMTL site with Telit Python and Telit GSM/GPRS modem GM862?
How to upload HTML to www site? I thing FTP is simplest way .... or?
BR
|
thread by: wtzolt |
last post Apr 9 '10 by: wtzolt
Hi,
I've made a small program which has 2 buttons and each does certain thing. Here's a simplified version of the code.
Thing is it works fine except that the button freezes and stays in a clicked position and whole GUI freezes until the command is completed.
As far as I know threads would be best to use in this situation, but I have no...
|
thread by: Glenton |
last post Apr 13 '10 by: Glenton
Hi
I'm implementing a program for an experiment that will capture data points over the course of several hours. I want to be able to visualise the data as it's captured. I'm open to whatever solution works best, but it seems that it's a bit of a fiddle to do this in matplotlib, and so I've turned to Gnuplot.py, which (obviously) interfaces...
|
thread by: rgrandl |
last post Apr 14 '10 by: rgrandl
I am new to web programming in python.
I want to use twisted in order to create a simple web server capable to execute different actions on a file submitted from a web interface.
Therefore, my server should expose a input file form. Users should browse a file from the system and on clicking submit button, the web server to be able to play...
|
thread by: ryeke |
last post Apr 21 '10 by: ryeke
I have built a language tutorial with html. I have in it an interface for a morphological analyser, what I would like is when the user types into the textarea clicks submit and the tagger I have to be called and return the tagged sentence.
I imagine thiss needs a sytem call
I am learning python, but I don't know how to incoperate it into my...
|
thread by: ryeke |
last post Apr 22 '10 by: ryeke
hello everyone,
I am new to python and would like to get my texarea that is built with html to run python code when user types and click submit. Bellow is some of the code that I would like to be invoked into the textarea
>>> words =
>>> tags =
>>> zip(words, tags)
|
thread by: teraom |
last post Apr 28 '10 by: teraom
Hi,
I am working on porting an existing windows application to mac OS X and I am stuck. I am not able to install pyhdf on my mac.
I have HDF installed through macports.
Easy_install does not work either
$ easy_install pyhdf
|
thread by: highvelcty |
last post May 5 '10 by: highvelcty
Here is some code to check the CRC of a given message. The result of 0 indicates no trouble found. Reference: http://www.ross.net/crc/download/crc_v3.txt
def checkCRC(message):
#CRC-16-CITT poly, the CRC sheme used by ymodem protocol
poly = 0x1021
#16bit operation register, initialized to zeros
reg = 0x0000
#pad the end...
|
| |
thread by: miankhel |
last post May 6 '10 by: miankhel
hi i am having problem with pyhton visual ide.
Can any body tell me how to write my first programe in python ide please
|
thread by: smegbot |
last post May 6 '10 by: smegbot
Hi, I'm using this short cgi script to test smtp problems I'm having on my server:
#! /usr/bin/env python
toaddr = "myaddress@mysite.com"
print r"Content-Type: text/html"
print
import sys
|