Forum

Posts

RECENTLY INDEXED PROGRAMMING SOLUTIONS OF Python Programming


Python documentation help  

Hello, cue another noob questionwhere can i find documnetation on all pythons common keywords, format strings symblols etc.like so: (Toggle Plain... Continue Reading
Views : 48
Friday 28th of December 2012

what is pygame  

i saw this was using in many websites for writing many game programs, i juz want to know what is pygame? and how to use it? Continue Reading
Views : 30
Friday 28th of December 2012

Iterative matrix reading in py 3  

Hi. I'm new here and i'm new to python as well. I tryied to make a simple script for python 3 with official libraries to read and print a matrix through iterations. In c/c++ this is terribly easy but i find it kinda hard in python. Here is were i got so far. Continue Reading
Views : 23
Friday 28th of December 2012

list index out of range  

Okay, first of all i want to say hi cause im new to the forums. so hi! lolSecond i read all the rules and i know i really shouldnt be asking for help on a school assignment. But this is confusing and im wondering if i could just get a kick in the right... Continue Reading
Views : 21
Friday 28th of December 2012

Making output value to 2 decimal places  

I have this so far and it works just fine (Toggle Plain Text) #This program gets three scores and... Continue Reading
Views : 23
Friday 28th of December 2012

Invalid mode or filename with wildcard *  

I've been working on a backup script below, copying files from one server to another, with several requirements. The code is below. And I have a sample test input. Any help? Python Syntax ( Continue Reading
Views : 13
Friday 28th of December 2012

Help In python & database  

Hello , I'm new here as I'm new in python.. I need help in viewing database's data , I could view data in python but i need to view it in GUI . Continue Reading
Views : 24
Friday 28th of December 2012

How To Replace IT !!!!  

I Have 2 file .txt:file1.txt: (Toggle Plain Text) I Show more flower you can see by linkAll is... Continue Reading
Views : 29
Friday 28th of December 2012

Drawing A circle using Graphics Module  

So i need to take 3 mouse clicks generated by a user and use those three clicks to draw a circle that will go through all three.I also need to print out the coordinates of the three spots that were clicked. All i have right now is how to... Continue Reading
Views : 30
Friday 28th of December 2012

Finding prime numbers in Python  

nice information on Finding prime numbers in Pythonthanks for sharing this post Continue Reading
Views : 51
Friday 28th of December 2012

Calculating  

I will can't at this second at library but, when I get home I will hey you got any ideas. I have ubuntu but, when I save a file as .py now it opens up a text editor how can i change this? Continue Reading
Views : 49
Friday 28th of December 2012

Gues my number - infinite loop  

I see where i went wrong but, im confused on how to fix it such as with c++ i can use brackets to include what i wan in my statements. (Toggle Plain... Continue Reading
Views : 27
Friday 28th of December 2012

Stockpicker  

I got this python script that searches the tsx for companies and spits out a list on the top ones based on a variety of factors. I'm looking to turn this into something larger and would require some assistance. I have been using it for a little while now and have... Continue Reading
Views : 41
Friday 28th of December 2012

Python __iter__ and next methods for user defined class / nested list  

In Python... I have a nested list defined in a class as: (Toggle Plain Text) self.env = [[... Continue Reading
Views : 46
Friday 28th of December 2012

List Question  

Here is an example code:months = [ 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December',] Continue Reading
Views : 44
Friday 28th of December 2012

Converting Strings To Numbers  

I wrote a Python function a little while back that converts strings to numbers, for an app I was developing (which is currently on hold). It simply pulls out all the crap that isn't a number - for example, "8v52.x3" will become 852.3. It allows you to specify the... Continue Reading
Views : 33
Friday 28th of December 2012

Gui  

HiI am always hearing people talking about GUI and IDLE stuff in programming. Would anybody mind explaining to me what these actually mean? And sort of what the difference is?!Thanx Continue Reading
Views : 28
Friday 28th of December 2012

New to python/programming  

Hey, i'm new to programming, i thought I'de start with Python. Anyone know any good tutorials and is PsPad a good scripting editor for this language? , Continue Reading
Views : 30
Friday 28th of December 2012

from MID() in VB to Python  

do anyone know the equivalent of the function MID() in VB, for Python? thx in advance... Continue Reading
Views : 53
Friday 28th of December 2012

is python good for making a calculator for octal numbers  

do you think this is feasible? fairly easy or moderate?thx in advance Continue Reading
Views : 47
Friday 28th of December 2012

In need of help  

I am a total newbie to Python, the only language i have ever learnt is irc scripts, html, and a bit of asp, i download the Python translator, etc etc, have read all the help files, i have a rough idea of the priniple behind it, but now i want to make something out of... Continue Reading
Views : 50
Friday 28th of December 2012

Python Contest #1  

I'm gonna try this, if it's successfull we'll keep going.For the first one, it'll be pretty easy.Challenge: Make a program that writes ANY word in this pattern:"horse""hors""hor""ho""h"With... Continue Reading
Views : 2
Friday 28th of December 2012

Fibonacci  

Hey!I am trying to make a program that calculates the fibonacci series up to a cetain value and it worked fine but when I tried to add a feature that asks you to type a number and then calculate the serie up to that number it jst keeps going and going. I don't... Continue Reading
Views : 25
Friday 28th of December 2012

Is there a way  

(Toggle Plain Text) def Add_Member(members): a = raw_input("Enter Member Name. ") b = raw_input("Enter... Continue Reading
Views : 35
Friday 28th of December 2012

What's with the baggage py2exe/compilers  

Hi people, i've just been reading some of the threads about the py2exe thing. everytime someone asks about turning their .py into .exe this comes up and they say that it actualy packs the python.exe and other stuff into the executable... isn't that unnecessary? I dont... Continue Reading
Views : 65
Friday 28th of December 2012

My ex g/f has prying eyes, and likes to read my chat logs, So....  

hehe, my girlfriend is obsessed, and likes to read all my msn chat logs, and it's hard to find the time to delete them without her watching.. So I thought i would let something else do my dirty work, and stop her watching me, so they all get removed in double click... Continue Reading
Views : 36
Friday 28th of December 2012

invalid literal problem driving me nuts  

i have a socket program running thanks to cerulean. it passes data back and forth between clients. when i print the data coming in to a client, it prints a series of 0's. but its a string. so i wanted to make it an int, i used int(data). unfortunately, this produces an... Continue Reading
Views : 16
Friday 28th of December 2012

Code library (in working progress)  

Some work I have done uses an editbox for the code and an associated editbox for notes. The search-as-you-type indexing is a good idea. Right now I have it search a listbox of keywords to speed things up. Of course you have to supply the keywords with each new... Continue Reading
Views : 27
Friday 28th of December 2012

Tk Data Entry  

I am writing a small program using Tkinter that needs to process two separate data entries. I am using two entry widgets and focus the cursor on the first entry at the start of the program.What I need, is a way to shift the focus to the second entry after... Continue Reading
Views : 23
Friday 28th of December 2012

Trapping user logins on Linux in python  

I am writting a daemon in python which should start at system start up with all inet.d serviceson an NIS server. Then it should listen to any user login and then start a new process for that user on his login which will continue throughout his entire session. Continue Reading
Views : 43
Friday 28th of December 2012