15,190 Topics

Member Avatar for
Member Avatar for krystosan

I want to know if there is anyway I can make an email alert with a balloon popup in the system tray, so far starting with I have made a system tray icon using pyqt that seemed to be simple enough, but I am not finding any starting point for …

Member Avatar for chriswelborn
0
178
Member Avatar for Tiger1

How do i implement levenshtein disance on records in a database table using python? I know how to connect python with database, coding in python may not be problem, and I also have the records in a database table. The problem is how do i make it work. Below is …

Member Avatar for Lucaci Andrew
0
163
Member Avatar for edward.miller.921

Hey guys, I've been trying to create a simple calculator interface in Python, with a display, a set of buttons which can input the digits 0-9, buttons for addition and subtraction, a button to clear the display, and an equals button. Code so far: from tkinter import * import tkinter.messagebox …

Member Avatar for edward.miller.921
0
855
Member Avatar for m_ishwar

Hello Guys I am trying to make a game with Tkinter. It involves selecting different options from a set of buttons. I created a root for the window, and am done with all the basic game programming. Its a football league simulator allowing players to select a team and choose …

Member Avatar for Schol-R-LEA
0
220
Member Avatar for Jacklittle01

I have run py2exe sucessfully up to this point using cmd (python setup.py py2exe). My Error is ImportError: DLL load failed: %1 is not a valid Win32 application I am leaving for spain tomorrow and would like an answer fast!

Member Avatar for snippsat
0
70
Member Avatar for tony75

Hi Anyone know why this program not work?I wonder if I use right usage? import os import optparse import mechanize import urllib import re import urlparse from _winreg import * def val2addr(val): addr = '' for ch in val: addr += '%02x ' % ord(ch) addr = addr.strip(' ').replace(' ', …

Member Avatar for kwheeles
0
243
Member Avatar for Jacklittle01
Member Avatar for JeoSaurus
0
140
Member Avatar for Jacklittle01

Can one turn a python file into a standalone executable for windows via a gui program? Thanks

Member Avatar for vegaseat
0
368
Member Avatar for otengkwaku

Hi guys, i am working on a project the need me to convert a compressed obj file using webgl utf-8 compresor [webgl-loader](https://code.google.com/p/webgl-loader/) back to it acsii version. I will like someone to point me in the rigth direction. i am comfused as to how to do the decompression

Member Avatar for LastMitch
0
268
Member Avatar for otengkwaku

Hi guys i will like to know how to reprecate fseek(fp, -1) in C to python. Thus send the read head a charactor back

Member Avatar for TrustyTony
0
149
Member Avatar for KatJ9

Hello! I'm writing a python script that will import all the excel files in a folder and write them into a SQL Server table. The script runs if I just point it to a single excel file, but i'm stumped at setting up an iteration loop that will read through …

Member Avatar for KatJ9
0
477
Member Avatar for dilbert_here00

Hi All, I was wondering if any one of you observed the time taken to download or upload a file over ftp using python "ftplib" is very large as compared to performing FTP get/put over windows command prompt or using perl's "Net::FTP" module. I created a simple FTP client similar …

Member Avatar for dilbert_here00
0
532
Member Avatar for felceyboy

**Hi all fort i would leave a little keygen/passphase maker for anyone that wants one ** Also would like feed back on it maybe someone could help inprove or some ideas to improve plus to get this to work you have to make a file called Data make shore caps …

Member Avatar for felceyboy
0
239
Member Avatar for vegaseat

The wxPython Phoenix project can be used with Python version 2 and version 3. The project applies pretty much the familiar wxPython code. Here we are testing a dragable borderless frame.

Member Avatar for vegaseat
3
1K
Member Avatar for AppleR

So basically im creating this python adventure text game. And so far its good. But i have this problem with class instances(Is that the right term?) Say for example i have this class, class monster(object): def __init__(self,health,attack): self.damage = damage self.health = health So then I create a class object(again, …

Member Avatar for AppleR
0
342
Member Avatar for 26bm

Hi, I have a question about the game I am making in pygame. In the middle of the game screen there is the "notepad" where doodles can move around and such. Around that is the "desk" the notepad is on. I have a link to a screenshot [here.](http://picturepush.com/public/13180159) But underneath …

Member Avatar for 26bm
0
226
Member Avatar for sarathsshanker

While trying to connect to MSSQL Server 2012 using pymssql,I get the following error. My server name in Windows Authentication is SARATH,User Name is Sarath\SarathShanker and I did not set a password. >>> mssql_conn=pymssql.connect(host='SARATH',user='Sarath\SarathShanker',password='',database='matrix') Error: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "pymssql.pyx", line 556, …

0
97
Member Avatar for nagia.retsina

/home/nikos/public_html/cgi-bin/metrites.py in () 217 template = htmldata + counter 218 elif page.endswith('.py'): => 219 htmldata = subprocess.check_output( '/home/nikos/public_html/cgi-bin/' + page ) 220 template = htmldata.decode('utf-8').replace( 'Content-type: text/html; charset=utf-8', '' ) + counter 221 htmldata undefined, subprocess = <module 'subprocess' from '/opt/python3/lib/python3.3/subprocess.py'>, subprocess.check_output = <function check_output>, page = 'files.py' /opt/python3/lib/python3.3/subprocess.py in …

Member Avatar for nagia.retsina
0
359
Member Avatar for Stefano Mtangoo

Hi, I know how to make C++ plugin based application with C++ plugins. I need to add ability to code plugins in Python. I want users to be able to write Plugins in any language (C++ or Python). What are fundamentals of writting app in C++ but support plugins in …

Member Avatar for Stefano Mtangoo
0
2K
Member Avatar for fatalaccidents

Hello everyone, I'm trying to basically get a cmd variable to pass into commands.getstatusoutput. The problem is that the command has a lot of single and double quotes in it and I can't seem to get it to store as a variable. When I print the cmd it comes out …

Member Avatar for fatalaccidents
0
388
Member Avatar for ajike

Hello, I am new to python programming, and was attempting to get my feet wet by trying the popular telnet program on the web; here is the program. The problem is; I am trying to telnet to a switch, and execute some programs, but I am getting no where: Please …

Member Avatar for Schol-R-LEA
0
4K
Member Avatar for wolf29

I am seeing some solutions using re, out there on the Interwebs, but not what I want. I want to match several strings with partial content of a list item. # as an example of one of the rows in a csv file hostlist=[192.168.10.17, postgres12, "Red Hat 4.3", "broken"] #pseudocode …

Member Avatar for wolf29
0
274
Member Avatar for kamald123

Hi, I want to get the file owner on windows machine using python script. Is there is any way to do that . Please help Thanks, Kamal

Member Avatar for AlexWong
0
6K
Member Avatar for toniann.midori

well first of all i cant figure out how to move the first letter to the end but before i fix that i need help figuring out why the else branch is being totally ignored. even when the conditions are met for else It still gives me the result in …

Member Avatar for vegaseat
0
157
Member Avatar for axitya

Yes, I know what I'm talking about. which is Creating my own compiler to compile a language say C++,Java,Ruby, Python ..(Any one of them ofcourse -.- ) Actually, if I can just get the source code for an existing one that would be much better. [example] Say there's Turbo C …

Member Avatar for felceyboy
0
355
Member Avatar for napninjanx

I bought this eBook called Programming Python O'Reilly 4th Edition 2010 And people told me to start out with Python instead of C, cause C Is for experiance users, at the moment I have no knowelege In programming, only know the basics :)

Member Avatar for vegaseat
0
176
Member Avatar for douwe1971

Hi * I'm trying to make a program that converts a vertical list to a horizontal one which works. But am trying to build in check for some correct user input an I get an Indentation error File ".\dairymaster.py", line 19 pn_test = check_input('1', '2') ^ IndentationError: expected an indented …

Member Avatar for douwe1971
0
185
Member Avatar for wolf29

I want to copy rows 3-5 to a new csv file. I can get the following code to copy the whole file to the new file but the only detail I have found about grabbing arbitrary rows consists of piecing array index numbers like in line 4 below. This may …

Member Avatar for wolf29
0
17K
Member Avatar for jtjudge

this is the error I am gtting. webide@raspberrypi /usr/share/adafruit/webide/repositories/my-pi-projects/temp4 $ sudo python temp4.py 86/1023 => 0.277 V => 27.7 °C 86/1023 => 0.277 V => 81.9 °F Traceback (most recent call last): File "temp4.py", line 55, in <module> display_temp() File "temp4.py", line 25, in display_temp temp = int(temperaturef [0]) # …

Member Avatar for jtjudge
0
214
Member Avatar for Jacklittle01

I am wondering on how to make a very simple gui with the ability for the user to click a button and perform the ability as if it were a user input. (ie raw_input). I would also like it to have the title of the program (game) on top and …

Member Avatar for ZZucker
0
156

The End.