1,730 Posted Topics

Member Avatar for funfullson

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]

Member Avatar for shadwickman
0
113
Member Avatar for wanne

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]

Member Avatar for woooee
0
97
Member Avatar for balu naik

Not big, but why not Go for wxWidgets? Free book, free IDEs(Recommending Code::Blocks) and free GUI builders (wxSmith and wxForm builder)

Member Avatar for Stefano Mtangoo
0
82
Member Avatar for tomtetlaw

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

Member Avatar for lllllIllIlllI
0
131
Member Avatar for balu naik

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 …

Member Avatar for Ancient Dragon
0
162
Member Avatar for Your_mum
Member Avatar for vegaseat
0
129
Member Avatar for Stefano Mtangoo

Does it take UML knowledge to be good at designing BIG project? If yes is there free UML modeling software? Thanks

Member Avatar for K?!
0
174
Member Avatar for sgw

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

Member Avatar for tux4life
0
172
Member Avatar for a1eio

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 …

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

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,

Member Avatar for Stefano Mtangoo
0
128
Member Avatar for kes_ee

How far have you tried/brainstormed? Hint: Check os.path.join() and lower() function

Member Avatar for shadwickman
0
178
Member Avatar for johndoe444

what editor do you use? Get ulipad [url]http://code.google.com/p/ulipad/[/url]

Member Avatar for jlm699
0
162
Member Avatar for Stefano Mtangoo

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

Member Avatar for chrishea
0
74
Member Avatar for hypernova

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

Member Avatar for Tom Gunn
0
147
Member Avatar for XTRobot

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]

Member Avatar for XTRobot
0
282
Member Avatar for leegeorg07

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 …

Member Avatar for leegeorg07
0
81
Member Avatar for XTRobot

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

Member Avatar for Stefano Mtangoo
0
242
Member Avatar for mbox_96

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?

Member Avatar for Stefano Mtangoo
0
137
Member Avatar for sravan953

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

Member Avatar for sneekula
0
2K
Member Avatar for funfullson

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.

Member Avatar for Stefano Mtangoo
0
88
Member Avatar for sravan953

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 …

Member Avatar for Stefano Mtangoo
0
232
Member Avatar for Stefano Mtangoo

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 …

Member Avatar for Stefano Mtangoo
0
117
Member Avatar for malrofo
Member Avatar for Stefano Mtangoo

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

Member Avatar for Stefano Mtangoo
0
991
Member Avatar for sravan953

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

Member Avatar for Stefano Mtangoo
0
134
Member Avatar for rajasekhar1242

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 …

Member Avatar for Stefano Mtangoo
0
121
Member Avatar for crazyluigi

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

Member Avatar for Stefano Mtangoo
0
209
Member Avatar for TheNNS
Member Avatar for krnekhelesh
0
776
Member Avatar for TerabyteST

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

Member Avatar for scru
0
152
Member Avatar for TerabyteST
Member Avatar for Stefano Mtangoo

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 …

Member Avatar for Stefano Mtangoo
0
290
Member Avatar for sravan953
Member Avatar for Stefano Mtangoo
0
87
Member Avatar for Stefano Mtangoo

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]

Member Avatar for Stefano Mtangoo
0
101
Member Avatar for hughesadam_87

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]

Member Avatar for vegaseat
0
414
Member Avatar for Stefano Mtangoo

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

Member Avatar for Stefano Mtangoo
0
257
Member Avatar for Kiba Ookami

If DevC++ hates you why not try Code::Blocks? [url]www.codeblocks.org[/url]

Member Avatar for Stefano Mtangoo
0
243
Member Avatar for syris

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!

Member Avatar for Stefano Mtangoo
0
113
Member Avatar for greeneyyedgurl

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

Member Avatar for greeneyyedgurl
0
174
Member Avatar for billymcguffin

This tutorial helped me alot to start wxPython [url]http://zetcode.com/wxpython[/url]

Member Avatar for billymcguffin
0
359
Member Avatar for Serunson

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

Member Avatar for Stefano Mtangoo
0
128
Member Avatar for Stefano Mtangoo

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

Member Avatar for Stinomus
0
98
Member Avatar for leegeorg07

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 …

Member Avatar for leegeorg07
0
544
Member Avatar for BlueNN

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!

Member Avatar for Stefano Mtangoo
0
449
Member Avatar for DimaYasny

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

Member Avatar for DimaYasny
1
1K
Member Avatar for gsingh2011

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]

Member Avatar for Arthurharr
0
247
Member Avatar for Stefano Mtangoo

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 …

Member Avatar for Stefano Mtangoo
0
170
Member Avatar for Stefano Mtangoo

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

Member Avatar for Stefano Mtangoo
0
304
Member Avatar for 136456

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 …

Member Avatar for Ibn Saeed
0
269
Member Avatar for pspwxp fan

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]

Member Avatar for jbennet
0
110
Member Avatar for Stefano Mtangoo

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 …

Member Avatar for Stefano Mtangoo
0
2K

The End.