What uses does python have? I read its for web based stuff and if it is cba to learn it
What uses does python have? I read its for web based stuff and if it is cba to learn it
It can be used for automating complex tasks too. There are several modules in-built/created by other users that could be use for several things including most of what Simba can do.
It is a full fledged programming language. It can basically be used to do anything..
Python is an interpreted language that can be used for web based projects (using Django) as well as many other types of projects. One of its main drawbacks is that it's kinda slow, so if speed is of high importance to the project your writing you may want to either write the speed-dependent pieces in C and call them from Python (using ctypes), or use a different programming language entirely.
Possibly ASM? Although obviously it would be crazy to code in that for most purposes. C is probably the most feasible fastest language.
Depends on the compiler and runtime environment though.
The most important factor still lies in the programmer's ability to optimize his codes.
The fastest languages I've used are C and Common LISP, I've never written ASM![]()
Yes. Also practically no one writes programs in asm. It would take too much time. In simba there is still a piece of asm, which was an attempt to speed up sqr iirc.
Working on: Tithe Farmer
This reminds me of a quote, that went something like this: There are no bad languages, only bad algorithms.
- But ofcourse it's just another quote... :P
It's without a doubt remarkable what you can achieve with python in so few lines. When you ever need more speed you could just use a JIT-compiler (PyPy), or introduse static typing (Cython), you could also use ctypes to extend your script with C any existing libs (or write on your self). Any thies solutions will give you ~C-speed.
- PyPy is simply an Python-interpreter which will grant you speed much closer to C, it supports most of the major libs (EG: django).
CPython also has a big standard library, and a large ecosystem built around it, this will simplifiy learning, and developing a lot.
That being said... I'm currently on a old laptop from 2006, got a Core duo T-series (if I remember correctly...). The time i used to calculate PI (with a simple algo) is pretty decent:
![]()
As a matter of fact, I've written that program (IDE) (the one in the pic) in Python. I use it to make "bots" (for games (IE: RS) and what ever...) just like you guys use Simba
There's little you can't do in Python. I've made very good color aimbot, advanced macros using ANN or GA, realtime face- and objectrecognition algos (with the help of OpenCV)... And more so.
Many of my projects requires speed, a lot of speed... I conqure speed limitations when needed by using eather Pypy, cython or writing C-modules.
Last edited by slacky; 08-21-2014 at 05:10 AM.
Is python similar to pascal?
No it is not. It's a good glip between am two, but not to large..
'most all programming languages are similar in a way, so it's not really hard to catch any syntax if one is familiar with programming.
Here is an example of a ProjectRS06 (runescape) macro written for the program shown above (no antiban or anything "special", as it's a Private server):
Python bot, and wikipedia - this shows you the syntax, and you may cosider the similarity your self.
Last edited by slacky; 08-21-2014 at 05:12 AM.
Haskell /MIPS processor
1990 called, they want their perl-script back :P
Python got a few different interpreters, you're aiming on CPython (or any slower Py-interpreter).
- PyPy can almost grant you C-speed, and in a few cases i've seen C-speed. Just a little slower than Cython, but much simpler.
- Cython (write a python extention, still Python, but with the (alternative) to trow some types at it).. Cython will yield similar speed to C, but that's because it compiles down to C.
Even though this might cover my statement I will indeed remove it.
Last edited by slacky; 08-21-2014 at 05:13 AM.
There are currently 1 users browsing this thread. (0 members and 1 guests)