1,730 Posted Topics
Re: In case you don't like to bother writing the codes for setup.py, use GUI for Py2exe which can export setup.py [url]www.code.google.com/p/gui2exe/[/url] | |
Re: What do you want to accomplish? Here is simple Looping. It prints what is poped [CODE=python]L1 = ["a", "b", "c", "d"] for i in range(len(L1)): print "Poped: %s" %(L1.pop()) [/CODE] | |
Re: Not big, but why not Go for wxWidgets? Free book, free IDEs(Recommending Code::Blocks) and free GUI builders (wxSmith and wxForm builder) | |
Re: > Why not? It worked for me when I tested his code... and there's nothing wrong with his binding as I added another menu item with a separate function and ID and that still worked without conflict. here is what I got: File "c:\Users\Elijah Ministries\Desktop\daniweb.py", line 17, in <module> frame … | |
Re: Best Compiler? That's pretty subjective. Not good at compilers but MINGW and VC++ are really big. They work BIG and many apps are compiled by them. I recommend Code::Blocks as it allows you to use any compiler you wish! Not for beginners MIGHT be an alias for Visual C++ Pro … | |
Re: No errors to me too (Vega's version) Check your python installation | |
Does it take UML knowledge to be good at designing BIG project? If yes is there free UML modeling software? Thanks | |
Re: Delete that file and re-copy and paste. That is VeRy StRaNgE huh! :) May be taking it to "computer mental hospital" can help recognize what is wrong ...........hehehe :) | |
Re: Setting up py2exe can be tedious Job, but Andrea Gavana have done such plausible work to make a GUI. [url]http://code.google.com/p/gui2exe/[/url] I have made DrPython to exe and packed it with Inno setup compiler and It works wonderfully! So If you think of making exe, then I think it is a … | |
I hear alot from my fellow developer about these schema stuffs. Im new to database and I wonder what Schema is. I can play with tables and databases, | |
Re: How far have you tried/brainstormed? Hint: Check os.path.join() and lower() function | |
Re: what editor do you use? Get ulipad [url]http://code.google.com/p/ulipad/[/url] | |
I want to make simple Bible web that will be querying from database. It is boggling my Mind how to populate the database. The Bible have the following division Bible have 66 books Each book have chapters and Each chapter have verses Please help me, I have stucked | |
Re: Haven't read it yet, but free book by Bruce Eckel. Just google out "Thinking in C++" BTW I have enjoyed Deitel's C++ book | |
Re: Go for wxWidgets. It is simple and have heavy documentation. Go to : [url]www.wxwidgets.org[/url] and [url]www.zetcode.com[/url] With a bonus of free official book in Bruce Perens open source series, It is really best stuffs [url]http://www.phptr.com/content/images/0131473816/downloads/0131473816_book.pdf[/url] | |
![]() | Re: html is easy, so you don't need to stop it to learn wxpython. Just a word of encouragement, wxpython is easy and learning it is funny. I happily learned it and I'm learning its father, wxwidgets. To start, I will point to [url]www.zetcode.com/wxpython[/url] and once you have any problem, consult … ![]() |
Re: Just improvement, In python there is lower() function that makes it easier to test. So in python, instead of [code=python] if ((izbor=='d')||(izbor=='D')) [/code] You have [code=python] if izbor.lower()=="d" [/code] I'll check for C++ equivalent. I do a lot in Py and few of C++ :) | |
Re: if possible, just include it in same folder as your script and do a simple import as you did to sys. Otherwise, if correctly installed, then it should respond to simple import. Did you write the module or installed it from someone/somewhere? | |
![]() | Re: [QUOTE=scru;890938]Just in case you don't fine wxGlade or BoaConstructor to be quite what you need (or if you just can't get past how ugly they are), you can try QtDesigner for pyQT (comes with the pyQT package).[/QUOTE] [B]Be sure first you like their GPL/Commercial licence[/B]. I lately visited PyQT web … |
Re: Either step down to python 2.x and enjoy python-mysql or change option to use SQLite. SQLite comes with Python, so I guess it is in version 3 also. | |
![]() | Re: Good start is wxPython's web [url]www.wxpython.org[/url] Then Go to their wiki. If you will walk there there is a link to Jan Bodnar's site [url]www.zetcode.com/wxpython[/url] and [url]www.learningpython.org[/url] Also there is a mouse vs python (google it) Are great sites for tutorial. Hard coding is better than GUI Builder, for your … |
To help people who come from console application and who wants to implement GUI, it is better for them to know the real world application made by available toolkit. I suggest this be the place to show real world apps doen by toolkits in Python Language Hope it will help … | |
Re: When and how did it got started to misbehave? | |
Hi, I'm working on little phone book program with wxPython and SQLite. I can get database populated and can retrieve back the phones and names, but when I do fill them in ListCtrl it throws cruel errors :) Here is the retrieved data from database: [(1, u'Steve', u'Giddy', u'0654743553'), (2, … | |
![]() | Re: Consider the shadwickman's saying. But easy answer is use of break to terminate the loop. any loop can be exite anytime using break statement |
Re: I don't have ever played with Macintosh, so I won't say about IDLE but just alternatives. 1. Download Wingware's Wing IDE [url]www.wingware.com[/url] (Version 101 is free and have a lot for learning) 2. Use Ulipad, great editor for python (Google it) 3. Download VIDLE from Vpython Community [url]www.vpython.org[/url] 4. DrPython … | |
Re: Burning ISO should not be a problem unless you cannot get a neighbor with a CD/DVD burner. In that case you can use internet cafe to do so and it should be heap enough to afford. Is that right | |
Re: Have you checked wxpython demo? if no Download it and play around with it [url]http://downloads.sourceforge.net/wxpython/wxPython2.8-win32-docs-demos-2.8.10.1.exe[/url] Not sure if it is possible | |
Re: Embedding image? Yes possible but sound? Not sure! | |
Hi, I have never been into sockets, so I decided to dive in. With some help from devshed, I managed to make a server as shown below. But I cant get it receive data from client. Please correct me :) ERROR: socket.error: (10057, 'Socket is not connected') [CODE=python] import socket … | |
![]() | Re: Have you tried this? [url]http://code.google.com/p/gui2exe/[/url] |
I was out of programming for long and now I'm just trying back to regain my knowledge on the language. I have forgotten how the ListCtrl get populated. Here is the tutorial but I cant explain the mechanism. Please help me to understand the whole process. Cheers :) [url]http://zetcode.com/wxpython/advanced/[/url] | |
Re: You see nothing because your function doesn't do anything that is visible. Try to use print statement to show something (Like J's example) or return something from your method try this: [url]http://www.ibiblio.org/g2swap/byteofpython/read/oops.html[/url] | |
I'm learning wxWidgets and would like to know which event, connect or using static event tables? Why will you choose one from the other | |
Re: If DevC++ hates you why not try Code::Blocks? [url]www.codeblocks.org[/url] | |
Re: Alternatively you can add python to your environment variables so that you just navigate to the file in command prompt and type command: python yourscript.py and there you go! | |
Re: Enter safe mode, just reboot PC and when it restarts just press F8 until choices are given: 1. Safe mode 2. safe mode with networking 3......... | |
Re: This tutorial helped me alot to start wxPython [url]http://zetcode.com/wxpython[/url] | |
Re: [QUOTE=Serunson;875919]Doubt it would be age (being around 6/7 months old) and power spike is out because the wall switch was turned off, and it runs through a surge strip as well. Anywhere (In UK) can i get the HDD repaired for as low a cost as possible?[/QUOTE] 1. Try remove … | |
I have simple question. I have long code in my .cpp file with classes functions etc. I would like to divide it into separate cpp and .h files. What are rules governing the stuffing? Any good tutorial/example? Cheers :) | |
![]() | Re: I think you can write user name with the next line containing password so that whenever the program searches for User name then it looks the next line for password. This will remove the need for password file. But then It will introduce the possibility of one password being equal … ![]() |
Re: if you produce simple example it will help alot including me. I believe it is easier to make exe with C/C++ than python. So if it is that easier I would prefer it! | |
Re: It have been easier for me to "Hard code" than using designers. You have complete control over the code and can do any change and of course code re-use :) | |
Re: mhh, first I could warn against downloading system libraries (Anything in windows folder). I suggest you try Andrea gavana's py2exe GUI [url]http://xoomer.alice.it/infinity77/main/freeware.html#gui2exe[/url] Also these (have not tried them) [url]http://sites.google.com/site/cavgutiles/gui-py2exe[/url] [url]http://www.python-forum.org/pythonforum/viewtopic.php?f=2&t=6193[/url] [url]http://sites.google.com/site/cavgutiles/gui-py2exe/assistant-for-py2exe[/url] | |
After pondering and wondering, I have decided to go for wxWidgets. Here is my first trial application. After running a test app from zetcode.com in my Code::Blocks & wxWidgets and I confirmed that it is fine! Then I tried to write my own app as shown below but I ran … | |
I'm trying GUI Library to see what fits me. I want to try GTK+ too. But I don't know where to start. At GTK+ site I took a look at C++ bindings [url]http://www.gtkmm.org/[/url] and found * glibmm 2.20 (stable) * gtkmm 2.16 (stable) * libgnomecanvasmm (stable) * gconfmm (stable) * … | |
Re: I despised QT the first day I read their licence. If you need to be serious without Lic snags just go for wxpython. I dont despise TKinter nor undermine PyGTK. The reason is, I learned wxpython and became my best GUI toolkit. I have a poll there, it should help … | |
Re: Download wxWidgets [url]www.wxwidgets.org[/url] Then get this official book [url]http://www.informit.com/content/images/0131473816/downloads/0131473816_book.pdf[/url] | |
I have two files and I would like to call addition function from functions.cpp in main.cpp. But I get error: [COLOR="Red"]In function `int main()': error: `addition' has both `extern' and initializer error: initializer expression list treated as compound expression warning: left-hand operand of comma has no effect error: `addition' cannot … |
The End.