473,549 Members | 2,781 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Anyone use VPython?

Ali
Anyone use VPython?
Jul 18 '05 #1
8 1514
On 14 Aug 2004 20:32:49 -0700, al**********@ho tmail.com (Ali) wrote:
Anyone use VPython?


Yes.
Jul 18 '05 #2
Ali
Arthur <aj******@opton line.com> wrote in message news:<69******* *************** **********@4ax. com>...
On 14 Aug 2004 20:32:49 -0700, al**********@ho tmail.com (Ali) wrote:
Anyone use VPython?


Yes.


ok then how yu make things move?
Jul 18 '05 #3
On 15 Aug 2004 13:58:19 -0700, al**********@ho tmail.com (Ali) wrote:
Arthur <aj******@opton line.com> wrote in message news:<69******* *************** **********@4ax. com>...
On 14 Aug 2004 20:32:49 -0700, al**********@ho tmail.com (Ali) wrote:
>Anyone use VPython?


Yes.


ok then how yu make things move?


Hmmm.

Your questions are kind of general..

There are lots of different ways to get things to move.

In the Hanoi demo, clicking the mouse button over a top ring and
keeping it pressed while moving the mouse.. will move the ring.

Most things in VPython have an attribute called "pos", representing
its 3d coorinates

Experiment from the IDLE prompt.

IDLE 1.0.3
from visual import * Visual 2004-07-22 s=sphere(color= color.blue, pos=(2,2,2))
You will see a window with a blue sphere.

Then: s.pos=(0,2,2)


The sphere's position in the window moved.

Cool.

Moving things in Vpython is usually a matter of having a porgram that
changes things "pos", in reaction to something - a mouse click, the
passage of seconds, etc.

Help?

Art

Jul 18 '05 #4
al**********@ho tmail.com (Ali) wrote in message news:<8f******* *************** ****@posting.go ogle.com>...
Arthur <aj******@opton line.com> wrote in message news:<69******* *************** **********@4ax. com>...
On 14 Aug 2004 20:32:49 -0700, al**********@ho tmail.com (Ali) wrote:
Anyone use VPython?

yup
Jul 18 '05 #5
Ali wrote:
Anyone use VPython?


Noting the question, the first two responses you got, and
your subsequent question, I suggest you would benefit
from reading this short essay before posting again:

http://www.catb.org/~esr/faqs/smart-questions.html

-Peter
Jul 18 '05 #6
Peter Hansen wrote:
Ali wrote:
Anyone use VPython?


Noting the question, the first two responses you got, and
your subsequent question, I suggest you would benefit
from reading this short essay before posting again:

http://www.catb.org/~esr/faqs/smart-questions.html


Note to the original poster: before you think Peter is being arrogant or a
smartass, please realize that's probably the single most useful answer you'll
ever get to a question on the internet. And yes, I've actually read that
document once or twice in the past, carefully.

So don't react badly, take his advice, read that document, make sure you
understand it, and try again. I'm sure you'll find the result worth every
minute of effort spent. Otherwise you'll continue to get correct answers like
you have so far to your questions. Correct, but perfectly useless (because the
questions were worded _begging_ for useless answers).

best,

f
Jul 18 '05 #7
On Mon, 16 Aug 2004 00:50:12 GMT, Arthur <aj******@opton line.com>
wrote:


Experiment from the IDLE prompt.


Oops. I forgot. I really did.

What IDLE prompt?

The VPython Windows distribution has the gaul to overwrite the
conifig-main.def file in the idlelib directory changing the default
behavior of IDLE on start-up to be a text editor, rather than an
interactive prompt.

This despite the fact that:

a) The person responsible for configuring the distribution knows that
the developers of IDLE =- specifically one GvR - made a clear
statement as to wanting the prompt as the default start-up.

b) The new IDLE has specifcally added the ability for user defined
configuration of options without touching anything in the idlelib
directory.

c) This kind of overwrite of lib files, it seems to me, is bad form in
any case.

The fact that I think that the decision is also ridiculous, on its
merits, being totally besides the point.

The OP, depending on his profile, may in actual fact have no idea what
I am talking about by referring to the IDLE interactive prompt -
having downloaded VPython.

I had made an issue of this - again - recently on edu-sig. To a
resounding thud of reaction. But this little exhange proves at least,
to myself, that I am attacking something real. Not just looking to
pick a fight.

Art

Jul 18 '05 #8
Ali
Thank you all for your help.
Jul 18 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
4042
by: bap | last post by:
When I try to run a program on a clean machine using the VPython extensions after compiling with PY2EXE I get the following error message: "The procedure entry point IsWow64Process could not be located in the dynamic link library KERNEL32.dll" . The compiled version runs fine on the original machine (win NT OS) but gives this error message on...
5
1816
by: Ali | last post by:
Please anyone I would really like the code for makinga dome in vpython. I would like to be able to adjust he color, axis, radius, and pos.
3
1171
by: York | last post by:
Hi everybody, I am trying to run VPython on FC3. The installation was fine. But when I "import visual", an error occurs: """ >>> import visual Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/lib/python2.3/site-packages/visual/__init__.py", line 15, in ?
2
2730
by: lordfelipe69 | last post by:
Hello I am making an application with vpython, numpy and scipy, I am also creating a exe with py2exe, if only make it with vpython, works well, so also with only numpy, the problem occurs when the two combine, Begin to see messages like Traceback (most recent call last): File "prueba2_94.py", line 2, in <module> File...
0
7520
marktang
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...
0
7450
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7957
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7809
tracyyun
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...
0
6043
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5368
isladogs
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...
0
5088
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...
0
3500
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...
1
1941
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 using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.