15,185 Topics
| |
Ok I was wondering if anyone could help me with how to make a python program interact with files. Copying, pasting, moving, things like that, opening. If it cant really be discussed quicky are there any good tutorials? Mainly a organinzing python program.(looks for a certain file extention, then moves … | |
Ok, Im still really shaky w/useing python with other programs. So here is my question, is it possible to create just a very small program that grabs my IP adress, copys it, and then sends it to certain IM buddys? The reason I am asking this is beacause my friends … | |
Hey.. Does anyone know what libraries are needed for using GnomeDruid class (and other Gnome classes), and where can i download these libraries? Thanks! | |
I have this function that takes info from two lists, and produces a list that shows their values in ... non interger form (0.8). I'm calling this function in a for loop, and this function gets repeated 20 times, pulling different info each time. This function works just fine, and … | |
Is there a function in wxPython or anything that can creat a variable frequency sounds? | |
I'm working on some python programming and I need some help as to how to double the size of a picture using the image module.... any ideas?! | |
I want to creat file with each line having date + time + data so I can append more data as need be and know when it was added. What date+time function would be best? | |
I have run the slider demo that come with wxPython docs. It is rather stupid, as it puts slider on a panel using many unexplained numbers, never tells how to get position of slider or what to do next if the slider is moved. I am much lost, does anyone … | |
I noticed I have two versions of wxPython installed on my linux system. I found a way to choose which version you want to import [code] #!/usr/bin/env python import wxversion wxversion.select('2.6') [/code] | |
I'm very new to python, but am having mighty issues. I was wondering if someoen could help me out. I need to write a simple program that will draw an X whos size is specified by the user. So five would look like this (5 spaces across, and 5 down): … | |
when I try and run boa-constuctorI am getting this error. Any suggestions to solve this. [code] C:/Python24/pythonw.exe -u "C:/Python24/Lib/site-packages/wxPython/tools/boa/Boa.py" Starting Boa Constructor v0.2.3 importing wxPython reading user preferences Traceback (most recent call last): File "C:/Python24/Lib/site-packages/wxPython/tools/boa/Boa.py", line 214, in ? import Preferences, About, Utils File "C:\Python24\Lib\site-packages\wxPython\tools\boa\Preferences.py", line 151, in ? screenWidth … | |
I can not figure out the order of dictionary keys, they seemed not to be sorted. Any insight? | |
Okay I have copy and pasted the code from the tutorial on the jpg image [url]http://daniweb.com/techtalkforums/thread33791.html[/url] onto my IDE editor. This time no problem with indents! Now I need to know how to instal required wxPython. I have Windows XP, also Python 2.4. Where do I best get free wxPython … | |
Hi all, I just added a clustering module to the code snippets. There are classes for modeling points and clusters of points, as well as two point-clustering functions - one is an implementation of the k-means algorithm, which I believe I posted earlier this year, and the other is an … | |
How do i access or call system commands (can't really think of a better thing to call em???) for example on explorer you can right click on an object and select eject, or format ect ect (mainly eject is what i want to know about) any help would be greatly … | |
Hey everybody, first new thread for me on this forum. Just noticed that there's no posts here involving wxPython, I'm just curious to hear if anybody knows why that might be? Anyway, I've got some projects in the works that use it and I'll be happy to post some code … | |
I have read the tutorial about Python and JPEG here, but there si no mention about showing the actual picture! | |
[B]Intro[/B] In part 1 we learned mostly about the header of the JPEG file. In this part we get to display the image and also extract and show any embedded comments. [B]wxPython[/B] To display the image we use wxPython. The raw JPEG image information is first pushed into a data … | |
i know it is possible to use python with c/c++ but can python be used similairly with c#/vb? | |
Is there a good way to invert dictionary so key:value gets to be value:key? | |
sorry about my post on pygame, but i'm having more trouble. frist off im ending the simple program that opens a window with if event.type == QUIT: raise SystemExit That makes a window pop up asking me if i want to quit. Is there another way to exit the window? … | |
I was helping my 6 year old read some sentenses he learned in school. for example: the dog is on skates the bird is on a plane the pig rides the horse I noticed he was not really reading(kind of) the individual words, he had the whole sentenses memorized. When … | |
hi everybody :) , Python is relatively new to me and i have installed python 2.4 and am not able to use IDLE(to run the modules) that comes along with python. can anyone help me out with this. Regards, vanitha | |
Is there a ways to merge two similar dictionaries, and what happens if the key words clash? | |
I built a function as following [code] def IsExists(fxfcustid): #global noduplicates db = db_connect("triumph","freight","vcpdb") cursor = db2.cursor() #************************************************************************* #*** Query to get entries made by the person acessing the system *** #************************************************************************* sql = '''select count(*) from triumph.fxf_salescontest_entry where fxf_acct_nbr = %(fxfcustid)s) and (delete_flag is null or delete_flag not in … | |
Hi All I have created created executable of Helloworld.py using McMillan Installer on Fedora core 3. It is working fine on Fedora core3. when i try to execute it on fedora core 2 it gives an error "segmentation fault" plese any one can help me why is it like so. … | |
Hi all, I am a newbie to python and am not sure,what i am doing is correct or not ,i wanna call c function from within python. i have my python program as: [code] import DLL if __name__ == "__main__": for i in range(1,6): DLL.RECEIVE_FROM_IL_S(10,50) [/code] here RECEIVE_FROM_IL_S() is c … | |
Hello, I'm having trouble with a project that I am doing in turtle graphics. I'm making a graphic of a soccer field with a ball bouncing around, but I want the ball to stop when it hits the net. I can get the ball to stop when it hits the … | |
Ive been trying to make a game recently but all pygame windows freeze. i have to use the Task Manager to exit. I also have to use it to exit a fullscreen too. All im doing in my code is opening a blank screen. How can i fix that? | |
I have a project to do for my CMPT 120 Class. And it's using basic python coding. I'm trying to write my name out with block letters. 'JAX' I need to use for loops and i'm stuck on my X here's the code for it [code] def x(n): t3=turtle.Pen() t3.left(60) … |
The End.