Forum

Posts

RECENTLY INDEXED PROGRAMMING SOLUTIONS OF Python Programming


Flaw in Pygame  

When ever you either minimize the window or move another window over top, it updates the display. This may not sound like a problem, but for me it is.In my game, whenever you're in an area it's just your character fake walking in the center of the screen,... Continue Reading
Views : 27
Friday 28th of December 2012

Are there any alternatives for GOTO in PythonI am facing a problem please respond.  

بسم الله الرحمن الرحيمHi guys I have designed a program that converts the date from Islamic calendar to Christian calendar.Unfortunately,... Continue Reading
Views : 40
Friday 28th of December 2012

Optimizing my win32api function  

I have a program that is intended to record and playback arrow keys and space bar input exactly how they were pressed and at what time.But I need it to be more precise/accurate/consistent, rather then just recording the number of empty loops in between each... Continue Reading
Views : 45
Friday 28th of December 2012

Can a function give a global variable a value  

Is there anyway for this to happen?At the moment, I am working on a little text adventure. I have also recently discovered the joy of functions, but they have one problem; they can't return a value for a global variable!The following code is a... Continue Reading
Views : 40
Friday 28th of December 2012

Python Internals  

Hey all, i just read that if you make a list of ints, python will allocate a QUADWORD per element in the list! I mean, i've got a gig of ram, but a quadword? what the heck does it do with all that space? Seems like most of it MUST go to waste. I'm not super... Continue Reading
Views : 28
Friday 28th of December 2012

Total noob, trouble expected  

Hi all, I'm new here and have absolutely no experience programming. I figured to give python a try. I bought "Learning Python" from the O'Reilly series and find it rather confusing. I've been also reading/working through some online tutorials. Continue Reading
Views : 51
Friday 28th of December 2012

Progress  

Hey , how do i check my progress in learning python ? Continue Reading
Views : 41
Friday 28th of December 2012

First relatively useful python program  

My first program in Python besides learning the basics.It basically asks for 4 names and ages, and prints out the names of those that can drive (over 16).I must say that for smaller programs, I quite like python Continue Reading
Views : 17
Friday 28th of December 2012

How can I send e-mail via python  

Hello I am trying to write a python program that will send my log files to my email. Does python have a library that supports sending email? thanks Continue Reading
Views : 21
Friday 28th of December 2012

Weird Problem  

events.py (Toggle Plain Text) from pygame.image import load#from pygame.draw import circlefrom random... Continue Reading
Views : 17
Friday 28th of December 2012

Array Modules  

What is the difference between modules numarray and Numeric? Is one of them simply outdated? Continue Reading
Views : 25
Friday 28th of December 2012

PyCherry Help Is this safe  

Quote: Originally Posted by... Continue Reading
Views : 26
Friday 28th of December 2012

Python is where it starts.  

Thanks guys! Continue Reading
Views : 44
Friday 28th of December 2012

CherryPy Multiple Threads  

This is going to be complicated... I have at least 1000 files on my server that would all need to be seperately synchronized... this will be complicated. Continue Reading
Views : 24
Friday 28th of December 2012

Defining and handling command-line options  

I made a password-generator in Python. I figure that it would be much faster if it could be called like this Quote: Continue Reading
Views : 19
Friday 28th of December 2012

Retreiving outgoing packets  

What module would you suggest I use to look into how I could go about retreiving and analyzing outgoing internet packets?I'd like to be able to for a game I play, take the packets it sends while playing online and analyze those for a scoring... Continue Reading
Views : 20
Friday 28th of December 2012

Keeping Window Open :\  

K, I'm a complete noob when it comes to python. I have no experience in it what-so-ever. So you might be getting a lot of these posts from me... little lame things...Now, how do you keep a python window open? When I do the print command, it doesn't stay... Continue Reading
Views : 44
Friday 28th of December 2012

Need Help Cant Find Download  

i need help b/c i cant find a download for python any where. Continue Reading
Views : 55
Friday 28th of December 2012

Remote Python  

One of the problems with Python is the following. You have a Python idea (can happen!), but the computer you have access to does not have Python installed (shame on them!).I would love to see a website that you can run your Python codes on in a pinch,... Continue Reading
Views : 21
Friday 28th of December 2012

Python too easy  

Sane might be on to something. Maybe the kind of problems given to the typical Basic or C student are too easy to solve for a Python student. Simple problems like spelling a string in reverse, counting the characters in a string, or counting the words in a text file... Continue Reading
Views : 18
Friday 28th of December 2012

reloading html select boxs...is there a better way  

Hi all!I'm doing some work with python and forums and I've created an app that will reload previous form data that a user has entered and saved to a file so they may edit it and re-save the changes. Among that data are several select boxs. I found that... Continue Reading
Views : 45
Friday 28th of December 2012

Beginner programming tasks  

I was trying to do mrynit's bob, bill and joe thingie, but it doesn't append the last elif person ( Continue Reading
Views : 45
Friday 28th of December 2012

python for newbie  

hi! i have a few question with regards to python.1. Can I use python for web application? how's python to compare with PHP? does python can interact with mySQL like PHP does?2. is python is good programming langauage for application programming?... Continue Reading
Views : 36
Friday 28th of December 2012

Never Programmed Before -- Have Task that makes me want to learn or ... die.  

Yeah. Getting bunches of information from websites for the good of companies is fairly commonplace. I work part-time for a travel industry software provider and had to create a few spiders to scrape a lot of flight/hotel info to place in their database. It's a royal... Continue Reading
Views : 18
Friday 28th of December 2012

windows progamming  

i am wanting to make programs for like yahoo use. do i have to know windows programming? if so can someone point me in the right direction. Continue Reading
Views : 24
Friday 28th of December 2012

Suppressing output  

Is there a way to suppress output to stdout in Python? I am importing a module written by someone else that I do not want to modify which prints status messages while it is running. Is there an easy way to prevent these messages from being printed, then allowing my... Continue Reading
Views : 28
Friday 28th of December 2012

Python Industry Use  

Quote: Originally Posted by... Continue Reading
Views : 37
Friday 28th of December 2012

Python, Performance, and Psyco  

First of all, if you're new to programming and the real world, you almost certainly have the wrong ideas about application development, performance tuning, efficient coding, and the whys and wherefores thereof. That isn't intended to be a mortal insult, but the... Continue Reading
Views : 54
Friday 28th of December 2012

Beginers Python Tutorial  

This is a tutorial I originaly wrote for the hackers.com forum... but since that forum was taken down for the better part of the year I'll bring the tutorial here...1. IntroNow what is Python? Well Python is a very powerful programming language... Continue Reading
Views : 38
Friday 28th of December 2012

Combining strings for os.system()  

So... why were you giving me a hard time about it? Continue Reading
Views : 34
Friday 28th of December 2012