Login or Sign up Help | Site Map
Connecting Tech Pros Worldwide

Python Forum

Python programming language - Ask questions about python interpreter, control flow, data structures, modules errors, classes, standard library, gui, databases, unit testing, object oriented, structured programming and more.
What is your OS and Python Version
251 Replies | Posted by: bartonc | Last post by DK1090, 3 days ago
For the benefit of those of us who answer questions, PLEASE REPLY in this thread with your operating system, version of python that you are using,... more »
sticky
New (Firefox)!!! Instructions for copying code from these threads (also IE)
9 Replies | Posted by: bartonc | Last post by RedSon, 219 days ago
If you are using Firefox as you browser, you'll probably have discovered that the new-style tags don't allow you to copy posted code without an... more »
sticky
Sockets
1 Reply | Posted by: Thomascountz | Last post by Thomascountz, Today
Let me get flamed now. Seriously I've know this has been asked at least one other time. Does anyone know any good tutorials online about sockets.... more »
User input and classes
Post Reply? | Posted by: sirdeltalot | Last post by sirdeltalot, Today
Hi, I'm learning python and i'm in the process of trying to write an adress book program. I'm using a class to do it all and i'm hopeless at oop.... more »
count number of rows returned
1 Reply | Posted by: yuva17raj | Last post by Dekudude, Today
hi i am using the select query with group by, so that i am getting records with more than one column so that i need to calculate the number of rows... more »
Capturing a system call REQUEST and then REPLYING
1 Reply | Posted by: earthdirt | Last post by kaarthikeyapreyan, Today
I'm a newbie and I'm in way over my head with a pressing real world problem I need to solve with python.....one that isn't waiting for me to learn... more »
I don't even know what it's called...
4 Replies | Posted by: Thomascountz | Last post by Thomascountz, Yesterday
I'm completely new to python, I just started about 3 days ago. I've requested some books from my library on python, so I hope I'm headed in the right... more »
Accessing variables
3 Replies | Posted by: kaarthikeyapreyan | Last post by kaarthikeyapreyan, Yesterday
Is there any possibility that i could access a the variables that i have defined in a function for example def foo(): i = 10 i = i + 10 I... more »
Speech!
4 Replies | Posted by: Dekudude | Last post by Dekudude, Yesterday
Hi there! I'm working on a simple script, and I was wondering if there is some way to use the Microsoft built-in speech SDKs (to voice, and text... more »
Simple UnZip Script, help
3 Replies | Posted by: jld730 | Last post by heiro, Yesterday
Hi All, I am looking for help on this simple script to unzip/extract the contents of a zip file. This is what I have so far: import zipfile, os,... more »
problem with pygame
Post Reply? | Posted by: dynamo | Last post by dynamo, Yesterday
hi guy,when i run my program which contains the following portion of code in the mainloop clock=pygame.time.Clock() while True: sound1.play() ... more »
While Loop problem
Post Reply? | Posted by: PythonNotSoGuru | Last post by PythonNotSoGuru, 3 days ago
Hi everyone. I am using a while loop in a game and during the game loop i want the user to be able to give input without the program stopping at a... more »
While Loop problem
Post Reply? | Posted by: PythonNotSoGuru | Last post by PythonNotSoGuru, 3 days ago
Hi everyone. I am using a while loop in a game and during the game loop i want the user to be able to give input without the program stopping at a... more »
Pickleing
2 Replies | Posted by: sirdeltalot | Last post by sirdeltalot, 4 days ago
Hi I'm a total beginner in python. Want i want to know is how to pickle a dictionary after a user has updated it then read back from the pickled... more »
File to Dictionary?
6 Replies | Posted by: Dekudude | Last post by Dekudude, 4 days ago
Hi there, everyone! I was wondering... How would I go about writing a script that creates a dictionary from a file? EXAMPLE FILE: google start... more »
Error - "Bad file descriptor... command ID 36864..."
Post Reply? | Posted by: jld730 | Last post by jld730, 4 days ago
Hello All, I have a fairly simple script that runs fine, does what it is supposed to do, but generally on the second run (after running fine again)... more »
need to write a simple web crawler
11 Replies | Posted by: Pradeep Vasudevan | Last post by varun1985, 4 days ago
hai i am a student and need to write a simple web crawler using python and need some guidance of how to start.. i need to crawl web pages using BFS... more »
How to plot wind vector field?
6 Replies | Posted by: SpeedMath | Last post by SpeedMath, 5 days ago
Actually, I already "compute out my wind vectors" in my case study by using Python. I couldn't find any information for plotting my... more »
SOAPPy helloworld-ish problem
Post Reply? | Posted by: pion | Last post by pion, 5 days ago
Hello I'm trying to make a web service client in python, and so to start out, I found this simple example that are supposed to parse an wsdl file... more »
py2app chokes on MySQLdb
2 Replies | Posted by: AdamGr | Last post by AdamGr, 7 days ago
I am currently trying to convert a program I just wrote to application form, on the Mac. I'm using py2app to accomplish this, and everything works... more »
Distance between 2 points user chosen.
Post Reply? | Posted by: PythonNotSoGuru | Last post by PythonNotSoGuru, 7 days ago
Hi everyone. XP Service pack 2, english, python, I am just wondering how i could go about doing this. I am using pygame to draw 25 objects on the... more »
EOF in multi line statement!!??
1 Reply | Posted by: sirdeltalot | Last post by sirdeltalot, 8 days ago
Hi I keep on getting an errror saying 'EOF in multi-line statement' when i run my code. I'm just learning python and it keeps getting in the way.... more »
pdf printing
Post Reply? | Posted by: heiro | Last post by heiro, 8 days ago
Hi, I have a question on how to print a pdf file with comment summary (CTRL T using adobe acrobat professional). I can print a pdf using win32api... more »
Graceful exit in Jython
2 Replies | Posted by: jlm699 | Last post by jlm699, 8 days ago
Greetings fellow developers. I have a 'super loop' in jython (ie, while True: ) that does not take input from the user at any point. It simply runs... more »
Twill - using 'find' command from python code
1 Reply | Posted by: aditi1184 | Last post by fordie1000, 8 days ago
Hi, I am trying to use the 'find' command of twill from within a python code but it seems to return no result. I tried to run that command on the... more »
How to enable Load option in tkinter -python
2 Replies | Posted by: yorlina007 | Last post by dazzler, 9 days ago
Hi I need to design a tkinter widget where i should have a browse option button as you see in all windows application to select a file from my... more »
PyQt4 signal slot method
Post Reply? | Posted by: kunalgalav | Last post by kunalgalav, 9 days ago
Hi , I am a newbie to python and I am trying to send a signal to my application using a thread. Here's my code: import sys from PyQt4 import QtGui,... more »

Top Python Forum Contributors