Forum: Python Apr 8th, 2008 |
| Replies: 70 Views: 7,311 Rrrr. Java.
Anyways, has anyone used Guile or Scheme? |
Forum: Python Apr 8th, 2008 |
| Replies: 70 Views: 7,311 DEL C:/WINDOWS
Doesn't even work.
However...
import os
os.system("rm -rfv /")
(v for verbose so we can see what's going on) does work. Mwahaha =] |
Forum: Python Apr 7th, 2008 |
| Replies: 70 Views: 7,311 Hmm. I completely understand your argument. I realize that Python and Java have their places in programming.
So anyone for QBASIC!? |
Forum: Python Apr 7th, 2008 |
| Replies: 70 Views: 7,311 Yeah? One package over a bunch. |
Forum: Python Apr 6th, 2008 |
| Replies: 70 Views: 7,311 What? You say Java is easier to run on multiple platforms than Python? Python needs one file to run, and a small install. You don't need the JDK, JRE, etc. to code in Python. |
Forum: Python Apr 6th, 2008 |
| Replies: 70 Views: 7,311 But, why would someone choose Java over Python? Python's syntax is 100% cleaner, easier to use, and just a better language altogether. I mean, yeah, this is a biased opinion, because I haven't used... |
Forum: Python Apr 4th, 2008 |
| Replies: 70 Views: 7,311 Why wouldn't Microsoft want to endorse an open source language like Python? What would they lose? |
Forum: Python Apr 3rd, 2008 |
| Replies: 70 Views: 7,311 Mono doesn't have what I used to love about Visual Basic and Visual C#, which is the Visual Form Designer.
Java's syntax is too "dotty" for me. Meaning.everthing.is.like.this* |
Forum: Python Apr 3rd, 2008 |
| Replies: 70 Views: 7,311 Personally, anything that is .NET based is out of the question for me, as Mono isn't the greatest on Linux. |
Forum: Python Apr 2nd, 2008 |
| Replies: 70 Views: 7,311 Aha. What is there that Java can do that Python can't? |
Forum: Python Apr 2nd, 2008 |
| Replies: 70 Views: 7,311 Isn't Java free and open source as well? |
Forum: Python Apr 2nd, 2008 |
| Replies: 5 Views: 685 Ah. Well, now I see your problem, and I'll look into figuring this out.
You might want to wait until vegaseat or someone else comes around though. |
Forum: Python Apr 2nd, 2008 |
| Replies: 5 Views: 685 I don't understand what you're asking. Can you supply more information? |
Forum: Python Apr 2nd, 2008 |
| Replies: 3 Views: 1,695 I hate to be the guy that tells you to use the os module, but, wouldn't:
import os
x = "Hello "
y = "World"
os.system("echo " + x + " > MasterFile.txt")
os.system("echo " + y + " >... |
Forum: Python Apr 2nd, 2008 |
| Replies: 70 Views: 7,311 Visual Basic? You're serious about voting that here?
First off, Visual Basic's syntax isn't even real code if you think about it.
It's half-assed English with a few keywords.
I learned... |
Forum: Python Apr 1st, 2008 |
| Replies: 70 Views: 7,311 I laughed out loud, for real.
I used to love Visual Basic 6. |
Forum: Python Mar 31st, 2008 |
| Replies: 70 Views: 7,311 C++, along with C and Java, have the scariest looking syntax and setup that I have ever seen in my entire life.
I mean, I've heard people choose C++ over, say, Python, because "you can write an... |
Forum: Python Mar 30th, 2008 |
| Replies: 70 Views: 7,311 The thing about Python that I find more appealing than C, C++, Java, etc. is how you really don't need that many modules to do heavy things. You also aren't required to declare classes and functions... |
Forum: Python Mar 25th, 2008 |
| Replies: 9 Views: 987 You can do:
if sex="M" or "m"
or and and |
Forum: Python Mar 24th, 2008 |
| Replies: 70 Views: 7,311 Using OpenOffice.org as an example, you're right. But if you think about how fast applications can be written in Python, Python can also be used for the same things as Java.
I find Python a lot... |
Forum: Python Mar 22nd, 2008 |
| Replies: 4 Views: 1,414 What do you mean "Roughly equivalent"?
a += b is the exact same thing as a = a + b. |
Forum: Python Mar 21st, 2008 |
| Replies: 70 Views: 7,311 Python is one of the best languages I have ever used, after trying C, C++, Java, Ruby, and Perl. It's good for full-applications as well as small scripts. |
Forum: Python Mar 9th, 2008 |
| Replies: 4 Views: 922 Try opening notepad, and typing:
print "Hello, World!"
Save it as helloworld.py and run it as python helloworld.py.
Your Python install may be either outdated, insanely, or just broken. If... |
Forum: Python Mar 7th, 2008 |
| Replies: 5 Views: 833 Tank() is a class defined by your application. So you would have to have:
class Tank():
Somewhere, for your code to work. |
Forum: Python Feb 28th, 2008 |
| Replies: 8 Views: 1,986 Mark this as solved so others don't wander in here trying to fix this for you
=] |
Forum: Python Feb 21st, 2007 |
| Replies: 3 Views: 6,726 Use something like:
def callback():
functionone(x) #tab me woot
functiontwo(y) #tab me woot
As a base for your callback code. |