hi
I'm new to programming.I'v e try a little BASIC so I want ask since
Python is also interpreted lang if it's similar to BASIC. 9 3815
"abisofile" <gm**@op.pl> wrote in message
news:ma******** *************** *************** @python.org... hi
I'm new to programming.I'v e try a little BASIC so I want ask since Python is also interpreted lang if it's similar to BASIC.
Is a Ferrari similar to a horse-wagon? Yes, they both have 4 wheels.
:=)
Doug Holton wrote: If you want to make applications with a graphical user interface (GUI), check out wxpython, although they haven't yet released a version that works with the new python 2.4 however: http://wxpython.org/
Actually, Robin *has* released 2.4 binaries, he just hasn't updated the
website yet. ;) But Windows installers for 2.4 are available on
Sourceforge...
Jeff Shannon
Technician/Programmer
Credit International
The "interprete d" nature of the existing Python language has little to do
with how it compares to other languages. Most languages, including BASIC,
are available in either flavor - interpreted or compiled. And either way,
it's still the same language. That being said, one would expect an
interpreted language (like Python!) to be a bit more approachable for
beginners. The mechanics of producing a working program are just simpler
when the language is interpreted, no matter what that language might be.
It would be quite a stretch to call Python similar to any of the very many
flavors of BASIC that exist. So - the answer is no, Python is not similar
to BASIC.
Python is, however, an excellent beginners language. In fact, a serious
programmer with several languages under his belt might actually be at a
disadvantage when learning Python. At least that is my personal experience.
So
Similar to BASIC - no!
Great language for beginning programmers - yes!
Thomas Bartkus
"abisofile" <gm**@op.pl> wrote in message
news:ma******** *************** *************** @python.org... hi
I'm new to programming.I'v e try a little BASIC so I want ask since Python is also interpreted lang if it's similar to BASIC.
"Thomas Bartkus" <to*@dtsam.co m> writes: The "interprete d" nature of the existing Python language has little to do with how it compares to other languages. Most languages, including BASIC, are available in either flavor - interpreted or compiled. And either way, it's still the same language. That being said, one would expect an interpreted language (like Python!) to be a bit more approachable for beginners. The mechanics of producing a working program are just simpler when the language is interpreted, no matter what that language might be.
On what basis do you think the mechanics of producing a working
language are easier because the language is interpreted? My experience
is that interpreted C (yes, I really did work with a C interpreter -
and it was the only interpreter I've ever used that had no compilation
phase whatsoever) is no easier to deal with than compiled C. Ditto for
the various flavors of LISP I've worked with.
Now, having an interactive environment with a REPL makes learning the
language and checking things a lot easier. Those tend to be rare for
compiled languages. But interpreted languages don't necessarily have
them, as witnessed by Java and Perl. You have to get your REPL as a
third party package for those languages.
<mike
--
Mike Meyer <mw*@mired.or g> http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
On Thu, 2004-12-16 at 13:42, It's me wrote: "abisofile" <gm**@op.pl> wrote in message news:ma******** *************** *************** @python.org... hi
I'm new to programming.I'v e try a little BASIC so I want ask since Python is also interpreted lang if it's similar to BASIC.
Is a Ferrari similar to a horse-wagon? Yes, they both have 4 wheels.
No, it is not better than a horse. The horse is more reliable and on
any given day you can count on it going further before it needs service.
Or were you comparing a Ferrari to a Mustang ... in which case, yes,
good analogy.
- Adam
Adam DePrince
"Mike Meyer" <mw*@mired.or g> wrote in message
news:86******** ****@guru.mired .org... "Thomas Bartkus" <to*@dtsam.co m> writes:
The "interprete d" nature of the existing Python language has little to
do with how it compares to other languages. Most languages, including
BASIC, are available in either flavor - interpreted or compiled. And either
way, it's still the same language. That being said, one would expect an interpreted language (like Python!) to be a bit more approachable for beginners. The mechanics of producing a working program are just
simpler when the language is interpreted, no matter what that language might be.
On what basis do you think the mechanics of producing a working language are easier because the language is interpreted. <snip>
Because:
Type code
Run code.
Is easier to explain to the uninitiated than
Type Code,
compile code,
make executable,
run executable.
And - if a beginner is asking the question, there is no point getting mired
in an arcane discussion about all the in between mix and match flavors that
are constantly at play in the programming world.
As I said -
"Interprete d languages are bit more approachable for beginners"
Thomas Bartkus
Thomas Bartkus wrote: > On what basis do you think the mechanics of producing a working > language are easier because the language is interpreted. <snip>
Because: Type code Run code.
VB6 goes a step further:
Run Code
Type Code
That means that you can set a breakpoint. While the debugger stops you
can edit the sourcecode (to some extent) without stopping program
execution and let the interpreter run this new code without restarting
the program.
Essentially you can code inside the debugger. That gives you the
possibilty to fix a bug on the fly since on an exception the debugger
stops at the wrong line. Try different possibilities and see the result
immediatly in the given context.
That would be an nice feature for python (debugger), because this is
true interactive development.
Or is it already there and I missed it?
--
Greg
On Sat, 18 Dec 2004 08:41:46 +0100, Gregor Horvath
<g.*******@gmx. at> wrote: That means that you can set a breakpoint. While the debugger stops you can edit the sourcecode (to some extent) without stopping program execution and let the interpreter run this new code without restarting the program.
You can do that in C/C++ in some environments (within limits).
About 11 years ago I used a C++ IDE called ObjectCenter which
included a C/C++ interpreter and ran on my Sun workstation. It
was pretty cool for the time and worked quite happily on my
350Kloc C program...
If C can do it I'm sure it must be feasible in python!
Alan G.
Author of the Learn to Program website http://www.freenetpages.co.uk/hp/alan.gauld This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Lucas Raab |
last post by:
Can I use Python as an extension language to Visual Basic sort of like in C
or C++?
|
by: Leif K-Brooks |
last post by:
Has anyone ever tried implementing a simple unstructured BASIC dialect
in Python? I'm getting interested in language implementation, and
looking at a reasonably simple example like that could be pretty
interesting.
|
by: Dan Stromberg |
last post by:
If I wanted to write a python script that performs basic auth, gets a
cookie, and then does an http POST using the cookie for authentication,
what would be the best python API to write to?
Does someone already have example code that does something like this?
Thanks.
|
by: Michael Foord |
last post by:
#!/usr/bin/python -u
# 15-09-04
# v1.0.0
# auth_example.py
# A simple script manually demonstrating basic authentication.
# Copyright Michael Foord
# Free to use, modify and relicense.
# No warranty express or implied for the accuracy, fitness to purpose
|
by: Engineer |
last post by:
I'm looking for a Python interpreter written in BASIC, preferably
Visual Basic, and one written in VBA would be best of all. An
alternative would be a Python-2-Basic compiler.
Unfortunately I have to develop some special purpose code in an
organization where my only development environment is Microsoft Office
Visual Basic for Applications....
| |
by: Alejandro Dubrovsky |
last post by:
I see from googling around that this is a popular topic, but I haven't seen
anyone saying "ah, yes, that works", so here it goes.
How does one connect through a proxy which requires basic authorisation?
The following code, stolen from somewhere, fails with a 407:
proxy_handler = urllib2.ProxyHandler({"http" :...
|
by: bruce |
last post by:
hi...
i have the following test python script.... i'm trying to figure out a
couple of things...
1st.. how can i write the output of the "label" to an array, and then how i
can select a given element of the array.. i know real basic..
2nd.. where can i go to find methods of libxml2dom. i've been looking using
google, but can't seem to...
|
by: Hoop |
last post by:
Hi,
I have been working in getting Boost.Python running on my PC, seems to
work now.
I have what I believe is somewhat of basic question here.
I am starting on an application that will developed in VS2005, probably
using C++/CLI.
I want to be able to exchange data in between Python and C++. The user
when running the C++ app will be able...
|
by: MartinRinehart |
last post by:
Working on parser for my language, I see that all classes (Token,
Production, Statement, ...) have one thing in common. They all
maintain start and stop positions in the source text. So it seems
logical to have them all inherit from a base class that defines those,
but this doesn't work:
import tok
class code:
def __init__( self, start,...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |