15,185 Topics
| |
I am new to programming and python in general I have written a couple of beginner programs now I am working on my first one and I have hit a bump I am using the IDLE interface and using 2.5. I have a repetitive task I do at work which … | |
| Hey, I just learnt the basics of smtplib module, and now know how to successfully send emails using Python. My next step is to learn how to use Python to 'use' the web, as in, download files from a specified URL, or something like that. What module is required for … |
| i have a program that converts text into morse code and then outputs it using a module i found in the snippets section but whenever i try to run it, it raises the error that "utext is not iterable" here is the code: [code=python] morse_code={ "a":beeps.a(), "b":beeps.b(), "c":beeps.c(), "d":beeps.d(), "e":beeps.e(), … |
| hi i was wondering if there are any open source projects looking to take on people in a sort of internship? I looked on sourceforge but i couldnt find anything thanks in advance |
Dear wizards, here are two easy wxpython questions. Thanks in advance for your help! 1. How do I get wxpython to activate a button when user presses "Enter"? In the baby application below, pressing "Tab" switches the focus from one button to another, but I don't know how to make … | |
Hi, I can use webbrowser.open_new(url) to open an browser window easily, but how do I close this browser window ? I have searched the web and still not able to find a solution. Another way of doing this might be to start the browser window in a separate program (progA) … | |
Greetings. I'm relatively new to Python and need to write a simple (?) script that will capture all data from, say, port 42 and write it to a file. Can someone help me get started? Thanks. kennM | |
Hello, everyone. My boss gave me a mission impossible. He asked me to retype all the content from a 126 pages PDF document. God! I don’t wanna spend the whole day doing this boring task. Any idea? I tried copy and paste, but I can’t copy from the PDF files. … | |
Hi, I'm planning to work something with XML and Python. As part of familializing with it, I want to make simple playlist for a wxMedia player. the player is simply wx.MediaCtrl with some buttons and wxListCtrl as list container. My Question is, what process does it take to get playlis … | |
hello i want to select programming language that obtain this feature for me: 1: write best web application and speedy web application( like php application) 2: write desktop best and speedy application is fit python this features please help me to select best programming language for this feature i am … | |
First of all, just want to say hello, new to the forums, and hope that I could receive some help. I spent some time learning reversing, (Up to tutorial #30 of lena151's) I know pretty much everything except advanced key-genning and crypto, even reversed a few programs that were being … | |
hello i want to select programming language that obtain this feature for me: 1: write best web application and speedy web application( like php application) 2: write desktop best and speedy application is fit python this features | |
Hello This is a completely foreign thing to me, so, forgive my "Noob-ness" I'm so embarassed. You programmers out there are prob gonna say, "how much easier can we MAKE it for you?" I just installed the python gui on vista. (I will re-install it on THIS xp machine also … | |
Hi, all I want to write a program that doesn't require /path filename.py whenever i execute the program. I heard that one way to do is creating an alias for a command. I know this can be done by alias name=String in shell script, but how can i perform this … | |
Hi.. I'm just curious as to how one would set about writing some python code to monitor the network usage in one session... The program should simply record how much data has been downloaded from the time the computer is switched on to the time it was switched off. What … | |
hi all, i still cant get myself out in my previous thread i wrote that i wanted to carry out a random sample function on an entire file.. now what i wish to do is read a file use a dictionary to search lines and then get this lines and … | |
What does the sys module do in python? and what is sys.argv? | |
Hi! I don't remember where but i found this download function (geturl) that works great if i just send one url to the function. But as you can see i want to execute geturl() for each line in url.txt witch contains url:s. It still downloads but instead of a progressbar … | |
I have a text file(computer.txt) with informations about (computer ID) (computer brands), (price) and (computer parts:number required). It looks like the following comp123, Sam sung, GC323:3,MC202:2,KB132:1 comp423, Acer, GC232:1,SP666:2,WC132:3 comp341, Asus, LP123:3,MM231:3,LA123:3 How can i read this text file and output as a dictionary. | |
Is there any way to tell if a user clicks on the TitleBar of a frame? I tried to use wx.EVT_LEFT_UP(frame, self.OnLeftDown) but it does not seem to recognize a click on the TitleBar. Thank you for any suggestions. | |
I've been having problems with email in 3.1.1. I decided to try the examples from the docs. Alas, the first I tried didn't work. I tried to send a directory whose only contents were a single zip file. [code]#!/usr/bin/env python """Send the contents of a directory as a MIME message.""" … | |
Hi, I am using this zipfile.Zipfile module to zip around 600 MB of data. But after zipping, the size of the zipped folder is app. same. file = zipfile.ZipFile(yesterday_date_time + ".zip","w") os.chdir(rawFileLocation) dirList = os.listdir(rawFileLocation) for fnames in dirList: file.write(fnames) file.close() If i try to use compression method as ZIP_DEFLATED, … | |
I was trying to find out what tk is (with respect to tkinter) and I regularly came across the words API and "binding". What do they mean? | |
Hi! What i want to do is for my program to detect all USB disks inserted and return the device path (/dev/XXX) and system type. My first tought was to fetch output from fdisk -l but thats not very fancy and i guess there is some function or such to … | |
Hello, I have an array 'summed_MWloss' which has the following content: [0.00024064097412677081, 0.0010840802387205584, 0.003607376872954593, 0.0078014804983401742, 0.013657631815844617] I am having trouble writing it into a CSV file into seperate rows. The code I am using at the moment is: [ICODE]t = open(r'F:\IPSA\My_Work\Python_Files\my_powerD2.csv', 'w') output = csv.writer(t, dialect='excel', delimiter=',') output.writerow(summed_MWloss)[/ICODE] which allows … | |
What is a parser and what does it do? For example, what would an HTML parser do in python? | |
Here is my trouble: It loads the IRC information fine, but when its suppose to Identify itself (its a registered nick I'm making it use)but, It doesn't. So basically when after it connects, i want it to type that. Here is my code: [CODE]## An IRC bot by: Fellixombc import … | |
Does anybody know a way to peek the message queue in TKinter? | |
Hi. I've actually never used python but I'm an experience programmer in other languages. I wanted to do some "script-fu" for gimp, which uses scheme or python (it used to use perl, but AFAICT the bindings and modules are unmaintained and broken). I don't really like the look of scheme … | |
hi, since I just learned Python, I start using Python 3.1 (i know people said the best version would be 2.5 or 2.6, but i think that at sometime in the future, it will become obselete since python 3.x is not backward compatible). but when i look in forums or … |
The End.