15,175 Topics

Member Avatar for
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
427
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
200
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
241
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
494
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
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
63
Member Avatar for lllllIllIlllI

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 …

Member Avatar for lllllIllIlllI
0
901
Member Avatar for dinilkarun

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

Member Avatar for dinilkarun
0
139
Member Avatar for baba786

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.

Member Avatar for Gribouillis
0
102
Member Avatar for tortoiseman

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 …

Member Avatar for tortoiseman
0
78
Member Avatar for Stefano Mtangoo

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

0
46

The End.