15,181 Topics
| |
Hi I am trying to pull some data from a Web site: [url]http://schoolfinder.com[/url] The issue is that I want to use the advanced search feature which requires logging into the Web site. I have a username and password, however I want to connect programmatically from Python. I have done data … | |
Hi, I'm trying to work out this problem in my code where i am trying to replace a keyword with another word. The problem I am running into is that when the keyword is present inside of another word. Eg, "I'm trying to debug a problem but the debugger is … | |
I don't have a problem reading in one big array of numbers from a file. I can't figure out how to read in multiple arrays that are delimited by certain characters. For example, my dataset has the following format. #BEGIN 1 1 .1 .2 2 .8 .3 3 .9 .5 … | |
Ok I'll get straight to the point, how can a create a search box? You know, you type something in and it filters out the ones that don't match. Is there a special widget for this? Or would I have to create a normal lineedit widget and do all the … | |
Hi guys, i am a beginner with python, (in fact, i started yesterday) I have some experience with C and CPP. So somethings in python just surprises me(happily, i dont want to say confuses) [code=python] #consider there is a file object infile while 1: line=infile.readline(); if not line: break print … | |
HEY! -- replace multiple keywords (bit more complicated) I posted a thread previously on replacements for a keyword, but the suggestions that were given were great but didnt do the job.... would love any more suggestions to crack the mystery! the previous example i was given in my other thread … | |
Hey, all! I'm new here, and needed somewhere to get an answer dealing with Python. I am working on developing a small bit of code, but I don't know where to start. I'm kinda new to python : ( I am looking to deveolop an Instant messenger sort of thing, … | |
Hi This is my first ever python assignment and I am sort of stuck...:'( I need to fit a text inside this box (textwrap). I think I figured out the code for the insert, but I also have to make the box with two whitespaces on each side of the … | |
Hi All, First, let me say that -daniweb- has been a great help for me as I've gotten back into programming over the last 6 months (after a 10 year respite). I've put together some decent code, but Python finally has me stumped. I have some code that generates some … | |
I have been using doctest for a while and just recently started using the logging module. Each works fine separately, but they don't seem to play nice together. It looks like doctest hijacks sys.stdout to do its thing. My logger prints to the screen if not in batch and to … | |
Greetings all! I'm a new python programmer working for a physics lab. I've got 11 numbered .txt files, all laid out in the exact same format shown below: ITEM: TIMESTEP 0 ITEM: NUMBER OF ATOMS 55 ITEM: BOX BOUNDS 0 20.4 0 20.4 -0.0001 20.4001 ITEM: ATOMS 0.883194 0.969209 -1.02474 … | |
hey all... really in need of help, please! any feedback welcome!!! i want to replace one keyword with multiple words. i.e replacement words = ['wholegrain loaf','loaf'] 'I went to the bakery to pick up the KEYWORD. When I got home I cut up the KEYWORD and gave some to the … | |
Is there any way to edit the album art of mp3s with python or a python library? This is getting frustrating! | |
I'm really enjoying python in my Netbeans IDE. I would like to know extensive difference between these version of Python: Cpython, Jython, Iron python, pypy .....etc (You can add it). What is the main difference? Why all these versions? What are end products of all these versions? (.exe, .jar, etc). … | |
| hi again im starting to learn tkinter but i cant find any good tutorials if you know of any then can you please tell me thanks |
| Does any one know of any modules which could help me in comparing lists. I have the following problem. There are lists with names and there are lists with associated weights. For example, a = ['a', 'b', 'c', 'd'] w_a = [0.25, 0.25, 0.25, 0.25] b = ['a', 'c'] w_b … |
i want a tool to convert the python files to java.Since i am completely unknown to python and want some python files converted to java...Can anyone please help me ??????U can reply to me directly on [email]tejas.dunk@gmail.com[/email] | |
Hi there! I'm having a very annoying problem... simply put, I have a .pyw file, and it works great! However, whenever the script runs the os.system() function, I get a brief CMD Prompt window, which immediately disappears. It's quite annoying! Is it possible to run os.system() commands without having the … | |
Hi there! My application is going very well... however, I have a couple questions... mainly, graphical stuff. [LIST] [*]How do I make it so the application runs in full screen? (I know I can do it by changing the preferences in the command line, but that's the ghetto way...) [*]How … | |
Hey everyone, Here's a question that should be pretty simple that I haven't found the answer to: if I'm using a function that takes some characters in quotes, what do I do if I want quotes to be some of those characters? I.e, if my code says if c in … | |
I'm using mutagen in a project I'm working on, and I want to edit an mp3's album art. I have the binary data stored in a variable. How to I write it to an mp3's id3 tag? | |
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, … |
The End.