15,175 Topics
| |
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, … | |
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) … |
The End.