1,730 Posted Topics

Member Avatar for Raygoe

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

Member Avatar for jbennet
0
153
Member Avatar for Stefano Mtangoo

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 …

Member Avatar for Murtan
0
343
Member Avatar for bhanu1225

I suggest pure HTML for such application. Python can do it, may be check here: [url]http://wiki.python.org/moin/WebProgramming[/url]

Member Avatar for Stefano Mtangoo
0
80
Member Avatar for ibi001

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)

Member Avatar for Selwyn
0
216
Member Avatar for jworld2
Member Avatar for naldridge

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

Member Avatar for jholland1964
0
227
Member Avatar for Stefano Mtangoo

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 …

Member Avatar for Stefano Mtangoo
0
536
Member Avatar for tomtetlaw

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 …

Member Avatar for tomtetlaw
0
166
Member Avatar for Stefano Mtangoo

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

Member Avatar for Stefano Mtangoo
0
192
Member Avatar for kruglok

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

Member Avatar for shadwickman
0
142
Member Avatar for Prahaai

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 …

Member Avatar for Prahaai
0
300
Member Avatar for mn_kthompson

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 …

Member Avatar for Stefano Mtangoo
0
485
Member Avatar for anilk

try pinging instead of telneting and post result example: ping [url]www.yahoo.co.uk[/url] -t

Member Avatar for Stefano Mtangoo
0
1K
Member Avatar for Stefano Mtangoo

I want to wait the song to finish after it finishes, I want to call another function How do I do that in wxpython

Member Avatar for Stefano Mtangoo
0
147
Member Avatar for Stefano Mtangoo

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 …

0
63
Member Avatar for Stefano Mtangoo

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 …

Member Avatar for Stefano Mtangoo
0
130
Member Avatar for Stefano Mtangoo

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

Member Avatar for Stefano Mtangoo
0
171
Member Avatar for Stefano Mtangoo

The debug process never connected back to WINGIDE: Aborting debug session I have tried repair python, no success. Also tried run IDLE same story

Member Avatar for Stefano Mtangoo
0
128
Member Avatar for lllllIllIlllI

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

Member Avatar for lllllIllIlllI
0
2K
Member Avatar for Stefano Mtangoo

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

Member Avatar for Stefano Mtangoo
0
202
Member Avatar for lllllIllIlllI

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

Member Avatar for lllllIllIlllI
0
3K
Member Avatar for Stefano Mtangoo

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]

0
57
Member Avatar for StarZ

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

Member Avatar for vegaseat
0
161
Member Avatar for vmars

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 …

Member Avatar for Kezoor
0
317
Member Avatar for Stefano Mtangoo

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

0
46
Member Avatar for Stefano Mtangoo

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

Member Avatar for Stefano Mtangoo
0
697
Member Avatar for Stefano Mtangoo

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

Member Avatar for Stefano Mtangoo
0
90
Member Avatar for Stefano Mtangoo

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 …

Member Avatar for Stefano Mtangoo
0
887
Member Avatar for Stefano Mtangoo

Hello All, can someone tell me exactly what is done by this function? Thanks alot!

Member Avatar for Stefano Mtangoo
0
2K
Member Avatar for Stefano Mtangoo

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 …

Member Avatar for Stefano Mtangoo
0
366
Member Avatar for murdoduncan

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

Member Avatar for murdoduncan
0
225
Member Avatar for Stefano Mtangoo

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 …

Member Avatar for Stefano Mtangoo
0
72
Member Avatar for Stefano Mtangoo

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 …

Member Avatar for Stefano Mtangoo
0
205
Member Avatar for vtcampguy
Member Avatar for jbennet
0
231
Member Avatar for nfleming

I use Firefox, and that used to Bother ME. Solution: Upate to the latest Firefox. I think they got it fixed!

Member Avatar for Stefano Mtangoo
0
114
Member Avatar for moerpheus
Member Avatar for goldsm
Member Avatar for Fanch

Welcome to Python forum If 100% New to Programming start here: [url]www.python.org[/url]

Member Avatar for Stefano Mtangoo
0
92
Member Avatar for ccandillo
Member Avatar for cam875

I'm not server man but once a time my college used Ubuntu server. I have heard of Redhat too but just my contribution

Member Avatar for jbennet
0
230
Member Avatar for Stefano Mtangoo

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 …

Member Avatar for Stefano Mtangoo
0
154
Member Avatar for Stefano Mtangoo

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

0
74
Member Avatar for rehman786

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

Member Avatar for Stefano Mtangoo
0
49
Member Avatar for Stefano Mtangoo

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

Member Avatar for Stefano Mtangoo
0
139
Member Avatar for Stefano Mtangoo

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

0
63
Member Avatar for Feenix45

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", …

Member Avatar for Feenix45
0
159
Member Avatar for sangpenakluk

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

Member Avatar for Stefano Mtangoo
0
648
Member Avatar for Stefano Mtangoo

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

Member Avatar for Stefano Mtangoo
0
424
Member Avatar for nectionplayer

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

Member Avatar for John A
0
98
Member Avatar for PcPro12

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

Member Avatar for PcPro12
0
792

The End.