1,730 Posted Topics
Re: Ok, does any other wxpy program run successful? I ask because may be version is wrong (I always prefer unicode). Another problem is installing wxpy with less admin rights. Try to re-install wxpy in Admin level. Try same code but compile with 2.5 | |
I'm learning ctypes right now and have made simple function and here is the code [CODE=python] #import ctypes module import ctypes as ct #get BOOL C++ value from ctypes from ctypes.wintypes import BOOL #Loading the DLL see: http://www.daniweb.com/forums/thread160430.html bass_dll = ct.cdll.bass #here is function description on the function """ Loads … | |
Re: I suggest pure HTML for such application. Python can do it, may be check here: [url]http://wiki.python.org/moin/WebProgramming[/url] | |
Re: I love Ubuntu and Fedora Core. I also give my cents to Solaris though not sure if is Linux ro Unix based (I guess Unix based) | |
Re: sample code?? Are you using TextCtrl or what? | |
Re: O2 - BHO: (no name) - {A3A641C8-7F6F-470E-8328-C28717500A65} - C:\WINDOWS\system32\geBtRigg.dll O4 - HKLM\..\Run: [nwiz] nwiz.exe /install I susspect these programs were the stubborn ones They are unIdentified, yet install themselves at startup :-O | |
I have been trying to learn ctypes so as I can call C++ DLLs in python and have no problem on Loading DLLs. My question are: What are procedures of calling functions in DLLs especially since Py and C++ have different data types? I see argtypes and restypes: What are … | |
Re: why not use Wing IDE? It have been my IDE for python. I have tried many; SPE, Pyscripter BOA, etc and found Wing IDE both easy and Powerful. If you don't Like to pay $ there is 101 version with stripped feature but have Editor, Run/Debug, Methoda/Class browser! I suggest … | |
I have HP and above mentioned softwares. I dont see their importance because they fail to update. I have even disabled at startup for they choke me with ----problems found....then cannot fix them due to no update. SHOULD I REMOVE THEM?? | |
Re: [QUOTE=jlm699;754354]We're here to help. Just post the code that you've already written and we'll be glad to fix any bugs or suggest ways to improve it.[/QUOTE] +1 jlm699 I think also if you don't have idea where to start, one can help that but not writing the whole program for … | |
Re: I have problems too in learning ctypes. They are powerful way to port C++ power into python, but seems to lack begginers tutorial which is very sad. For man like me with little knowledge in c++, it is big burded. Anyway, so far what I know is that, in order … | |
Re: Proportionality is missing. Also you can add wx.EXPAND for widgets to fit your sizer better [CODE=python] import wx class MainWindow(wx.Frame): def __init__(self, parent, id, title): wx.Frame.__init__(self, parent, wx.ID_ANY, title, size=(400,200), style = wx.DEFAULT_FRAME_STYLE | wx.NO_FULL_REPAINT_ON_RESIZE) #-- I think you need a panel if you're going to have more than one … | |
Re: try pinging instead of telneting and post result example: ping [url]www.yahoo.co.uk[/url] -t | |
I want to wait the song to finish after it finishes, I want to call another function How do I do that in wxpython | |
Hello Developers, I have simple media player that have slider that runs in sync with the song. When I want to move a song on given position using slider it moves slowly with strange gagging sound while other media player like foo/win' media player when you move song to a … | |
I have simple player with wx.ListCtrl as playlist. I first Load List through open file dialog. I populate a dictionary with filenames (populated in Playlist) as keys with their path as values. When I press play, the onPlay method calls onSetPath method which looks up for selected file from list … | |
Everything seems to be well, but NOTHING GET PLAYED!!!! :oops: I have tried and tried but doesn't work. WHAT IS WRONG???? :shock: [code=python] #media control #Copyright 2008 Evstevemd #Just media Player to play the playee import wx import wx.media as media import os, sys class MediaPlayer(wx.Frame): def __init__(self, parent, id, … | |
The debug process never connected back to WINGIDE: Aborting debug session I have tried repair python, no success. Also tried run IDLE same story | |
Re: [url]http://serevanta.googlepages.com/home.html[/url] [url]http://www.daniweb.com/forums/post677509.html[/url] [url]http://xoomer.alice.it/infinity77/main/freeware.html[/url] Enjoy! | |
I need simple DLL to play audio file (at lest MP3). As simple as possible for me to use it in practicing playing with DLLs | |
Re: I don't know about python but the trick of doing this is increasing the tempo of music. If the current module you are using can do that then that will be simple case | |
I have been discussing with python guys and it seems as if I need help from C/C++ guys. Pse consider to visit the link and say anything you can say about the problem Thanks [url]http://www.daniweb.com/forums/thread160430.html[/url] | |
Re: [CODE=python] mypocket = ("gum", "wallet", "old kleenex", "bus ticket") input_user = int (raw_input('How many item you need ? \n')) for i in range(input_user): print mypocket[i], #this will print from first to the limit of range #No catching of exceptions #use random module to randomize selection [/CODE] | |
Re: It is a matter of Choice but my beginning were like this: I started python, and then roamed around net database (Internet) and Tried two GUI toolkit, TkInter and wxpython. To be honest, I fell in love with wxpython and since then it have been My toolkit. When I was … | |
I have Laptop with Vista Hom Business and Ubuntu. I cannot get Vista work with Rdesktop from XP Pro Desktop at work. Is there anyway to access Laptop with Ubuntu from XP Pro? Why does My Vista's RDP doesn't work?? Best Regards | |
I was playing with ListCtrl and I have only been able to get first value of the selected row. Is there any method I can use to get the rest of column's value in the selected row? Help please Steve | |
I have so far been playing with wxpy's media control and is greater, but needs backend which is not good habit anyway. Is there any framework, that can in its own play multimedia file independent of OS's as backend?? I use python 2.5.2 Thanks all | |
Hi All, For long now have tried to get Python bindings and none is there. jlgm suggested me to try ctypes and I dived in. But there are few examples on using ctypes for new bees like me. I tried to take lame_enc.dll (The file made me to learn ctypes … | |
Hello All, can someone tell me exactly what is done by this function? Thanks alot! | |
Hello All, I was trying to make dll to play with ctypes in python. I'm not good at C++ and I studied it lightly looong ago and only familiar with very simple thing. After search the net I found smo instructions but when I try to Build (with CodeBlocks), I … | |
Re: Here we have alot of people with diff background! Just post your question and the one who have something to say will say Welcome to Daniweb!!! | |
I enter first time and works fine, but second time? Boom, it fails! What is wrong Best regards: [CODE=python] #Global values #key is ID/name and value is cost product = dict() identity = dict() #Function to check and add product and its ID def get_prod(): #anything can be a name … | |
Hello All Greetings I want to use Lame enc windows DLL procedures. I'm not very dipped in DLL things but it is that I want to use it in my Encoder. Any way can I use it in python?? Also Any suggestion on CD ripping library and Vobis/Ogg/Flac/wma encoder library … | |
Re: I have Vista Home Prem and HP Notebook, have got No Problem. What error does it give? | |
Re: I use Firefox, and that used to Bother ME. Solution: Upate to the latest Firefox. I think they got it fixed! | |
Re: I have not used it, But I know pyInstall exists | |
Re: Welcome to Python forum If 100% New to Programming start here: [url]www.python.org[/url] | |
Re: I'm not server man but once a time my college used Ubuntu server. I have heard of Redhat too but just my contribution | |
Hello Developers! I have been searching for long lame binding for python and have no way but need to learn ctypes to use lame_enc.DLL. For Now I need simple DLL with simple functions to play with. My Question is: Where can I get that simple yet safe DLL to play … | |
As simple as question is; What GUI toolkit do you use and why? Why didn't you used the rest? Here are GUIs I know of: [LIST=1] [*]TkInter [*]PyQT [*]PyGTK [*]Wxpython [/LIST] You can Add If you have one that isn't Listed | |
Re: What type of Laptop it is? I have Laptop and it Automatically detect network. All I have to tell is CONNECT the net of my choice Does it have built in Wireless MODEM?? | |
I have code but when I want to gather my widgets under same wx.StaticBox I fail. I wonder what is wrong! Please someone to corrrect me! [CODE=python] #Add static box to hold related widgets--- it otherwise does nothing holder1 = wx.StaticBox(mpanel, -1, label="Transactions", pos = (10, 10), size = (300,300)) … | |
Hello all, greetings I wonder where I can get API for afore mentioned DLL files? I need to use them in small app for personal exercises and needs API docs Also would like to know if there is anyone acquainted with Ctypes? Thanks all | |
Re: Dear Feenix45, The best way is to enclose the code in bracket to maintain the Indentation which is vita important. Just wrap your code tags Is this what you originally wrote?? Is your application GUI or Console? [CODE=python] def ID_search(prod_id): infile=open("tab.txt","r") line=infile.readline() while line!="": x=string.split((line),",") if prod_id==float(x[0]): print "Product is", … | |
Re: sample code will help explain more. Also search for something like calling one method from another place in this forum. What I know is you use their common parent as reference (SB can correct me if I'm wrong!) | |
Hello All, Greetings!! I was thinking of making MP3 Encoder. This is because I cannot find Exact encoder so I was finding some bindings for Lame Mp3 encoder and CD extractor/any cd to wav Library Thanks all Steve | |
Re: This is easy question to C/C++ guys if you posted at their forums. In python it is as simple as open("filename.extensin", "mode") for example f = open("assignment.tx", "r") | |
Re: Be careful on where you download the antivirus or antispyware. This is because some setup files in untrusted places can be embeded with malicious software. Also running many antivirus and antisyware at same time causes conflicting. So before using one (If you do testing) disable one and use the other. … |
The End.