15,181 Topics

Member Avatar for
Member Avatar for julichrist

hi, i'm newbie in python. i want to connect to MS SQL SERVER 7 on windows server, from Linux Slackware using python. I have install unixODBC 2.2.12 and FreeTds 0.64.. everything works fine include the tsql. but i don't know how to configure the odbc in odbc.ini and freetds.ini... need …

Member Avatar for julichrist
0
91
Member Avatar for efect

Hello all:) Is it possible that there is a Pythin to Delphi converter available? Thanks Nev

Member Avatar for vegaseat
0
144
Member Avatar for wokeup2sleep

im a beginner at comp science, and my prof is using python, which is totally new tom me i had a few questions with the program im writing, im having a few problems. brief summary i have to do a project where there are nine boxes filled with number 1-8, …

Member Avatar for wokeup2sleep
0
88
Member Avatar for PC_Nerd

Hi, Im relatively experienced with the Python language, but i have a smaller knowledge of its modules etc. Im familiar with Tkinter, basic sockets, basic threading, math ( i know the most about). Im looking for a way to print to a printer. I can read from files easily - …

Member Avatar for PC_Nerd
0
6K
Member Avatar for wsn

Hi, I'm trying to make a program that is based on random selections but whenever I run the random function in idle i get an error, can anyone explain to me what I'm doing wrong? >>> randint(1,9) Traceback (most recent call last): File "<pyshell#44>", line 1, in <module> randint(1,3) NameError: …

Member Avatar for jrcagle
0
25
Member Avatar for Raulito

hi guys, i need to print the ASCII tabel using only the control staments; the unprintable characters need to be represented by the ASCCII name or a. any ideas that may help? is the ASCII table define in paython?

Member Avatar for Ryanvh
0
145
Member Avatar for freaz

Hi, i'm new with python.i have a little problem here.hope u guys can help. How do we actually distribute python written software in the windows environment? The source code is .py and i cannot compile it to .exe . If the end user does not have the python interpreter how …

Member Avatar for katharnakh
0
85
Member Avatar for asrekdal

Hi, I am attempting to view the source code of a module i have imported to a project but am having trouble finding its source. I had previously thought the command 'import' would look for a script in python paths named the same as the import name plus a '.py'. …

Member Avatar for katharnakh
0
83
Member Avatar for zclevenger

I have a homework assignment i Am totally confused on. I started with a basic code to determine if a number is prime or not, but need guidance from here. I will post assignment details then what I have so far. Problem 1: Is it a prime number? Write a …

Member Avatar for Arob1000
0
337
Member Avatar for ndoe
Member Avatar for joshualef
0
129
Member Avatar for asrekdal

In process of attempting to build a CSS editor. I was wondering if anyone could lead me to a way to highlight CSS for a rich GUI control in wxPython specifically? Also I would like to parse,serialize, validate and write CSS to file. I did find cssutils but was getting …

Member Avatar for vegaseat
0
99
Member Avatar for nish88

hi.... i'm trying to write a function clear image but i am not being able to write it. it is as follows. i am loading a picture and i want by clicking the button clear, the picture map.gif dis appear.. there is a function blank in tkinter but i am …

Member Avatar for vegaseat
0
10K
Member Avatar for StepIre

Hey All, sorry if this is a stupid question but im still new to all this. i want to enter something into a text field.. but i want for example the time in 24hr format "2200". How can i ensure that what the person is entering is in fact an …

Member Avatar for vegaseat
0
98
Member Avatar for nish88

have anyone ever create a [COLOR="red"]progressbar using Tkinter[/COLOR] and make [COLOR="red"]button flash or place a picture on button.[/COLOR] is this possible with tkinter. please can anyone tell me or show me how i can do these things??? thank you very much

Member Avatar for vegaseat
0
1K
Member Avatar for LanierWexford

I was using my old C++ assignments to teach myself Python and ran into issues every other line of code. In my attempt to find another way to ease into the lang I found what I think is an awesome tool "How to Think Like a (Python) Programmer" I understand …

Member Avatar for LanierWexford
0
115
Member Avatar for mxb7642

I'm trying to access a dll located on a web server. Anyone know if this is possible? and if so how to do it or how difficult it would be do? Any help would be appreciated. Thank you.

Member Avatar for mxb7642
0
82
Member Avatar for GreyInTheLaw

Well, I've been programming for all of about 5 hours in Python now. From first opening my browser and googling the term to making this post here. I've written something up too! It's a short script that accepts input from the user about their date of birth and just prints …

Member Avatar for ZZucker
0
169
Member Avatar for asrekdal

I have done some extensive searching for a tutorial or sample code for context menus in wxPython to no avail. Could someone post a link or a tad of sample code to get me started? Thanks in advance -- Andrew

0
55
Member Avatar for G-Do

Hi all, Are there any python modules which contain functions for getting the roots of a quartic (degree 4) polynomial? I don't think NumPy has anything like it, and I [I]really[/I] don't want to enter the equations in by hand. Thanks.

Member Avatar for jrcagle
0
97
Member Avatar for asrekdal

I have a small bit of code here I am working with. The goal I have set forth was to scale the size of panel to the frame. Does the frame have a size property that can be fetched? Are there functions or methods (not sure I know the difference …

Member Avatar for asrekdal
0
235
Member Avatar for asrekdal

I am writing simple Python modules and when running one containing errors in the script the console window that displays the error just flashes up for a split second and disapears. Is there any way to keep this window shown? I am working on Windows XP in the Eclipse environment …

Member Avatar for asrekdal
0
100
Member Avatar for asrekdal

wxPython.org seems to be unreachable! Anyone else having this problem? thanks - andrew

Member Avatar for jrcagle
0
91
Member Avatar for jrcagle

Hi all, I want to write a function that returns a bounding box for a wxPython polygon as in wx.DC.DrawPolygon. Essentially, the polygon is defined in terms of a list of points [(x0,y0),(x1,y1),...,(xn,yn)]. The bounding rectangle is clearly (xmin, ymin, xmax, ymax), or in terms of the wx.Rect structure, wx.Rect(xmin, …

0
51
Member Avatar for asrekdal

I am unfamiliar with this syntax and am having trouble finding info about it... void MyTextCtrl::OnChar(wxKeyEvent& event) { if ( isalpha( event.KeyCode() ) ) { // key code is within legal range. we call event.Skip() so the // event can be processed either in the base wxWidgets class // or …

Member Avatar for asrekdal
0
94
Member Avatar for hotteaboi

hi i am building a gui base chat server with multi users using remote = xmlrpclib.ServerProxy(url) can any one tell how will i remove a user in the list ..and to make a private chat from the user in the list..thax

Member Avatar for EAnder
0
86
Member Avatar for abhinemo

Hi I want to append a path in existing path using python script.Can anybody suggest me is it possible.Except it suppose I want to export one more variable "ROOT_DIR" using python.Can anybody help me. In shell script what we do is PATH=/usr/local: $PATH export PATH ROOT_DIR =/usr1/hello export ROOT_DIR How …

Member Avatar for woooee
0
96
Member Avatar for defience

I have a file named numbers.txt that looks something like this: 1243#74656453634#6356#56456456#565#1212121#78384 83#457#090#720347###24273#18712#478230478#57117 58125671#47464#74647#46474647#19192938#828##2583 5#2948284#6010203040# I need to replace all of the '#' symbols with '!'. Then I need to replace 3 of the'!' symbols to '@' but not knowing which ones. It could be the 2nd, 5th, 15th or …

Member Avatar for woooee
0
8K
Member Avatar for nure123

Hi all, Could anybody tell me what is wrong with the following sequence of statements with which I always get the error message: TypeError: only length-1 arrays can be converted to Python scalars. I have the Numeric imported and am using Python 2.4. x=array([1,2,3,4]) y=exp(x) Nure

Member Avatar for woooee
0
75
Member Avatar for nish88

hi ..... i'm making an animation but am having a problem Tkinter. the problem is that when i open the file with python 2.5 and execute the code then it works but by just double clicking on the file icon the program don't not work properly.its does not show the …

Member Avatar for sneekula
0
146
Member Avatar for mcsejung

I now have a new BLACKBERRY. Does anyone know of a package for PYTHON that will run on a BLACKBERRY? :)

Member Avatar for linux
0
50

The End.