15,180 Topics

Member Avatar for
Member Avatar for c_shaft05

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?!

Member Avatar for vegaseat
0
1K
Member Avatar for bumsfeld

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?

Member Avatar for bumsfeld
0
156
Member Avatar for bumsfeld

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 …

Member Avatar for bumsfeld
0
486
Member Avatar for shanenin

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]

Member Avatar for shanenin
1
185
Member Avatar for Riptide-X-

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): …

Member Avatar for shanenin
0
156
Member Avatar for shanenin

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 …

Member Avatar for vegaseat
0
350
Member Avatar for bumsfeld

I can not figure out the order of dictionary keys, they seemed not to be sorted. Any insight?

Member Avatar for G-Do
0
363
Member Avatar for bumsfeld

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 …

Member Avatar for wally_lawless
0
271
Member Avatar for G-Do

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 …

Member Avatar for vegaseat
0
86
Member Avatar for a1eio

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 …

Member Avatar for vegaseat
0
341
Member Avatar for wally_lawless

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 …

Member Avatar for vegaseat
0
128
Member Avatar for bumsfeld

I have read the tutorial about Python and JPEG here, but there si no mention about showing the actual picture!

Member Avatar for vegaseat
0
159
Member Avatar for vegaseat

[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 …

0
119
Member Avatar for plazmo

i know it is possible to use python with c/c++ but can python be used similairly with c#/vb?

Member Avatar for plazmo
0
191
Member Avatar for bumsfeld
Member Avatar for bumsfeld
0
3K
Member Avatar for TheSkunkMan

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? …

Member Avatar for vegaseat
0
174
Member Avatar for shanenin

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 …

Member Avatar for bumsfeld
0
271
Member Avatar for vanitha

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

Member Avatar for xav.vijay
0
85
Member Avatar for bumsfeld

Is there a ways to merge two similar dictionaries, and what happens if the key words clash?

Member Avatar for bumsfeld
0
218
Member Avatar for jchang

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 …

Member Avatar for xav.vijay
0
180
Member Avatar for georgerohith

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. …

Member Avatar for vegaseat
0
107
Member Avatar for john_27

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 …

Member Avatar for vegaseat
0
211
Member Avatar for qwester

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 …

Member Avatar for bumsfeld
0
362
Member Avatar for TheSkunkMan

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?

Member Avatar for TheSkunkMan
0
4K
Member Avatar for Jackiemonster

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) …

Member Avatar for vegaseat
0
161
Member Avatar for SpacePony

I am trying to access some of Adobe Acrobat 7.0's methods using win32com. The IAC reference manual ([url]http://partners.adobe.com/public/developer/en/acrobat/sdk/pdf/iac/IACReference.pdf[/url]) tells me that the methods I want are in AxAcroPDFLib but I'm having trouble determining which type library I need to load to get access to AxAcroPDFLib. I'm able to get access …

0
55
Member Avatar for xav.vijay

Hai friends I have a small problem with my code... I want to copy an existing file (its a model MS Excel file) to a new file & name it with the current date... First I tried to create the model Excel file, but when I opened it, it had …

Member Avatar for xav.vijay
0
311
Member Avatar for bumsfeld

Does Python have something like peek(memory) and poke(memory) of other languages that read and write to memory addresses directly?

Member Avatar for vegaseat
0
119
Member Avatar for shanenin

I would like to write an application that would search a site like "minitorrents.com" and automatically download torrent files of tv shows I like. I am thinking urllib.py might be able to do something like this. I need to be able to use the search feature of "minitorrents.com", then recursivley …

Member Avatar for shanenin
0
266
Member Avatar for Skyline_GTR

I am very new to python and I have this code that I wrote... I am trying to make it so the turtle will bounce if it touches any of the box.. but somehow the turtle does not fuction the way it suppose.. I wonder can anyone give me a …

Member Avatar for Skyline_GTR
0
563

The End.