15,190 Topics

Member Avatar for
Member Avatar for dreambreeze

I'm relatively new to programming in wxPython and I have been trying to put a BoxSizer within a wx.Window. This only results in a small square (which is the panel within the BoxSizer) appearing in the window. Could somebody please tell me what I'm doing wrong? Sample code: class TestPanel(wx.Frame): …

Member Avatar for vegaseat
0
94
Member Avatar for Valmian

Hello, I have just started playing around a bit with Python/Tkinter. What I'd like to happen is to draw a circle and then have the circle change its coordinate. The way I was thinking is to have some integer i to be defined 0 and then be updated every frame …

Member Avatar for Valmian
0
6K
Member Avatar for aot

I've just downloaded and installed Vision Egg, a library built for python that displays various common scientific stimuli. While I was able to install it according to their specifications and get it to run from the command line (Terminal in my case), I have not been able to get it …

Member Avatar for Ene Uran
0
111
Member Avatar for LanierWexford

I have a file of cencus data that I need to read and then manipulate in several ways. The file looks like this. CountyName Population Housing Location Adams County 34340 15175 W Attala County 19661 8639 E Benton County 8026 3456 N Bolivar County 40633 14939 N Calhoun County 15069 …

Member Avatar for Ene Uran
0
105
Member Avatar for jforell

Hey everyone, I'm taking an intro to python class and i've run into a bit of a barrier. My assignement is listed below: "Write a program that takes the following inputs: (i) an initial capital C, (ii) a yearly investment Y ,(iii) an interest rate (percentage) P, and (iv) a …

Member Avatar for ZZucker
0
99
Member Avatar for fonz87

hey guys i need mad help with this! im soo lost and stressed out over this and not understanding how to do this. Can anyone help me with this ??? I m new to python and some of this stuff is so confusing to understand. i have 4 problems i …

Member Avatar for ZZucker
0
79
Member Avatar for mbarb27

I am new to python. I have been reading tutorials and I am trying to experiment with gasp. I downloaded the latest version and I have python 2.5. I am also using Windows XP if that helps. When I enter the code for gasp to begin it comes up and …

Member Avatar for mbarb27
0
38
Member Avatar for dedekind87

Hello everyone, I'm a python beginner, and I've installed MacPython on my Mac. I'd like to know how I can run .py files from the Mac terminal without having to make them executable. I'd like to write a command line like this one: [ICODE]python file.py other_inputs[/ICODE] Thanks a lot!!

Member Avatar for katharnakh
0
42
Member Avatar for knish

Hi, While connecting to a host computer to access its records from another computer using python. I am getting an error [COLOR="Red"]OperationalError: (1130, "Host '2k.vfx.net' is not allowed to connect to this MySQL server")[/COLOR] There is no firewall. I have installed wampserver 5 on the host pc. Is it possible …

Member Avatar for katharnakh
0
145
Member Avatar for Begjinner

Hey, I was looking at some old Python topics and they contain nice info, but they also use the PHP tag for showing code - which doesn't work. Maybe these old topics can automatically be changed with the proper tag for python code? Thanks, Lars

Member Avatar for Begjinner
0
104
Member Avatar for abhinemo
Member Avatar for Impact4ever

Hey, guys! having a little problem in python, how can I square root number or a varible in python? And I'm trying incoparate the os function of unix, like using the clear command. How could I do that in python Thanks for your help

Member Avatar for Impact4ever
0
101
Member Avatar for mg0959

Hi, I am trying to write program that will recognize when a device such as a magnetic swipper is used. I was thinking that I could somehow bind the device to something in my program but I am not sure what I would use to bind it. I thought that …

Member Avatar for mg0959
0
77
Member Avatar for AsymptoticCoder

I am hoping somebody can help with a very frustrating problem I am facing. I am working with a MDIChildFrame that has one panel called mainPanel. I set the background style of both the panel and the child frame to wx.BG_STYLE_SYSTEM. Yet, when I run the program the background is …

Member Avatar for vegaseat
0
151
Member Avatar for myheartbits

please write a simple script to check for the existence of all the frames in the directory. So, you give it to frame range and it makes sure that all the subdirectories have the right number of frames. Doesn't check whether the frames are black or not but certainly whether …

Member Avatar for vegaseat
0
66
Member Avatar for sarabhjeet

Hello all, actually i need to open a CHM file when i click on Help's submenu "Documentation",how to do this,how to open a file.Please help me.

Member Avatar for sarabhjeet
0
111
Member Avatar for kimvolker

I'm running Python with: DrPython 165 wxPython Version: 2.8.7.1 wxPython Platform: wxMSW, unicode, wx-assertions-on, SWIG-1.3.29 Python Version: 2.5.1.final Python Platform: win32 When I open a *.py file, I get the following error messages (see attached PDF file) in the drpython.pyc window. How can I get rid of these erros?

Member Avatar for vegaseat
0
338
Member Avatar for penguin47

Hello all, I am very new to programming and my teacher has started us on Python. While I think Python would be a great choice for most people, I have come to the conclusion that I am not cut out for programming. I am finding it very difficult, though fun. …

Member Avatar for vegaseat
0
120
Member Avatar for sasdap
Member Avatar for vegaseat
0
53
Member Avatar for sasdap

Hi frenz, Many of the programs are written in C/C++ language. I want to call a function in C/C++ from python program. Can anybody tell me how to do it?

Member Avatar for vegaseat
0
218
Member Avatar for Begjinner

Hello, I created on a different website a Python topic with general information and some more CGI specific. Check it out: [url]http://www.stonerocket.net/forum/viewtopic.php?t=5869[/url] [b]This is what the topic contains:[/b] [list] [*]What is and Why Python? [*]The logo [*]Who uses Python and for what to use Python? [*]Future of Python? [*]Where to …

Member Avatar for vegaseat
0
101
Member Avatar for sasdap
Member Avatar for sasdap

hi, what is the process going on when a command is given in command prompt? How the executables are called when a command is given? Can anybody tell in detail?

Member Avatar for sasdap
0
195
Member Avatar for ssakhamuri
Member Avatar for sarabhjeet

Can u please tell me how to detect ascii and non-ascii strings in python? Editor's note: In the future, please give your thread a meaningful title.

Member Avatar for woooee
0
109
Member Avatar for sasdap

How to integrate python and c++? Can you help by telling the steps to follow?

Member Avatar for sneekula
0
45
Member Avatar for sasdap

How to incorporate text to speech conversion in python? Is it possible? If so How to do it?

Member Avatar for sasdap
0
49
Member Avatar for agarzo

Hi, I'm new in this forum and a beginner in python, but I need your help. I'm doing a program using opencv libraries. In this library there are some functions to create a window, to display a cam iamges. I want to control if the user is closing the window …

0
56
Member Avatar for sigkill9

I'm new to Python and am trying to figure out how to streamline the code at bottom to get it more simple but am having trouble. I was hoping that someone here could help me out? The program I am trying to create simply asks the terminal operator for five …

Member Avatar for vegaseat
0
216
Member Avatar for Racoon200

Problem: I keep getting this error when I press the button to trigger Publish from 2nd time and on. Error: [CODE] AttributeError: 'NoneType' has no attribute 'sendall' [/CODE] The error is caused basically by every server.(any ftp host action) I say this because the function the button called said: [CODE] …

Member Avatar for Racoon200
0
188

The End.