14,945 Topics

Member Avatar for
Member Avatar for areebb

While "image" and "picture" are synonymous in English, I'm sure most of you are aware that they are not in Python. By "picture" I'm referring to the type used by the Picture.py module. By "image" I am referring to the type used by Image.py and ImageOps.py. There are useful functions …

Member Avatar for sneekula
0
85
Member Avatar for capri19

I've been struggling with this problem for several days without any luck You are my last hope It is probably an easy one (??) If anybody could give me an example on how to manage cookies i would be extremely grateful. What I'm trying to do is to pass a …

0
69
Member Avatar for jliu66

Hi, My friends, I have aquestion to ask you. I want to output a list of class objects to a file in csv format. but last step in writer.writerow does not work. Can you tell me what's wrong and how should I fixed? I want to output each object of …

0
51
Member Avatar for aot

I'd like a program that reads through one or more weather web pages and records information from them on a daily (or even hourly) basis. Is this kind of thing possible at all to create with python? (Alternatively, if anyone knows of a program that already does this, or a …

Member Avatar for aot
0
106
Member Avatar for Azurea

At the moment, I'm looking for formulas for jumping, falling, accellaration, and de-accellaration (pardon my spelling!). Does anyone have any good formulas for them? Thanks alot!

0
62
Member Avatar for capri19

I have built a web server in python for a local intranet. I would like to get the user's userid when they click on a link on my web page. Is this possible??

Member Avatar for jbennet
0
258
Member Avatar for monkhead

hi i am working on a challenging assignment where i have a list of different animals in an ecosystem and i have to show the relation ships the outpu requires to" # List of all species (in alphabetical order) # List of species at the top of the food chain. …

Member Avatar for vegaseat
0
89
Member Avatar for yelpy

i just got the latest version of python today and im finding it very difficult to understand. im only 15 and would greatly appreciate it if someone would help me understand the basics?

Member Avatar for vegaseat
0
152
Member Avatar for Roadphantom13

Hello. Beginner here so bear with me. I'm creating a game as a final project for my university but at the moment I'm stuck. I'm just wondering how you go about making buttons. In the code, I have created four rectangles which will eventually be able to be clicked on. …

Member Avatar for vegaseat
0
162
Member Avatar for eleonora

Could you please help me / explain me how to create a four in a row game in python? Thanks!

Member Avatar for G-Do
0
1K
Member Avatar for PicoDoM

So, I am slamming my head into my desk right now. I am trying to take a string containing unicode character codes and convert it to a python unicode string. I thought it would be simple, but I am having major issues. Any help would be greatly appreciated. This is …

Member Avatar for PicoDoM
0
655
Member Avatar for iacobus2

I am trying to learn the Kexi database program, and am at the point of looking into scripting. I know this can be done using Python, but I can't find any tutorials or lessons on how to do this. In fact, I can't find much of anything relative to Kexi. …

Member Avatar for iacobus2
0
203
Member Avatar for nabash

Hi all, Is there a way to move the mouse pointer to a specific point? As opposite to GetPosition(), something like GetPosition maybe? THX [url]www.WhyUI.com[/url]

0
62
Member Avatar for MstrOfPppts

Hello, I am new to Python and would be verry happy if someone would give me the code for a function that yields all sublists of a list. I need it for later implemetation in C, where I have to do work on these sublists. I would need something like …

Member Avatar for woooee
0
104
Member Avatar for vigneshvh

hai i am a new visiter of this site so i want to know,in what all applications we can use this softwere python,how it is differ from c,c++,java like things.will its performance is much different than all else

Member Avatar for bumsfeld
0
85
Member Avatar for ALJ

Hi, I've searched but i can't seem to find anything. I have a sudoku grid made by turtle graphics. But the thing is how do i input numbers and select squares? Select squares as in.. A6 or something like that. I know its not turtle.write(whatever), that would just take way …

0
54
Member Avatar for bondbot

hi .i am bond .I am new to Python and I am trying to write an updated version 2007 of Pacman for my program. I am in dire need of help. Thanks!

Member Avatar for zandiago
0
50
Member Avatar for mruane

When I execute the program (just to test my progress), it returns an infinite loop (i think of main() or enter(). I am posting the entire source code here, maybe somebody could help me better organize it. In hte future, I would like to add a save feature. This is …

Member Avatar for woooee
0
81
Member Avatar for acwbrat

I am new to Python and I am trying to write an updated version 2007 of Pacman for my program. I am in dire need of help. Thanks! Computer Nerd

Member Avatar for acwbrat
0
3K
Member Avatar for rani_techie

Hello Everyone, In my application i need to select a file using open dialog box. And then i dont need to open the file. I just need to display the name of the selected file in a text control. And then open the file in later part of the program. …

Member Avatar for rani_techie
0
512
Member Avatar for Racoon200

Hi... I have this addLink button, that calls the addLinkClick function. content is a multiline text control. The following are variables: href,target,linkName I want this button to print [CODE] print "<a href='"+href+"' target='"+target+"'>"+linkName+"</a>" [/CODE] into the content control. How do I do this? Also...does anybody now how to run a …

Member Avatar for Racoon200
0
100
Member Avatar for pythonhelp

hello, I have a string s which contains the certain line drawing characters: '──────────────────────────────' (these are the characters being generated by pressing the keys alt+196) when i try to print the string 's' to a putty console using the code [CODE]print 's: %s' % s[/CODE] I do get the exact …

Member Avatar for bumsfeld
0
77
Member Avatar for Tamose

I'm trying to make the canvas (or window) created from the turtle module, but the code listed in the docs at python.org doesn't work. I've done some research online, and I keep coming across 'Tkinter', which is only confusing me further. I'm trying to make a soduko game, but first …

Member Avatar for bumsfeld
0
900
Member Avatar for oscquin

I have to do this project, The concept is quite simple (I think) but I have no Idea of how to accomplish it in python. What I have to do is make a date converter for Haab - Tzolkin Maya Calendar. It has to read Haab Date and return Tzolkin …

0
49
Member Avatar for Racoon200

Hi. Iam making an app to write and append to an html document blog-type blocks. I have the GUI finished, but I need to fusion it with my script. Look at this snippet of my script: [CODE] def link(href,target,linkName): partA = "<a href='"+href+"' target='"+target+"'>"+linkName+"</a>" print partA [/CODE] Now, this is …

Member Avatar for Racoon200
0
141
Member Avatar for meiyantao

Hello,everybody! I write my first Python script in file [B]Fibonacci.py[/B] in Linux as the fallowing: [CODE]a,b = 0,1 while b < 10: print b a,b = b,a+b[/CODE] When I want to run it,I must input these command in the command line: > python Fibonacci.py I want to know what should …

Member Avatar for meiyantao
0
115
Member Avatar for jiu

Hi everyone, I'm a relative beginner in python looking for a bit of help on an error I get when running the script posted below. It is used to split data files in text mode. It runs through a list of files (using the glob module) and creates a number …

Member Avatar for jiu
0
85
Member Avatar for animatinator

I'm having problems getting the MediaCtrl to display at a reasonable size with large videos. When I make it play one it instantly resizes itself to the size of the original video no matter what I set as it's maxsize, which often means that part of the window is off …

Member Avatar for woooee
0
191
Member Avatar for mn_kthompson

I'm curious why this bit of code doesn't work. When run it returns a blank line. Note: this is making use of a linux device file so it should not be expected to run properly on Windows. [CODE=python] #!/usr/bin/env python import os infile = os.open("/dev/zero", os.O_RDONLY) charout = os.read(infile,1) os.close(infile) …

Member Avatar for woooee
0
875
Member Avatar for Seagull One

Sorry...this turned out to be such a long post.:sweat: Hello. This was originally a problem I was facing with the user interface for my robot, but my latest post was never answered there. Right now I'm experimenting specifically with this problem: verbal raw input. I've posted this problem in another …

Member Avatar for jrcagle
0
223

The End.