- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 5
- Posts with Upvotes
- 4
- Upvoting Members
- 5
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
- PC Specs
- Intel i5, 4GB RAM, 500GB HDD
38 Posted Topics
Re: "Freedom is not given, it is taken." -Subhash Chandra Bose | |
![]() | Re: Watched an old movie called The Sting starring Robert Redford. Pretty awesome movie. Also watched an even older classic of Henry Fonda called My Darling Clementine |
Re: The first thing that most programmers learn is the C programming language. There are books and courses online that present the concepts of programming and the intricacies of C itself very well. I suggest you start with C. Python is also good due to its friendly syntax and programming style … | |
Re: Develop an mp3 player using the pygame's mixer module with a GUI interface with buttons for browsing the file (Filedialog module of Tkinter) and other buttons for play, pause and stop. You can also go ahead with a time display as a label to measure the time for which the … | |
Re: Granted. Along with that you also get peanut allergy for free! I wish I could see a book and know all that is in there | |
Re: The Great Dictator | |
Re: The tongue has no bones but is strong is enough to break hearts. So be careful with words. | |
Re: I have not learnt PHP. But I think www.thenewboston.com has ample video tutorials for you to learn from. | |
I have an old system with P4 processor, 1.12gb ram, 40 gb hdd (of which maybe 10 gb is in bad sectors) which was running Windows XP. I wanted to experiment with it. So, I installed Ubuntu 13.04 on it and completely removed windows xp. According to the [system requirements](https://help.ubuntu.com/13.04/serverguide/preparing-to-install.html) … | |
Re: Play Football to liven myself up or read books and in general anything that is not academic! | |
Re: There are many books offered free online. You can find Game programming related books at this link: http://wiki.python.org/moin/GameProgrammingBooks There is also a good book for beginners called "[A Byte of Python](http://files.swaroopch.com/python/byteofpython_120.pdf)" Also try Python Programming for absolute beginners by Mike Dawson, a veteran game developer. Don't know if the book … | |
Re: Chrome. Much more colourful than other browsers. Somehow faster than IE. Its got a great bookmark bar and most plugins are built in into the Chrome browser. Somehow feel at home browsing the net using chrome | |
Re: @red23 IDLE has its own text editor that you can use instead of npp. Of course npp is a great text editor but the one in IDLE is also not bad. | |
Re: Hello @Jacek 1. Welcome to Daniweb. Your learning process can itself be the contribution to the community. You can ask all about Computer science on Daniweb and get your queries solved. That itself is a great contribution! | |
Re: Congratulations on your books being published! Welcome to Daniweb | |
Re: Since you are using Tkinter to display the text, the best option would be to use the various formatting styles used in the text widget. I just found a link. Click [here](http://effbot.org/tkinterbook/text.htm) to check out the formatting styles available in Tkinter text widgets.Your best bet would be the justify options(LEFT, … | |
Hey guys is there a funtion in python that enables to output values to a bin files? Just like storing strings in .txt files, can we store hexadecimal values directly into .bin files? I am working using Python 2.7.3 | |
Re: You can also use the stick attribute Button(self,text="Start",command=self.launch).grid(row = 7, column = 0, columnspan = 1, sticky=E) But sticky attribute can be really messy. Just experiment with the positioning. Other values for sticky are N and W and S. You can also use them in combination | |
Re: Arise! Awake! Stop not till your goal is reached! -Swami Vivekananda | |
Re: Welcome to Daniweb! There are lots of resources on the web to learn programming starting from Video tutorials, books and several online courses. Daniweb itself hosts a lot of tutorial programs for beginners and a lot of ideas flow on Daniweb. Its a very good forum to get any of … | |
Re: Welcome to Daniweb! You can begin with free online courses in C, Python, html and many kinds of programming languages. That along with discussions on this forum will give you a sound idea about Computers. Post all your programming queries on the right forum and get all your doubts and … | |
Re: 'AI' clearly appears to be a string in the above code. Probably, this code is to start a game. The string 'AI' is assigned when you select a particular character to the other party in the game(here the computer). When the code checks for the string, it wants to find … | |
Re: Create a class for a Pokemon in general. Then create instances of that object as the pokemon you control and the ones you have to battle(say a tournament). A simple class for a pokemon would be like this: class Pokemon(object): """A Pokemon object""" def __init__(self,name,hp,powers): self.name=name self.hp=hp self.powers=powers def attack(self,power,enemy): … | |
Guys! I would like to know if it was possible to create an assembler using python since it has excellent string handling features. Any Ideas how it could be done? | |
Re: Create a tuple of special characters you will be checking for. Create a for loop and use string.find() Maybe you can implement it as follows: test="How are you?!!!#" #Say you have a list of chrs like @,#,$,!,%,^,&,* etc spl_chr='!'#If you are looking for ! loc=test.find(spl_chr) if loc==-1: print "not found" … | |
Here is a code snippet that calculates the probability of the outcome of a two sided game based on the capability of each side. I used it in my football league simulator program Could be used in any number of simulators which involve two parties. For equally strong parties, the … | |
Guys, below is a part of an Object description in an application I am trying to code. I am using Tkinter for GUI. The Tkwindow hangs as soon as the "print self.gs" instruction is executed. Can it be rectified? Any help will be appreciated def while_time(self): pass def gameplay(self): self.gs=self.get_schedule()#Schedule … | |
Re: Windows might be corrupted. What exactly happens when you switch on your pc? Any messages displayed? | |
Hello Guys I am trying to make a game with Tkinter. It involves selecting different options from a set of buttons. I created a root for the window, and am done with all the basic game programming. Its a football league simulator allowing players to select a team and choose … | |
Hello everyone. I am trying to compile this simple code using gcc under Cygwin terminal. //A function that just returns a value// int my_function() { return 0xbaba; } I saved the code as basic.c I issue the command $gcc basic.c in the Cygwin terminal And I get the error: gcc: … | |
Hey this bit of code is giving a lot of trouble. I am new to python and have no idea why I am getting an error like this : Traceback (most recent call last): File "D:/Python27/saved/digital_filter.py", line 83, in <module> app=Application(root) File "D:/Python27/saved/digital_filter.py", line 23, in __init__ self.create_widgets() File "D:/Python27/saved/digital_filter.py", … | |
I am experiencing a problem with turbo c while I execute odd loops. The compiler doesnt wait till I give a yes or a no. It just jumps out of the loop. Can anyone help me?Is it a problem with the compiler or my program. The latter is not possible … |
The End.