14,945 Topics
|
|
hello I am new in python.I would like to know how to play a sine vector using the sound card through python . I would really appreciate your help thanks |
|
hello I am new in python.Can anyone show me away to play sine wave through sound card usind python? please give me some help thanks |
|
Right now I have a mixed list of different types of elements: [code=python]mixed_list = [1, 0.5, 0, 3, 'a', 'z'] print max(mixed_list) # shows z, but would like it to be 3 [/code]How can I find the maximum numeric element of the list? |
|
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' … |
The End.