15,181 Topics

Member Avatar for
Member Avatar for trihaitran

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 …

Member Avatar for trihaitran
0
206
Member Avatar for Hazey

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 …

Member Avatar for bvdet
0
71
Member Avatar for chillax137

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 …

Member Avatar for vegaseat
0
152
Member Avatar for OutOfReach

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 …

Member Avatar for OutOfReach
0
203
Member Avatar for dineshdileep

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 …

Member Avatar for zachabesh
0
86
Member Avatar for damyt01

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 …

Member Avatar for bvdet
0
92
Member Avatar for skate6566

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, …

Member Avatar for EAnder
0
133
Member Avatar for NorthGirl

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 …

Member Avatar for woooee
0
97
Member Avatar for g_e_young

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 …

Member Avatar for g_e_young
0
1K
Member Avatar for jrtjrt

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 …

Member Avatar for jrtjrt
0
429
Member Avatar for cglosser

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 …

Member Avatar for jlm699
0
79
Member Avatar for damyt01

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 …

Member Avatar for jlm699
0
106
Member Avatar for sirconnorstack

Is there any way to edit the album art of mp3s with python or a python library? This is getting frustrating!

0
43
Member Avatar for Stefano Mtangoo

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). …

Member Avatar for Stefano Mtangoo
0
204
Member Avatar for leegeorg07

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

Member Avatar for Gribouillis
0
94
Member Avatar for sjvr767

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 …

Member Avatar for sjvr767
0
92
Member Avatar for tejas.dunk

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]

Member Avatar for tejas.dunk
0
211
Member Avatar for Dekudude

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 …

Member Avatar for Gribouillis
0
174
Member Avatar for Dekudude

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 …

Member Avatar for Dekudude
0
140
Member Avatar for tortoiseman

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 …

Member Avatar for tortoiseman
0
81
Member Avatar for sirconnorstack

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?

0
51
Member Avatar for Stefano Mtangoo

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, …

Member Avatar for Stefano Mtangoo
0
131
Member Avatar for leegeorg07

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

Member Avatar for Ene Uran
0
74
Member Avatar for mashimaro

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+'' …

Member Avatar for mashimaro
0
110
Member Avatar for leegeorg07

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' …

Member Avatar for Gribouillis
0
139
Member Avatar for baba786

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 …

Member Avatar for sneekula
0
249
Member Avatar for kushyer

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 …

Member Avatar for sneekula
0
105
Member Avatar for ssharish2005

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

Member Avatar for sneekula
0
495
Member Avatar for ndoe

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> …

Member Avatar for ndoe
0
111
Member Avatar for Stefano Mtangoo

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, …

0
51

The End.