1,730 Posted Topics
Whenever I have lists or tuple lists I have something like u' (check sample result). What does this do? [CODE=python](u'03/02/2009', u'Billing for gas', 100.0, 210.0, 200.0) (u'15/04/2009', u'paying fees for OUT', 0.0, 10405.0, 0.0) (u'03/02/2009', u'Billing for gas', 100.0, 210.0, 200.0)[/CODE] | |
| |
Re: [url]http://www.greenteapress.com/thinkpython/html/book013.html[/url] | |
Re: Use the Loops and ask user to enter input. After finishing ask Him something like "Finished" with Y/N? options if Y break the loop and if no Continue. Now I hope you know which loop im talking about :) | |
I'm trying to grasp SQLite to do some stuffs I want it to do, but it is sometimes too hash to me :) So what i'm I wrong with this code?? [CODE=python] #!/usr/bin/ # SQLite command to be used with the applications import sqlite3 as sqlite import os class SqliteCommands: … | |
Re: In wxpython you can have two different classes of windows interacting with one another. I know less of threading may be it can solve your problem but not sure! | |
![]() | Re: I'm long user of Wing IDE (firstly 101 and now Personal Ed.) I also Agree that DrPython is good. For geekish stuffs Emacs or Vim. I suggest Vim and book by Swaroop C.H. a byte of Vim ![]() |
Re: I'm not too far in C++ but most DLL stuffs, I read when I was learning Python's ctypes. Many of your questions seems to have Yes answer but again not solid in C++ and DLL. One question I can boldly answer [B]Can a DLL written in C++ be used in … | |
Re: Have you contacted tomtelaw? He was in Pygame business and I think he can help alot. I cannot join this for now, I have alot to do, but wherever I will be able to add anything, I will. Good luck with your project and.....Good idea :) | |
Re: I'm not MS access fan but I can try to suggest. Try to Load them in Python using dictionaries and then Save them using SQLite to save in any format | |
I have to submit the assignment and I get stucked, so I need urgent help. Down is the Question. I have done a Query called Mtangoo_shop_query but I don't know what to do to filter out other fruits and leave only banana. Help! (Believe me MS Access is too complex!) … | |
Re: Don't know what is the best, but I use Avast Home+Zone Alarm. Recently I removed spyboat, but I'm still secured. I don't know of good spyware but Avast or AVG free should do the Job and Zone alarm and Comodo is a matter of choice. By the way, did you … | |
Re: Some drivers are dependent of the other but the thumb of rule is, after installing one driver, restart machine . Anyway, be careful to install many apps, bse some are garbages trials and will amke disk full of nonesense :) | |
Re: Me too! The cars are moving fine and displays speed. Is it syntax or logical error? | |
Re: yeah, I'm Python guy too, and I'm learning C++ too. I want to add it than shift from python. Having those said, till now I have found too many programming sites but check [url]www.cprogramming.com[/url] I have some books but I have so limited time that I learn too slowly | |
Re: Heeh, wxDemo is a good friend, it have got alot of examples and infact, though little complex in some cases, but they help alot | |
Hello all, I'm python guy learning C++ so be patience with me. I am just asking if this GUI builder can be used to make Big app like Thunderbird wihtout external assistance [url]http://wxformbuilder.org/[/url] | |
Re: Use the vista recovery mechanism. reboot your computer and Boot loader will give otpion to repair startup stuffs and post back results :) | |
I have been working with bass.dll from [url]www.un4seen.com[/url] as audio library and I can say that it is great. But I have reached a place where I hitted the wall and it will take time for me to move. Can anyone suggest for me a dll library for playing audio … | |
Re: [url]http://www.regular-expressions.info/[/url] [url]http://www.google.co.tz/search?q=re+python+module&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a[/url] | |
Re: try to build sources for yourself [url]http://www.pygame.org/ftp/pygame-1.8.1release.zip[/url] I guess there will be setup.py, Just add python path to enviroment variable and run from commandline "setup.py install" without quotes | |
I posted on PHP and I feel may be I post on wrong place I have been using WAMP to setup my forum (PHPBB3) and and a site. For some reason I don't know, PHP installation of WAMP was crashing with message can't find logger.dll. I removed my www directory … | |
Re: [code=python]import wx class MainFrame(wx.Frame): def __init__(self): #wx.ID_ANY means wxpython should assign any unique identity you can write wx.ID_ANY or use -1 wx.Frame.__init__(self,None,wx.ID_ANY, title='Hello wolrd') #here we define self.buthello as wxButton self.buthello = wx.Button(self, wx.ID_ANY, label ='helo') #here we bind the button to Left click event. Normal button event is wx.EVT_BUTTON … | |
Re: check urllib2 for reading source codes (HTML) and wxpython's html stuffs, for simple HTML browser like before going for something complex [url]http://www.wxpython.org/docs/api/wx.html-module.html[/url] [url]http://www.python.org/doc/2.5.2/lib/module-urllib2.html[/url] | |
Hello all, I'm starting PHP and setting up my server on Stick. I'm fond of WAMP and find XAMPP interesting, and want to give it a go :D However, if you have ever worked with WAMP it have a behaviour of displaying all folders in www directory, and I don't … | |
Re: [url]http://www.google.co.tz/search?hl=sw&client=firefox-a&rls=org.mozilla%3Aen-GB%3Aofficial&hs=6iO&q=python+free+books&btnG=Tafuta%2F+Utafutaji[/url] | |
Re: [url]http://www.google.co.tz/search?q=think+python&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-GB:official&client=firefox-a[/url] | |
Re: [QUOTE=besktrap;788624]does anyone know how to shutdown a computer on windows XP (using python of course ;) given the IP address and the computer name (probably don't need it, though)? I don't want to use os commands like os.system("shutdown -i"). Thanks in advanced![/QUOTE] use os.system [CODE=python] import os #run os based … | |
I have my WAMP server on Vista but need it too on KUBUNTU so as I can use it even under linux. Can Anyone help me how to do it. I accept even how to separately install Apache, PHP and MYSQL. Pse help | |
Re: I prefer wxpython. Honestly I will never move to Python 3 until wxpython comes out! | |
Hello all, I'm starting C++ and wan't to learn for loop. I want the Loop to count down the rotate and print its value until when it equals to value where it terminates. Here is code [CODE=C++] int value; int rotate = 4; for (value = 0; rotate>value; rotate--; ){ … | |
I know of ww.portablepython.com/ Can anyone know how to do a combination of IDE and this python in stick. Also if anyone have ever tried to add other python modules to it like Vpython, wxpython, etc Thanks alot | |
Re: Try Exercising with this :) [CODE=python] def MakeDict(dict_name): dict_name = dict() return dict_name def AddName(Name, key_name, dict_name): dict_name[key_name] = Name print "Added " + str(Name)+ "at " +str(key_name) #now we will use our dictionary #create dictionary mydict = MakeDict("evstevemd") print mydict #Add some stuffs in dictionary AddName("Boo! Boo!", "calf", mydict) … | |
Re: [QUOTE=woooee;784024]Using an SQLite database is the simpliest and best. It comes with Python and a tutorial is here [url]http://www.devshed.com/c/a/Python/Using-SQLite-in-Python/[/url][/QUOTE] Yeah, SQLite is Ideal for that work. I advice you to take a leap. It is very simple and need no server (Zero config). Try it and you will enjoy. Here … | |
There is this virus/malware that is not detected by McAfee, Avast, etc. It is very sturbborn. I have tried to scan with prevx but need licence to remove it. Malwarebyte cannot do anything....help please. Here are some Links of people with same problem: [url]http://answers.yahoo.com/question/index?qid=20090121011856AAGzwNo[/url] I have attached the report Thanks … | |
Re: [QUOTE=revenge2;786440]hello again, Ive got the basics under my belt and ready to start making things happen:D. I want to experiment with different things so could you show me to some good tutorials on some of the following things. 1. sending and receive messages through the internet-what library/Mod should i use? … | |
Re: the best debugging technique is putting print statement/function after few lines to see whether it passes a given statement | |
I have been using WAMP to setup my forum (PHPbb3) and and a site. For some reason I don't know, PHP installation of WAMP was crashing with message can't find logger.dll. I removed my www directory and uninstalled WAMP and re installed, that is when I knew that I forgot … | |
Re: Try Code blocks. It is another good C++ compiler. [url]http://www.codeblocks.org/[/url] Also I heard somewhere that this is the updated version of non-updated devC++ [url]http://wxdsgn.sourceforge.net/[/url] | |
Re: Are you using Remote Desktop? How do you try to login? Your explanations are vague. Please elaborate more | |
I use bass.dll to play music files from [url]http://www.un4seen.com/[/url] I try to use function called BASS_ChannelSetPosition. I use ctypes to access the Library. Below is the part of documentation (comes with bass as help file) I need somebody to tell me whether the mode (BASS_POS_BYTE, BASS_MUSIC_POSRESET...etc) is a function or … | |
Re: [QUOTE=paulthom12345;782684]I would reccomend using Wind IDE 101. Its free and great, i recently upgraded to the Personal version (about $50 AUS) and that is exellent, it has a great debugger as well as having so many customisable features.[/QUOTE] +1 I used for long Wing IDE 101 and Upgraded to Personal. … | |
I have python 2.6 portable and would pop error when I import wx. After some search, I found The prementioned package missing in the XP system. I downloaded and Installed and went fine. My Question is : Is there any way to add vcredist_x86.exe's missing DLL direct to wxpython directory … | |
Re: [QUOTE=red999;779508]It is a programming class =)"you programs must match mine exact." [/QUOTE] Mhh, I guess this teacher isn't teaching you programming, but conforming!! Programming is all about creativity and not copy and paste. Why does he want you to do that? | |
Re: Very vague and general question! you haven't said of your background on python and whether or not you know GUI programming. That info is very important | |
Hi all, I have been trying to write and retrieve data from SQLite Database. So far I can make connection, cursor; but cannot get table populated(fails to execute SQL statement). Since I read somewhere that it is recommended to use ? instead of % then I tries it but I … | |
Re: If you want to start with python 3 then the only free book is the one Snee have given. The drawback of Python 3 is that external modules are not yet out; and few free books are there. Contrary to that is Python 2.x which have many books and modules. … | |
Re: [QUOTE=mn_kthompson;777818]Here is another idea... [/QUOTE] Just polishing what Kthom has written [CODE=python] infile = open("test.txt", "r") uppercasecount, lowercasecount, digitcount = (0, 0, 0) for character in infile.readlines(): if character.isupper() == True: uppercasecount += 1 if character.islower() == True: lowercasecount += 1 if character.isdigit() == True: digitcount += 1 print uppercasecount, … | |
I was having problem with my Computer. It refused to connect via LAN/Ethernet and found due to MS update. I used system restore and connected. Then I updated it and refused dialup connection. I restored again (That why I think of shutting off the Updates). From first Restore, my avast … |
The End.