Hello Guest September 24, 2024, 08:16:57 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
Pages: [1] 2   Go Down

Author Topic: Python.  (Read 2987 times)

firestar12

  • Guest
Python.
« on: October 11, 2009, 18:06:23 »

Has anyone here ever used Python to make programs? I finally found a programming language I like! Python is so simple, what do you guys think of it? Ever heard of it?
Logged

Tomaten

  • Custom Mission Managers
  • Posts: 1089
Re: Python.
« Reply #1 on: October 11, 2009, 18:53:14 »

I've heard of it, but never used it,
good luck with the programming mate  :D
Logged
We're the cool group  8)
Tuuuuuuut Tuuuuuuuuuut!
Also known as Tomaten 2006 from the old Ship Simulator 2006 forum.[/c

Wave Music

  • Forum member
  • Posts: 4767
Re: Python.
« Reply #2 on: October 11, 2009, 19:22:54 »

Shane, I see each day you're becoming more & more advanced guy. 

Good luck with programming & looking forward to the result!  :thumbs:
Logged
keep it gnarly

TJK

  • Guest
Re: Python.
« Reply #3 on: October 11, 2009, 21:07:48 »

Here you have a pyton i think  :D

well the was maybe this you meant http://www.python.org/download/
sorry newer used it, kud not live this without say something stupid  :doh:
Tore :lol:
Logged

llamalord

  • Forum member
  • Posts: 2590
Re: Python.
« Reply #4 on: October 11, 2009, 22:21:27 »

I have in fact used Python many, many times, :doh:

You should have no problem with it, it is a very nice programming environment.  The only thing that gets a little bit hairy is importing 3D meshes for using inside of a program.  I have this problem when I went to go make a Aircraft Carrier Flight Simulator. :P
Logged
"I reject your reality and substitute my own!"


www.llamalord

firestar12

  • Guest
Re: Python.
« Reply #5 on: October 12, 2009, 21:51:15 »

Yeah, I'm already good with it, I've already programmed a calculator that can divide, multiply, and all that jazz. It won't do percents though, I'm positive that if I use 'float' that I could though. Llamalord, do you know if it would be possible to create a basic crappy mac dock look alike?
Logged

Agent|Austin

  • Forum member
  • Posts: 4817
Re: Python.
« Reply #6 on: October 12, 2009, 21:57:24 »

Yeah, I'm already good with it, I've already programmed a calculator that can divide, multiply, and all that jazz. It won't do percents though, I'm positive that if I use 'float' that I could though. Llamalord, do you know if it would be possible to create a basic crappy mac dock look alike?

You can get a mac and have a really nice one. haha

(Sent from his Macbook?)
Logged

firestar12

  • Guest
Re: Python.
« Reply #7 on: October 12, 2009, 22:20:00 »

Not going to happen. Now I don't want this going off topic, I know it is small talk, but I want this topic to stay python related please.
Logged

Agent|Austin

  • Forum member
  • Posts: 4817
Re: Python.
« Reply #8 on: October 12, 2009, 22:30:22 »

*hiss* *slither*
On-topic
Logged

Kapn Jonah

  • Forum member
  • Posts: 1663
Re: Python.
« Reply #9 on: October 12, 2009, 23:08:51 »

Uh, whats this "Python" for?
Logged
Regards,
Jonah

firestar12

  • Guest
Re: Python.
« Reply #10 on: October 12, 2009, 23:09:42 »

...
I'm experimenting with making model icons and a reflective surface in blender, to imitate the mac dock. I then will make some python scripts or game scripts to make them bigger when the mouse is over them, then somehow load the models with python, I'm not sure if it'll work, but it's worth a shot.

EDIT: Here is the dock in it's current state: (With a self made blender icon) :P
Logged

firestar12

  • Guest
Re: Python.
« Reply #11 on: October 12, 2009, 23:10:33 »

Reply to Jonah:
Python is a programming language, used to write programs, you can do whatever you want with it, from make a 3d modeling program from scratch, or, in a darker tone, make malware.
Logged

Kapn Jonah

  • Forum member
  • Posts: 1663
Re: Python.
« Reply #12 on: October 12, 2009, 23:11:02 »

Sweet....
Logged
Regards,
Jonah

Agent|Austin

  • Forum member
  • Posts: 4817
Re: Python.
« Reply #13 on: October 12, 2009, 23:25:37 »

Gonna have the genie effect when minimizing windows? haha
Logged

firestar12

  • Guest
Re: Python.
« Reply #14 on: October 12, 2009, 23:47:20 »

Uh....I'm no where near a mac right now. Tomorrow I'll look into that. Here's what I got at the moment.
(Austin, you could really help me with getting this looking good!)
Logged

llamalord

  • Forum member
  • Posts: 2590
Re: Python.
« Reply #15 on: October 13, 2009, 00:52:09 »

Llamalord, do you know if it would be possible to create a basic crappy mac dock look alike?

For that Flight Simulator I mentioned, I created a menu at the top when you hover over it with your mouse so I imagine that wouldn't be that much harder. :P
Logged
"I reject your reality and substitute my own!"


www.llamalord

Kapn Jonah

  • Forum member
  • Posts: 1663
Re: Python.
« Reply #16 on: October 13, 2009, 00:53:31 »

So i could make my own Nautical Simulator with this program then?
Logged
Regards,
Jonah

llamalord

  • Forum member
  • Posts: 2590
Re: Python.
« Reply #17 on: October 13, 2009, 01:01:50 »

You could... but as I found out the process pool and RAM pool for Python are relatively small so after you get about 500,000 polygons in a single frame and then Render to Texture, even before the extras like Anti-Aliasing take place, your frame rates will drop to about 10FPS and go down from there. :sleepy:
Logged
"I reject your reality and substitute my own!"


www.llamalord

Kapn Jonah

  • Forum member
  • Posts: 1663
Re: Python.
« Reply #18 on: October 13, 2009, 01:02:51 »

Oh, well thats no fun :P
Logged
Regards,
Jonah

Master Captain

  • Forum member
  • Posts: 1842
Re: Python.
« Reply #19 on: October 13, 2009, 01:04:52 »

totally off topic, but when i read this topic i thought the discussion would be about this http://www.wired.com/autopia/2009/10/watercar-python-is-a-hot-rod-for-land-and-water/?npu=1&mbid=yhp
Logged

firestar12

  • Guest
Re: Python.
« Reply #20 on: October 13, 2009, 01:36:25 »

You could... but as I found out the process pool and RAM pool for Python are relatively small so after you get about 500,000 polygons in a single frame and then Render to Texture, even before the extras like Anti-Aliasing take place, your frame rates will drop to about 10FPS and go down from there. :sleepy:
Could you please PM me with more info, Llamalord?
@ MC If you knew it was off topic, then why did you post it even after I politely asked for it to stay clear of that discussion? Is it any different then Aad or Saltydog asking for things to stay on topic? No, they asked exactly like I did and apparently there are different levels of respect here if what I see is true.
Logged

Kapn Jonah

  • Forum member
  • Posts: 1663
Re: Python.
« Reply #21 on: October 13, 2009, 01:37:40 »

Sorry Shane, i was just trying to understand the program.
Logged
Regards,
Jonah

firestar12

  • Guest
Re: Python.
« Reply #22 on: October 13, 2009, 01:38:37 »

Jonah, no problem, I wasn't talking to you, but thanks! :thumbs:
You were on topic almost the whole time.
Logged

Kapn Jonah

  • Forum member
  • Posts: 1663
Re: Python.
« Reply #23 on: October 13, 2009, 01:40:49 »

Okay  ;D

I think we should get back on topic now anyway Shane
 :doh:
Logged
Regards,
Jonah

firestar12

  • Guest
Re: Python.
« Reply #24 on: October 13, 2009, 01:44:27 »

Good idea. Who wants to see some python code?

print("This is python code")
x = raw_input("Enter your favorite number")
if x


And that's all I bothered to write as I'm very tired.
Logged
Pages: [1] 2   Go Up
 
 


SMF 2.0.14 | SMF © 2017, Simple Machines