15,190 Topics
![]() | |
Hello there! I greet you all, I have a question on Database. First of all I'm completely new In Database realm and know a little . Just definition and little about it. Can anyone tell me how to do database programming (Specifically MySQL) in both server and embeded sever mode, … | |
![]() | hi again i have a windows pc and i want to know if py2app will work on my computer so that i can make applications for macs? any help appreciated |
Hey, I'm having trouble dealing with this - I made a table: [code] create table prodzina( ID_prac integer references Ppracownicy, stan_cywilny varchar(20), ilosc_dzieci integer, ubezpieczenie bool); [/code] and I got my script <part of it>: [code] x_find='SELECT * from ppracownicy where nazwisko='+a+nazw+a+' and imie='+a+imie+a+' and id_dzial='+a+iddzial+a+' and pensja='+a+pensja+a+' and stanowisko='+a+stan+a+'' … | |
![]() | hi im trying to expand on my dictionary learning and i currently have two problems with this code: [ICODE]import cPickle file = open('phonebook.txt', 'w') phonebook = {'Andrew Parson':8806336, \ 'Emily Everett':6784346, 'Peter Power':7658344, \ 'Lewis Lame':1122345} cPickle.dump(phonebook,file) raw_input("press enter to show how to add a key and a value") phonebook['Ginger' … |
Hi all . It is my first post ,please sorry if I do any mistake ,I am new in the programming field and want to learn programming language .so can you tell me that how I should start the python .or I would to say you that from where I … | |
I want to have the py2exe libraries on Linux so I can make exe files to use on Windows (I don't have Windows, but I'm making a program which I want to be available for Windows). I'd really rather not use Wine on this one (besides, I've heard the executable … | |
Hello all, Can any one explain me whats the main different between them two data structures. I have been like working on them quite lot now. When do we use tuples and when do we use list. Any specific explains are much appreciated. Thanks a lot ssharish | |
hello all i want ask something about xml and python example i have 1 file with extention .txt and in that file i have 4 statement ndoe bali swimming male and i want convert that file to xml like this <name> ndoe </name> <home> bali </home> <hoby> swimming </hoby> <gender> … | |
Hello there! I greet you all, I have a question on Database. First of all I'm completely new In Database realm and know a little . Just definition and little about it. Can anyone tell me how to do database programming (Specifically MySQL) in both server and embeded sever mode, … | |
Hello there! I greet you all, I have a question on Database. First of all I'm completely new In Database realm and know a little . Just definition and little about it. Can anyone tell me how to do database programming (Specifically MySQL) in both server and embeded sever mode, … | |
Hi I have made a program that uses a GUI for most of its functions but as soon as i change it to an exe using py2exe all the buttons turn all square and everythin looks like it came from windows 98 rather than XP. Is there any way to … | |
Hi, I am using a dialog box where user selects a .txt file from the local drive. The selected file along with the folder path is displayed in a textbox on the form. The user can now edit the textbox. On click on 'Proceed' button, I am saving that path. … | |
hi all, as we are talking about the python ,so can you tell me what is a weakness's and strength of the python in comparison of the other language. 1.c 2.c++ 3.java 4.perl 5.vbs tell me fast. | |
Hi everyone, I'm new to posting, but I've been coming here to search for help for some time now. I'm working on some homework and have come to an impasse. I'm not here for straight-up solutions, just a little help, as I've already got the program 99% complete. In the … | |
Hello Guys, Here we have monitoring system using telnen address. I hate dos black window and I want to wrapp that address to Nice Gui. I have no clue how to do rather than hear something about piping! I want to catch keyboard commands (like press F9 to display all) … | |
Hi there! Let me start by saying this-- I have no experience with regular expressions. Simply put, I want a function that turns an array [eg: func(array)] into... an array, but add ONE space on both values. Meaning: [code=Python] array = ['red','blue'] #returns ['red','blue'] array = func(array) # returns [' … | |
Hi, recently I decided to download py2exe, but for some reason it's not working. I downloaded the all purpose version, and am sure that the scripts I am using are fine. I keep on getting an import error saying that there's no module named py2exe_util. Maybe I didn't install it … | |
Hi All, new to this, and i havnt done much python programming, i have written a program to write data to a text file. each time i use the program, it appends the data to the file and leaves two lines between the sets of data however, i want to … | |
I have to copy a file into MySQL database as a Blob. I tried it using 2 methods. [B]1. Using MySQLdb module 2. Using mxODBC & pyodbc modules (through ODBC) [/B] The first one executed properly and I was able to retrieve the data from database. When I tried it … | |
Hello guys. I am having trouble with QTabWidget: I can't add multiple widgets with addTab nor insertTab. even when I try something like: [code=python] self.widget1 = QListWidget() self.widget2 = QPushButton("Foo") self.widget3 = QLabel("Bar") self.tabs = QTabWidget() layout = QVBoxLayout() layout.addWidget(self.widget1) layout.addWidget(self.widget2) layout.addWidget(self.widget3) self.tabs.addTab(layout, "Foobar")[/code] It will raise an error that … | |
I am a Python newbie! I'm trying to list the feature classes in a dataset (Access .MDB) and then list the fields in each feature class. I'm able to list the feature classes and I'm able to list the fields in a particular feature class if I name it specifically. … | |
Hello dears, I need your help. I want to build executable file from py script using py2exe gui aka Gui2exe. but it keep crashing. "Error: execution of command python -u......system cannot find the file specified Have one compiled successful with Gui2exe? Which options do you use? Thanks alot, Steve | |
Just as the title states, im looking for some help to press and hold keys down in any focused window. I have seen similar things using tkinter, but i have only seen code to send commands to a tkinter created window. thanks | |
Hello there i'm having some problems running my scripts in my hosting, first of all i would like to know if theres any way besides asking my hosting of checking if i'm using mod_python has a handler or cgi. i've done a .htaccess with AddHandler mod_python .py PythonHandler mod_python.cgihandler but … | |
Hello Guys, I have problem with Bindinging Event to menu. Every time I run this on IDLE (F5). I get always Attribute error that self have no attribute OnPrint. What's wrong with the Code???? [CODE] # SMD Inc since 2003.py import wx ID_ABOUT = 100 ID_PRINT = 101 ID_EXIT =102 … | |
I everyone! I'm having a little math trouble with a simple physics program I'm writing in python w/ pygame. If you notice in the code where it says: "((-ballSpeed[1]/4*3))", my ball on the screen just sits there and does nothing!! Whats wrong with my program? [CODE] import sys import pygame … | |
I'm on linux, and I'm using a command called 'espeak' which reads sentences on stdin and writes phonemes on stdout. Whe I run it in a console, the output is the following [code] bash$ espeak -q -v mb-fr4 -s160 bonjour tout le monde # <-- I type this input, the … | |
Hi, I wanted to know if there is a way to read multiple csv files from a folder, process them one by one and write the output to corresponding output files. Also it is necessary that the if the name of the input file is foobar.csv then the name of … | |
I was just wondering, in Tkinter, is there any difference in assigning an event handler to a button through class1.btn["command"]=self.update and class1.btn(command = self.update)? Because I got an attribute error saying that there wasn't a __call__ function when i used class1.btn(command = self.update), whereas when I used class1.btn["command"] I didn't … | |
Hello guys, I'm new to python I want to use wxPython for Gui programming The main problem to me is how to start wxpython have good looking but then no documentation regards steve |
The End.