1,730 Posted Topics

Member Avatar for Stefano Mtangoo

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]

Member Avatar for Stefano Mtangoo
0
133
Member Avatar for abby2589
Member Avatar for CrimsonTider
0
60
Member Avatar for iuessele
Member Avatar for Stefano Mtangoo
0
107
Member Avatar for soroushc

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

Member Avatar for Stefano Mtangoo
0
168
Member Avatar for Stefano Mtangoo

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

Member Avatar for Stefano Mtangoo
0
128
Member Avatar for juzzy

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!

Member Avatar for Stefano Mtangoo
0
139
Member Avatar for leegeorg07
Re: ides

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

Member Avatar for leegeorg07
0
111
Member Avatar for winrawr

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 …

Member Avatar for Freaky_Chris
0
92
Member Avatar for mruane

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

Member Avatar for mruane
0
89
Member Avatar for l_w
Member Avatar for foker500

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

Member Avatar for jice
0
159
Member Avatar for Stefano Mtangoo

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

Member Avatar for ithelp
0
71
Member Avatar for Lunasair

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 …

Member Avatar for jaycustom21
0
124
Member Avatar for patatoe

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

Member Avatar for sillyboy
0
150
Member Avatar for harrykokil

Me too! The cars are moving fine and displays speed. Is it syntax or logical error?

Member Avatar for Stefano Mtangoo
0
97
Member Avatar for mruane

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

Member Avatar for Stefano Mtangoo
0
162
Member Avatar for scru

Heeh, wxDemo is a good friend, it have got alot of examples and infact, though little complex in some cases, but they help alot

Member Avatar for Stefano Mtangoo
0
100
Member Avatar for Stefano Mtangoo

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]

Member Avatar for Stefano Mtangoo
0
253
Member Avatar for rain2005

Use the vista recovery mechanism. reboot your computer and Boot loader will give otpion to repair startup stuffs and post back results :)

Member Avatar for sillyboy
0
149
Member Avatar for Stefano Mtangoo

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 …

Member Avatar for Ene Uran
0
532
Member Avatar for revenge2

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

Member Avatar for Ene Uran
0
159
Member Avatar for scru

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

Member Avatar for Stefano Mtangoo
0
193
Member Avatar for Stefano Mtangoo

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 …

Member Avatar for OlyComputers
0
78
Member Avatar for revenge2

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

Member Avatar for Ene Uran
0
125
Member Avatar for apolo_x

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]

Member Avatar for Stefano Mtangoo
0
224
Member Avatar for Stefano Mtangoo

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 …

Member Avatar for pritaeas
0
90
Member Avatar for Carlo Gambino

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

Member Avatar for Stefano Mtangoo
0
136
Member Avatar for demeryjo

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

Member Avatar for Stefano Mtangoo
0
109
Member Avatar for besktrap

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

Member Avatar for mn_kthompson
0
113
Member Avatar for Stefano Mtangoo

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

Member Avatar for jbennet
0
189
Member Avatar for scru

I prefer wxpython. Honestly I will never move to Python 3 until wxpython comes out!

Member Avatar for Ene Uran
-1
270
Member Avatar for Stefano Mtangoo

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

Member Avatar for Stefano Mtangoo
0
92
Member Avatar for Stefano Mtangoo

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

Member Avatar for Stefano Mtangoo
0
393
Member Avatar for Ghostenshell

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

Member Avatar for woooee
0
165
Member Avatar for wotthe2000

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

Member Avatar for Ghostenshell
0
153
Member Avatar for Stefano Mtangoo

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 …

Member Avatar for crunchie
0
207
Member Avatar for revenge2

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

Member Avatar for Ene Uran
0
106
Member Avatar for adam291086

the best debugging technique is putting print statement/function after few lines to see whether it passes a given statement

Member Avatar for adam291086
0
172
Member Avatar for Stefano Mtangoo

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 …

Member Avatar for cwarn23
0
90
Member Avatar for BigJermZ

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]

Member Avatar for Stefano Mtangoo
0
160
Member Avatar for Phin Sopheap

Are you using Remote Desktop? How do you try to login? Your explanations are vague. Please elaborate more

Member Avatar for gunso4050
0
123
Member Avatar for Stefano Mtangoo

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 …

Member Avatar for Stefano Mtangoo
0
215
Member Avatar for revenge2

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

Member Avatar for Ene Uran
0
91
Member Avatar for Stefano Mtangoo

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 …

Member Avatar for Stefano Mtangoo
0
177
Member Avatar for red999

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

Member Avatar for paddy3118
0
187
Member Avatar for jvignacio

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

Member Avatar for Freaky_Chris
0
68
Member Avatar for Stefano Mtangoo

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 …

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

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

Member Avatar for Stefano Mtangoo
0
84
Member Avatar for Ghostenshell

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

Member Avatar for Stefano Mtangoo
0
972
Member Avatar for Stefano Mtangoo

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 …

Member Avatar for Stefano Mtangoo
0
97

The End.