15,175 Topics

Member Avatar for
Member Avatar for sebcbien

Hello everybody I'm currently working on a project for visualizing spectrum acquisition. I actually am unable to stretch the axes. The result is a poor representation: [URL="http://farm3.static.flickr.com/2763/4505197080_b308ec603b_o.png"]http://farm3.static.flickr.com/2763/4505197080_b308ec603b_o.png[/URL] The time axis is not expanded as I'd like to which make a slim 3D representation. This is my code used to draw …

0
61
Member Avatar for zolakt

Hi, I'm having a lot of problem making a SAOP client in Python. I have tried various methods, but non of them seems to work for me. I have a .Net web service, available from an IIS server on another machine. I can access it trough browser, and everything works …

0
99
Member Avatar for n.utiu

I have been recently experimenting with Python embedding, but I stumbled across some problems. [CODE]#include <python3.1/Python.h> int main (void) { Py_Initialize (); PyRun_SimpleString("print (\"Hello World\")"); Py_Finalize (); return 0; } [/CODE] As you see it is not the most complicated code :). I have compiled in Code::Blocks using g++. I …

Member Avatar for n.utiu
0
718
Member Avatar for Roberto9

so what i have is a list of lists each individual list is a list of cards cards1 = [AS, 10H, 3D, ...ect.] cards2 = [4H, KS, 6S, 9D,....ect] ColumnList = [cards1, cards2, cards3...etc] It should print out a spider solitare tableau, but as you play the game, this columns …

Member Avatar for TrustyTony
0
235
Member Avatar for TomD22

Hey, I am trying to use Tkinter to provide a gui to a simple python script. No matter what I try, my tkinter window always ends up maximised, filling the entire screen. Specifying the height and width has no effect. I have tried a simple label, and tried putting the …

Member Avatar for SgtMe
0
564
Member Avatar for jpob

Hey, i am new to python. I am making a translator in python 2.6 using basic commands. The translator is english to german. I need to use a i need to use a text file like this... at an brown braun cat raze etc. so far i have created lists …

Member Avatar for jpob
0
258
Member Avatar for SoulMazer

Hi, I'm writing a GUI app with wxPython and I am wondering how I would insert and read/parse accented letters (Spanish accents, for that matter) from a TextCtrl widget. Also, I would like this would be compatible with all platforms (Windows, Linux, etc.). How could I do this? Thanks very …

0
76
Member Avatar for dilbert_here00

Hi All, Is there any python module which provides the capability to connect & configure WiFi on Microsoft Windows? Thanks

Member Avatar for jcao219
0
87
Member Avatar for vsagarmb

I have a funny problem. I am trying to split a string. [code=python] DEVICE_IP = '164.178.7.30' ip = DEVICE_IP.spilt('.') print ip[0]+'-'+ip[1]+'-'+ip[2]+'-'+ip[3] [/code] The above code throws the error [code] Traceback (most recent call last): File "/home/englotk/test", line 2, in <module> ip = str(DEVICE_IP).spilt('.') AttributeError: 'str' object has no attribute 'spilt' …

Member Avatar for jice
0
2K
Member Avatar for cairnsww

OK so i have written my fun Crossword assistant for Linux - I use Glade and it works like a dream. Well nearly ... I also have Gramps working well under Linux and would like to help my Windows friends use it too. But I want to port it to …

0
112
Member Avatar for norrisp90

Hi, I've been trying to write a Python client to access a SOAP webservice through our companys authenticated proxy server using the SUDS lib. The proxy uses basic username:password authentication not NTLM and I have been able to get basic downloads working through it using URLLIB2 like this: [CODE]passmanager = …

0
97
Member Avatar for elmaami

Hi all I want a help from you about how to make web server and client ,send and receive data over network securely by using encryption algorithms like DES,3DES and hash techniques. I want the encryption to use a shared secret key which is valid for one session.This is generated …

0
35
Member Avatar for d.devendran

hi expert, i got data when execute the python, then i have send it to the server, how this can be done, i.e I got wireless ssid, so i need to send as follow http://22.42.13.58:8080/ProcessData?ssid="guest" how this can be done i found snippet as follow import urllib import urllib2 #PROXY …

0
83
Member Avatar for ab_too

HEIP!! I want get ip address and mac address on router use OID and module pysnmpwalk example ip address mac 172.14.4.233 0:b:86:cb:f3:b5 172.14.4.250 0:22:57:81:9f:81 172.14.4.251 0:22:57:bb:b7:41 172.14.4.252 0:24:73:18:ca:81 203.158.207.99 0:1a:64:79:22:c0 203.158.207.100 0:1a:64:96:24:b4 203.158.207.104 0:21:5e:54:80:70 203.158.207.105 0:21:5e:73:8b:f0 203.158.207.106 0:21:5e:73:8a:26 192.168.214.50 0:1a:c1:d8:bb:81 Please post sample code

-1
51
Member Avatar for lmnopt

Hi guys, I have recently decided to start doing some work using PyQt, I've been told its pretty good, however I hit a bit of a block when I installed Python 2.6 and PyQt4 only to find that every time I try to run any code that uses any PyQt …

Member Avatar for lmnopt
0
1K
Member Avatar for musturd

ok so I'm very new to python and I know java pretty well... Here is the source code I have come up with for the beginnings of a md5 brute forcing program: [CODE]#For testing purposes only passwords that have one letter/number will be cracked import os import md5 def bruteForce(): …

Member Avatar for musturd
0
998
Member Avatar for gorbulas

I have a class, and create 4 instances of this class as per below: [code=PYTHON]class AuctionList: def __init__(self): self.Clear_Auction_List() # Data auctionList = [] #Functions .... [/code] [code=PYTHON]currentAuctionList = AuctionList() previousCurrentAuctionList = AuctionList() finishedAuctionList = AuctionList() successfulAuctionList = AuctionList()[/code] The class has a list variable and a few functions to …

Member Avatar for gorbulas
0
4K
Member Avatar for SoulMazer

Hi, I'm writing a multi-threaded script with wxPython as a GUI toolkit. About 50% of the time, I can run my script flawlessly. The other 50% of the time, I get [U]huge[/U] errors regarding wxPython that I cannot seem to decipher; however, I think it could possibly be a problem …

Member Avatar for SoulMazer
0
805
Member Avatar for ultravox

Hi. I would like to use conky to display EPG on me desktop. I found a cool website: [URL="http://nazham.com/2009/07/26/how-to-enhance-your-linux-desktop-with-conky/"]http://nazham.com/2009/07/26/how-to-enhance-your-linux-desktop-with-conky/[/URL] and the owner, Mahzan Musa was very kind to provide his code. THANK YOU Unfortunately his html epg source is completely different from mine and the code was not so easy …

Member Avatar for ultravox
0
157
Member Avatar for scrappy57

hello friends can anyone please help me with a C version of a brute force cracker in which i can compare with a selected string and identify for a match.. the c version is in the link bellow [url]http://www.daniweb.com/forums/thread121991.html[/url] cheers

Member Avatar for Adak
0
88
Member Avatar for RogerI

Short version: How can I provide a GUI over the web to a user to allow them to select a file from a directory on the server? Explanation: I need to process data files stored on the server and generate some graphs of the results. I have (as my first …

0
102
Member Avatar for Tcll

I'd like to know how to program a hex editor in python, using just tk with the main installation. (no add ons like wx or any others) if anyone can help, this would be gladly appreciated. I'm not really "good" at python yet, so please try to be detailed. (not …

Member Avatar for Tcll
0
1K
Member Avatar for Tcll

as well as my last thread (hex editor) I need help knowing how to program a 3d model viewer that reads obj format, and supports texturing... unlike the hex editor, I have some code if you want to play around with it... you must set everything manually before you run …

Member Avatar for Tcll
0
200
Member Avatar for jjrrmm

hi so for my project we were asked to ask the user to input a width and height for the dimensions of turtle screen. i asked for a user input then split it, and put in into a list then converted the two separate numbers into integers. so for example …

Member Avatar for vegaseat
0
175
Member Avatar for kjock002

[CODE]# PURPOSE: to see if a user entered number (n) is prime or not prime # # INPUT(S): a number greater than 2. (n>2) # # OUTPUT(S): prime or not prime depending on what (n) is. # # EXAMPLES:input: ;output: # input: ;output: ################################################################################ import math def prime(n): for i …

Member Avatar for vegaseat
0
183
Member Avatar for vsagarmb

Hi, I am hosting a UDP server as part of my application on a thread. The problem is when I close the application it doesn't exit completely because the server is still running on the thread. [code=python] class pdu_parser(Thread): run_parser = True sock = None def __init__(self): Thread.__init__(self) def run(self): …

Member Avatar for jcao219
0
134
Member Avatar for dilbert_here00

Hi All, I have a popup window, which shows up after double clicking an installer. This window has 3 buttons: Back, Next & cancel. Using win32api I am able to get the window handles for all three buttons. I need to find out which of the buttons is enabled or …

Member Avatar for dilbert_here00
0
179
Member Avatar for nichedge

hey, im having trouble making a python program run using a window, honestly i dont even know where to start. I have to make a coffee program where there is a menu and the user has to choose between adding, modifying, searching, showing, and deleting any entrys made to the …

Member Avatar for nichedge
0
591
Member Avatar for kenji

Hi, I'm trying to use the built in gcd method to calculate the gcd for two values. Unfortunately I can't seem to import the right module to get the method. [code=python] from fractions import Fraction ... x = gcd(a,b) [/code]

Member Avatar for kenji
0
179
Member Avatar for toll_booth

I'm trying to code the game of minesweeper. For some reason, the image won't display properly--and it isn't a case of a missing file, b/c I have a try-except code snippet that is set to print out an error message should this occur, and that isn't happening. So either it's …

Member Avatar for toll_booth
0
457

The End.