15,195 Topics
![]() | |
Can I display animated images like an animated GIF file using Python code? | |
hi guys , I am interested in writing a code to do the soduko ( or sudoku ) , I found this code on the internet which is supposed to be the shortest soduko solver but it is so short that I can not undrestand it . can any one … | |
Hi all, hopefully someone may be able to help me out here. Is there anyway I can take a sequence of numbers and add them together? For example say i have this sequence [1,0,2], what i want to do is basically add each number so in this case the final … | |
I'm trying to write a class containing some code i want to reuse in other projects, but I just cant seem to get it right. I'm hoping someone out there can offer a helping hand. Here is the original code: [code] def Numero(name): 'A function which converts a string to … | |
Hello gang, I was actually really my old topic on this forum. I heard that Python and Ruby would be for me to start with. Does that sound right instead of jumping right in to C and C++? What is required in Python? Is there free tutorials on that language? … | |
Hi can anyone help me with using the interp2d class in scipy? thx | |
Hi friends: First of all, thanks for your time. I was wondering if it´s possible to develop (using Python, of course) some kind of application which can interact whith an internet page to which I'am a registered user (it´s not a matter of hacking) and to work whith the results … | |
hi.. can anybody help me to have more efficient code.. i tried to do some simple regex to split an URL i tried to do this on my own many times but i couldnt seem to get it right i havent master regex yet..(im learning - but the learning curve … | |
hi there, i'm trying to connect a python server to vb.net using xmlrpc. i've read all the xmlrpc.net materials in [url]http://www.xml-rpc.net/[/url] but i dun reli understand how xmlrpc.net works (i'm a noob in programming :) ) i'm given this xmlrpc server code in python and i wish to connect it … | |
Hi.. im currently writing a program in python to parse a log file.. this log file is expected to be very big - (70MB - 250MB ) in size.. in the file there's this whole bunch lines of internet activity.. i supposed to parse each line and extract some information.. … | |
Hi there i'm hoping someone can help me with this little problem. I'm pretty sure its a scope issue but since I'm new to python I cant say for sure. Basically i'm trying to get the counter2 variables final result. Below is the function as it stands right now, I've … | |
I was wondering if it is possible in Python to send a job to the user's printer. I have a string, and I wanted to be able to print it out on a piece of paper. I have wxPython installed and imported into the app if that makes any sort … | |
A friend of mine has suggested that I look into Turbogears when I get around to creating the Web site that I'm thinking about. Does anyone have any experience with this application or just thoughts, whether they be good or bad? Thanks, Bill | |
I was making a simple application with a GUI built with wxPython. I have created and layed out the main menu, and when the user clicks a button, it is *supposed* to make a different set of controls appear, getting rid of/hiding the main menu. I was wondering how to … | |
When my bot joins a room it will respond to certain words that are typed. An example would be that if someone typed "hello" the bot would reply "Hello <user>! How are you doing?" My problem is that I can't seem to get the bot to reply to NOTICE or … | |
hi i've been trying to parse the argument using getopt i need to have it to be able to handle argv[0] logfile (i ment to take the following argument after argv and put it in variable - like listed in the usage part) but i coudnt get it to work … | |
Can someone assist me on creating this program? Thank you. create a program that will allow you to calculate the following: 1) The average gas mileage of a car 2) The range of a given car 3) The cost of a given trip 1) Create a Car.py file that will … | |
I am new to Python and, in fact, I have limited programming experience in general. I am attempting to create a web form that our HR employees can use to add new employees into Active Directory and to create a mailbox for that user. AD is on a WIN2k server … | |
I want to change my desktop by writing a python program,can somebody help me ?thanks so much! | |
hi all, i have an assignment due tonight and i have been on this assignment for the past 4 days and my brain totaly shut down, below is what i need to do, it's namegame i enter my name on an html input form and the namegame.py will write my … | |
Hi, Any informations about python certifications ? | |
I all ready completed and ran a program that works fine in Python but now I'm looking to convert that code to C++ in Eclipse. I thought I would be able to import this code than have some miracle conversion take place. Is this possible or does the whole code … | |
Hi there! How do I check if stdin is empty? This is how I write in the terminal to call my program: [CODE] >> cat file.txt | python script.py[/CODE] /flaerpen | |
I got this error when i was running a tuturial on how to view data using a grid in wx. I downloaded the modules for wx. I wandering if anyone can help me. this is the error i got [code] Traceback (most recent call last): File "C:\Update\data.py", line 7, in … | |
Hi, I'm trying to use the function paste() to paste a image into another image but I can't get it work! Is it the right function to use or is there any other function that's better? Here's my very simple code: [code=python]from PIL import Image import ImageDraw im = Image.new("RGB", … | |
Hey, I am writing a program that needs to share a cookie between internet explorer and the program I'm writing. Here's the scenario. A user logs into his account through IE, and then starts the program I'm writing. The program will retrieve the cookie from the IE cache and then … | |
Hi Bumsfeld, thanks for sharing, I haven't come across this before [quote=bumsfeld;398646] [code=python]# works on Windows or Linux, also Vista import os os.system(['clear','cls'][os.name == 'nt']) [/code][/quote] Can please tell me how is the following code is working. I mean, [code=Python] >>> ['clear','cls'] [True] 'cls' >>> ['clear','cls'] [False] 'clear' >>> ['a','b']['some_string' … | |
Hello all, I've been seeking for an solutions but i'm stuck. I'm generating a image of cells (circles, using ellipses) from a file where there is coordinates that i use (x,y,r). This function draws these cells (alot of them) to a image and it works great. But I would like … | |
hi all, I want to integrate Python 2.5 with JNI class.. Here my code.. actually, i want to integrate Apple Pie Parser (used C++ language) with Python.. the step is : 1) i build JNI class in Java that integrating with APP JAVA CODE import java.text.BreakIterator ; class Semantic { … | |
Hi there! I'm wondering if there is a "package" instruction in python so I can in a directory keep packaging all the classes and I don't have to import them every time. I mean, if in a same directory I have a class DutiesManager that controls an array of instances … |
The End.