Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
67% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
2 Commented Posts
~50.0K People Reached
Favorite Tags

58 Posted Topics

Member Avatar for Archenemie

Im looking for the "best" GUI builder for java. I use Eclipse to write my scripts, and i would appreciate you guys telling me your favourite GUI Builder and the reasons why. Thanks

Member Avatar for dotxyteam
0
2K
Member Avatar for vegaseat

This is just a quick example of how i use empty wx.BoxSizer() to hold spaces for borders ect. It makes the layout much easier to controll the borders, widgets ect on multiple panels as the programs i design get much bigger and more complicated. There is probably a much easier, …

Member Avatar for HiHe
2
21K
Member Avatar for Archenemie

I am making a quick program to get basic database functions working before i create a larger app but my application keeps force closing when i try and read from the database. I am an amature at android programming and im just starting out. Does anyone know what is wrong? …

Member Avatar for stanleyben
0
136
Member Avatar for Archenemie

I would like to use a non-final variable in an On-click listener and converting the variable to final is not an option because the variable is an ArrayList<String> which i will be altering and editing throughout the coarse of the program. This is an overview of the code I have …

Member Avatar for Archenemie
0
1K
Member Avatar for Archenemie

I have been looking for tutorials for about an hour now for pythin networking and nothing i am finding is helpful. What i need is a python program that will take a computers ip adress and tell me if a specific port is open. Can anyone give me a quick, …

Member Avatar for Tech B
0
278
Member Avatar for jodata26

wx.Python is fairly easy to learn and there are a ton of tutorials and examples. There are actually alot of them in this python forum. Its also fairly powerful to be fair and is by far my favourite.

Member Avatar for SamarthWiz
0
385
Member Avatar for Archenemie

I feel like a total muppet for not being able to do what is likely a stupidly easy task. I have downloaded the MySQLdb.zip, unzipped it to my desktop and am trying to get it to work with my python 2.7 (its compliant). Can anyone give me a step by …

Member Avatar for griswolf
0
119
Member Avatar for Archenemie

Just started learning MySQL, more specifically using Python and MySQLdb and everything is up and running fine. I have an interface where i generate buttons: 1) Firstly the main catagories are generated. 2) on clicking these buttons, sub-catagories of these catagories have thier buttons generated. 3) once again on clicking …

Member Avatar for Archenemie
0
168
Member Avatar for TrustyTony

The python deque (double ended que) is good for left/right rotation [CODE]from collections import deque # Double-ended Que stringToRotate = "hello" alpha = 'hello' # This is your reference dq = deque(alpha) # make double ended amount = 2 dq.rotate(amount)# positive values drags to the right - negative to the …

Member Avatar for Archenemie
1
702
Member Avatar for happygeek
Member Avatar for erintom
3
2K
Member Avatar for Archenemie

I have just started looking at simple cryptography in order to learn python better. Encryptions and decryptions should be speedy and accurate so im hoping it will improve my programming skills. I recently wrote this quick script for a shift cypher but i wasnt sure how to be able to …

Member Avatar for Archenemie
0
227
Member Avatar for ahappysadface
Member Avatar for griswolf
0
112
Member Avatar for Archenemie

I've just bought a reasonably capable quad core desktop and I want to start utilizing some of the advantages that multi core processing can offer. I have two simple counting functions, and I would like them to execute simultaneously. Does anyone know where I can start my research into the …

Member Avatar for richieking
0
132
Member Avatar for Archenemie

I've tried every way I can possibly see to try and convert the value from the numctrl to a decimal but the problem lies with the retrieved value being a float. I cant covert the float to a string first because it looses the trailing 0 in values such as …

Member Avatar for zentraders
0
295
Member Avatar for Archenemie

I basically need to make the repeat button work. I've tried several approaches but i've hit a brick wall and there doesn't seem to be a function I can find to get the values of the selected item and repeat them. self.listctrl.GetItemString() will only get the string from item in …

Member Avatar for Archenemie
0
215
Member Avatar for snippetGirl

do you want to call a function within a function? [CODE] def PrintA(): print "a" def CallPrintA(): PrintA() CallPrintA() [/CODE]

Member Avatar for Archenemie
0
123
Member Avatar for Archenemie

I'm trying to find a way to make a wx.Frame stay on top of my other windows until I call hide(). I do not mind if it stays on top of all windows or just the windows called by my program. I think I need to set a style on …

Member Avatar for Archenemie
0
182
Member Avatar for WSCman44

[CODE]name = raw_input("Please enter a name") score = raw_input("Please enter a score") top_name = "" top_score = score bottom_name = name bottom_score = score running = True while(running == True): name = raw_input("Please enter a name") if (name == "exit"): # type "exit" when it asks for a name to …

Member Avatar for Archenemie
0
148
Member Avatar for Archenemie

I would like my wx.TextCtrl box to only accept numbers, preferably to only 2 decimal places. Where should i start? should i use an input mask or are there styles too control this kind of input? [CODE]value = wx.TextCtrl(parent)[/CODE]

Member Avatar for Archenemie
0
4K
Member Avatar for Archenemie

I have a listbox and what I basically want to achieve is as I click a value within the listbox I want the value clicked to be passed to a function. I could easily do this using a button and listbox.GetValue() but I believe the quality of my finished code …

Member Avatar for Archenemie
0
219
Member Avatar for Archenemie

I want to represent money which is usually to 2DP and I add up items using float values but whenever I have a value that is similar to the one used it only converts it to a string to 1DP. This seems like its going to be annoying to work …

Member Avatar for Archenemie
0
252
Member Avatar for Archenemie

I have the code below and the exact same code works when its put outside the function but does not when its called as a function, and it seems the function is being called correctly because the print line works[CODE]import wx class DestroyButton(wx.Frame): def __init__(self, parent, id): wx.Frame.__init__(self, parent, id, …

Member Avatar for Archenemie
0
199
Member Avatar for Archenemie

I would like to destroy the second button by clicking the first I have also tried "return but2.Destroy() but everything returns an error message. Can anyone help? [CODE]import wx class DestroyButton(wx.Frame): def __init__(self, parent, id): wx.Frame.__init__(self, parent, id, "title") panel = wx.Panel(self) but1 = wx.Button(panel, label = "click me") but2 …

Member Avatar for Archenemie
0
127
Member Avatar for Archenemie

Im trying to call the two functions from the numbers class but it returns an error even tho i believe i have coded it correctly. i have played with the code but cant seem to get it working. [CODE] class main(): num1 = input("please enter a number") num2 = input("please …

Member Avatar for Archenemie
0
179
Member Avatar for Archenemie

I have been tasked to learn basic JavaScript as part of my collage coarse, and i've taken this section if code from the W3C website and commented it out. Is my interpretation of what this script is doing correct? Im using this script as an example of how JavaScript can …

Member Avatar for Archenemie
0
117
Member Avatar for Archenemie

Ive made this quick program to strip the "youtube - " prefix off my mp3 collection, so i started modifying a script i had made before to replace file names with a <filename><incrementing number> type name. It has gone well so far, with the only problem being it will strip …

Member Avatar for Archenemie
0
2K
Member Avatar for Archenemie

I basically want to map out folders and subfolders in a dictionary and i have this code ive written, but instead of adding each filename to the dictionary it overwrites it each time. Any suggestions? [CODE]for fname in os.listdir(os.getcwd()): print fname x += 1 maincat = {fname} print "x = …

Member Avatar for Archenemie
0
108
Member Avatar for Archenemie

Ive made this keylogger because lately my computer crashes ALOT and it records keystrokes in real time, i thought that even if my computer crashes im not going to loose my work, only maybe that last 4 or 5 characters, but the log file gets written to in a seeminly …

Member Avatar for Archenemie
0
148
Member Avatar for Archenemie

Im making a custom text editing program as a mini project and id like a little advice on the way to go about it. Within wx python I could use a rich text box or a textctrl box I believe. The type of things I am going to need my …

0
67
Member Avatar for Archenemie

Basically after every guess i want the loop to run until the user guesses right. This is just a simple number guessing game. I ask the user for more input after every wrong guess but the program ends after the second guess is given. Can anyone help? [CODE]#import <iostream> #include …

Member Avatar for Archenemie
0
206
Member Avatar for --Fire--
Member Avatar for Archenemie
0
746
Member Avatar for Archenemie

I made a quick program as my first venture into c++ but it seems to be buggy. As far as i can see my code seems logical, but the endl; above firaddress seems to be interfeering. Can anyone help please? [CODE]#include <iostream> #include <string> using namespace std; int main() { …

Member Avatar for Valaraukar
0
174
Member Avatar for Archenemie

[CODE]paid_value = self.paidinput.GetValue().strip()[/CODE] I have this line of code to take a number from the paidinput field, but i need the value as an integer, how would i go about this?

Member Avatar for Archenemie
0
100
Member Avatar for Archenemie

im trying to make it so that the discount box will only accept numeric input to 2dp, and i know the code is roughly solid, but when i run the code, it says CashTransaction has no attribute discount input, and i have been tinkering with this code for the better …

Member Avatar for Archenemie
0
100
Member Avatar for Archenemie

While doing a project i decided to do a mechanism in a panal of its own class, so i could manage the sizers and layout better, then i wanted to take the end result of that panel and display it in my window. Although when i run this code as …

Member Avatar for vegaseat
0
114
Member Avatar for Archenemie

Hi, id like to set values for a botton is wxpython by taking that value from a text file. For this code [CODE]button = wx.Button(parent, label = “x”)[/CODE] and for example on the 1st line of the text file id like to read x. Ive played about with this a …

Member Avatar for Archenemie
0
115
Member Avatar for linuxoidoz

try using the escape clause, maye "&" gives the button a specific tag or function. try "\&" and see if that works, im not very familiar with that toolkit so thats a shot in the dark suggestion. good luck.

Member Avatar for -ordi-
0
2K
Member Avatar for Glass_Joe

I think its a complete loads of boll**ks and a complete waste of money, all the game really does is give them a clue how randy boys are, and "rewarding" them for saying no in a simulated enviroment is trivial at best. Stop wasting money and do something productive.

Member Avatar for Archenemie
1
528
Member Avatar for KirkK

You were trying to call functions before they were defined, take a look and pm me if you dont understand. Define your functions - THEN call them. Good luck on future projects. [CODE] #07/22/2010 #Write a program that will calculate a 20% tip and a 6% #sales tax on a …

Member Avatar for TrustyTony
0
162
Member Avatar for juzzy

umm something along the lines of a = getvalue(textarea) not completely sure of the syntax but its along those lines. sorry i could be of more help maybe... [CODE] a = self.GetValue(text_area) [/CODE]

Member Avatar for vegaseat
0
140
Member Avatar for DawnyB

its would be along the lines of defining contact for each colour square, and ud need a value called score [CODE]def OnContactBlack: score +=10 [/CODE] this isnt perfect or the solutions, but that is a start along the right track, you would also have to define contact for the programme.

Member Avatar for Archenemie
0
1K
Member Avatar for vulcano224

one option would be pygame, another would be just to build it using a gui interface such as wxpython. Id suggest looking up both as they both have different strengths that may be of benefit to your project. when you have decided which route to take you can then ask …

Member Avatar for Archenemie
0
203
Member Avatar for Archenemie

I have recently tried installing cherrypy to no avail, and it got me wondering, is there a way to build websites using the wxpython toolkit? if somebody knows the answer and could point me in the right direction it would be a massive help

Member Avatar for ryuurei
0
104
Member Avatar for Archenemie

I have a little project im working on, and the fundamentals are fine, i just have two specific queries. I have learned the code shown here from scratch the past week from samples and tutorials plus a little outside the box thinking. My only problem now is that my two …

Member Avatar for Archenemie
0
99
Member Avatar for Archenemie

Im sure ive parented everything up right buut when i run the code it doesnt show the panels right. As you can see from the code i want a 3 page notebook on the left half of the screen and a blank panel on the right side but i really …

Member Avatar for Archenemie
0
95
Member Avatar for Archenemie

This one has got me completely, i cant see why the notebook doesnt show, i wanted the gui interface i have already built to show on page 2 of the notebook, but for some wierd reason the page just comes up empty, and it is really baffeling me. Can anyone …

Member Avatar for Archenemie
0
298
Member Avatar for Archenemie

I need to make it so when i click the Do IT botton the variables ive shown take the values of the text control box ive selected, and after an hour trolling the internet and trying different lines of code i still have no clue. Does anyone have any ideas? …

Member Avatar for vegaseat
0
294
Member Avatar for CMSHelper

Blender 3D is pretty amazing. I believe its coded in python, but there is barely any scripting. Its all pretty much built into the game engine, including creating 3d models, animations of 3D models, Interaction of 3D models etc. The only thing really speaking that requires coding is keyboard input, …

Member Avatar for farooqaaa
0
146
Member Avatar for fummy

[CODE]import re, os from os.path import join as pjoin, isdir while True: targetfolder = raw_input('enter a target folder:\n').strip() #this is where the text file is located os.chdir(targetfolder) #here you need a line that opens the text file from the directory break # not sure if this is neccessary searchword = …

Member Avatar for Murtan
0
187
Member Avatar for Archenemie

Ive been told that i can make Iphone Apps using java, but what IDE/File Extension/Code Structure do i use? can i simply use a converter program to swap my current java code into an iphone App or would i need to code from scratch? Any and all advice is greatly …

Member Avatar for jbennet
0
119

The End.