- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
I enjoy anything having to do with computers. I am currently in highschool and everything I know about computers is mostly self-taught.
- Interests
- Anything computer oriented. Web design, 3D computer graphics, 2D computer graphics, programming, animation,…
- PC Specs
- Windows XP Professional 256 MB RAM 70 Gig Harddrive space Compaq Presario V3000 AMD Turion 64 processor
I don't want to save all of my python files in the default directory, but if I save them elsewhere, python can't find the path to any modules I might be using. How can I change this to work? |
|
I'm trying to do a project that uses the trigonometric functions, but I'm having some trouble with them. When I type in this code: [CODE]import math print 0.5+math.cos((2*math.pi)/3)[/CODE] I get the answer 2.22044604925e-016. That's obviously not right. cos((2*pi)/3) is -0.5, so I should get the answer 0. Can anybody help … |
|
|
Re:
hi again i want to make something that captures images of my window and sove them into either a gif file or a video file, i thought about using win32s [code] win32gui.GetDesktopWindow() [/code] but i wasnt sure how to use this to save it to the file how could i … |
I am looking for a way to watch for specific messages sent by the system to my application. For example, I want to be able to watch for the WM_QUERYENDSESSION message and when it is received, to perform a specific action. I am working with the python win32 extensions, but … |
|
I have been looking for a way to compile my [B]whole[/B] program into a single executable file that can be run completely by itself. That also includes any image files that my program uses. Something like when the executable is run, all extra files are extracted into a temporary directory … |
|
Re:
Hi I am desperately trying to get the text from a chat window. My idea was to use win32gui.GetWindowText(). I wrote a program to display any text with win32gui.GetWindowText() by iterating over all past and previous handles and as deep into each handle as there are children. Basically I tried … |
|
Maybe I have this all completely wrong because I don't know what I'm doing, but I'm trying to work with win32 programming and I want to get the position of all the items on the desktop. I've found the handle for the desktop and I've found the LVM constants in … |
|
Okay, my first question is about wxpython's registerhotkey. As far as I can find, there are not letter key keycodes. This example relies on the win32con module: def regHotKey(self): """ This function registers the hotkey Alt+F1 with id=100 """ self.hotKeyId = 100 self.RegisterHotKey( self.hotKeyId, win32con.MOD_ALT, win32con.VK_F1) -- I want to … |
|
wxpython question: I am looking for a way to select just a line of text out of many lines of text by just clicking anywhere on the line of text, like what is shown in the attachment. Let's say I have a TextCtrl with lines of text. How would I … |
|
Okay, so I'm trying to make a kind of clock program, where every second it displays the next image in the sequence. I does just that. It displays the next image. But it doesn't replace the previous image, it just puts the next image on top. How would I get … |
|
I have a sandisk thumb drive that in the past, whenever I plugged it in, would load up two drives, E and F. It would always be E and F. But lately, the drive letters for the thumb drive have changed to like G and H. I don't know why. … |
|
Okay, sorry, I just posted a different thread here a couple days ago, I know. But I have another question and I've googled it and can't find the answer. let's say I have a list num=[1,2,3,4,5,6] and I want to add all of the items together for one big number. … |
|
Okay, so I've been working on a program that converts ascii values to text. The way that I have the code is functional, yet not convenient. Let me post the code and then explain.- [ICODE]letters=[' enter ','',' ',0,1,2,3,4,5,6,7,8,9,'A','B','C','D','E','F','G','H','I','J','K','L','M','N',\ 'O','P','Q','R','S','T','U','V','W','X','Y','Z','a','b','c','d','e',\ 'f','g','h','i','j','k','l','m','n','o','p','q',\ 'r','s','t','u','v','w','x','y','z'] numbers=[10,13,32,48,49,50,51,52,53,54,55,56,57,65,66,67,\ 68,69,70,71,72,73,74,75,76,77,78,79,80,81,\ 82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,\ 106,107,108,109,110,111,112,113,114,115,116,\ 117,118,119,120,121,122] # Ascii values in … |