Dynaverse.net

Off Topic => Engineering => Topic started by: NJAntman on May 04, 2009, 04:03:00 pm

Title: Python question
Post by: NJAntman on May 04, 2009, 04:03:00 pm
What is it?

I want to install pyTivo to get PC to Tivo access but the pyTivo site lists Python (version 2.4 or higher but not 3.x) 32 bit version as a requirement.

Python sounds familiar, where can I check to see if it may already be installed?
Title: Re: Python question
Post by: Lepton on May 04, 2009, 06:54:07 pm
Are you serious?   For me, it's the first results on a Google search, with the second result being a link to downloads.  There's even a link to Windows Python binaries on the page for PyTiVo.

http://pytivo.armooo.net/wiki/WindowsInstall

Try to make the slightest effort, won't you?
Title: Re: Python question
Post by: marstone on May 04, 2009, 10:13:11 pm
Are you serious?   For me, it's the first results on a Google search, with the second result being a link to downloads.  There's even a link to Windows Python binaries on the page for PyTiVo.

[url]http://pytivo.armooo.net/wiki/WindowsInstall[/url]

Try to make the slightest effort, won't you?


He found the sight it listed as what version of python he needed and was wondering how you check his system if he had it installed.

I can't help you there.  Python is a scripting language, I don't have it installed on my machine so can't help you on how to find out what version you have.  Do a check on just python, it should get you to a place that can help you out. 
Title: Re: Python question
Post by: NJAntman on May 04, 2009, 10:56:05 pm
The effort I'm making is to get some insight from those who may have knowledge into what python is. It could be a sarcasm generator from what little exposure I've had to it.

Thank you Marstone for categorizing it as a scripting language, that does help. I remember scripting being mentioned on forums at Alcohol120 and DAZ. I can start digging there for some helpful reads on it.   
Title: Re: Python question
Post by: toasty0 on May 04, 2009, 11:09:02 pm
I will teach you python and javascript and vbscript and ruby on rails and php for a small fee...
Title: Re: Python question
Post by: marstone on May 05, 2009, 01:35:41 am
The effort I'm making is to get some insight from those who may have knowledge into what python is. It could be a sarcasm generator from what little exposure I've had to it.

Thank you Marstone for categorizing it as a scripting language, that does help. I remember scripting being mentioned on forums at Alcohol120 and DAZ. I can start digging there for some helpful reads on it.   

no prob, I have read alittle on Python, my son is working with LUA (another scripting language).  They are interesting.  After I get my grip on C++ again, I will probably start to work on learning a scripting language or two.  (QUIL if I can ever find anything on it, for SFC).
Title: Re: Python question
Post by: toasty0 on May 05, 2009, 09:39:23 am
The effort I'm making is to get some insight from those who may have knowledge into what python is. It could be a sarcasm generator from what little exposure I've had to it.

Thank you Marstone for categorizing it as a scripting language, that does help. I remember scripting being mentioned on forums at Alcohol120 and DAZ. I can start digging there for some helpful reads on it.   

Is there a particular project or task you have in mind?
Title: Re: Python question
Post by: Czar Mohab on May 05, 2009, 10:13:31 am
To find if you have it installed is just a matter of doing a search for "python" on your computer. Find "python.exe" and double click. Version should be in the first line, in my case:

"Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02)"

For me, the directory is in "D:\Program Files\Python26"; it was a required component to get Blender to work. And since I have it, I'll probably end up tinkering with it. From what I understand, it is versitile, powerful, and free. The rest I'll learn as I go.

With some simple scripting, you could probably make a sarcasm generator with it. :D

Czar "Photons have mass? I didn't know they were Catholic!" Mohab
Title: Re: Python question
Post by: NJAntman on May 05, 2009, 11:31:56 am
The effort I'm making is to get some insight from those who may have knowledge into what python is. It could be a sarcasm generator from what little exposure I've had to it.

Thank you Marstone for categorizing it as a scripting language, that does help. I remember scripting being mentioned on forums at Alcohol120 and DAZ. I can start digging there for some helpful reads on it.   

Is there a particular project or task you have in mind?

I want to get pyTivo installed and running so that I can use my desktop's hard-drive to expand the amount of saved Tivo programs we can record and then playback on the Tivo. But I don't like the idea of installing and learning the new program if it has yet another program as a prerequisite; too many unknowns and chances to hose the system. Python will just be collateral software bloat.

But if python is already in there (in the correct version) I'll much more readily start using pyTivo. Thank you Czar for pointing out where to look. Now if as a scripting language I can use it to replace dameon tools for use with Alcohol120 then I'd be more than willing to learn it as well.
Title: Re: Python question
Post by: marstone on May 05, 2009, 12:22:16 pm

I want to get pyTivo installed and running so that I can use my desktop's hard-drive to expand the amount of saved Tivo programs we can record and then playback on the Tivo. But I don't like the idea of installing and learning the new program if it has yet another program as a prerequisite; too many unknowns and chances to hose the system. Python will just be collateral software bloat.

But if python is already in there (in the correct version) I'll much more readily start using pyTivo. Thank you Czar for pointing out where to look. Now if as a scripting language I can use it to replace dameon tools for use with Alcohol120 then I'd be more than willing to learn it as well.

most likely, even if you don't have it, if you just install Python should be anough to run PyTivo.  It needs the Python program installed to run it's own scripts.  You should never have to touch the Python program directly.
Title: Re: Python question
Post by: Czar Mohab on May 05, 2009, 12:46:50 pm
Like Marstone said, it probably is just needed to get PyTivo to work. I don't use Python on its own (yet), but Blender uses it, and I can't use Blender without it.

Pythoin only takes 47.7 MB on my HDD, so it has a relatively small footprint on the 250GB partition I have it on - I'll assume since you're Tivo-ing to your PC that you have a decent sized HDD - you probably won't notice that it is there, and except for a brief "everything is running fine" command window that might be there when you run PyTivo, you'll probably forget about it after a while.

Czar "More spilled knowledge," Mohab
Title: Re: Python question
Post by: Bonk on May 05, 2009, 03:13:13 pm
Is there a particular project or task you have in mind?


Oh, I have one! :multi: Pick me! Pick me! :multi:

3D Studio Max .mod plugin source (http://www.fileplanet.com/dl/dl.asp?/strategyplanet/sfc/omega/resources/3dsmaxmodplugin.zip) + Python scripting in Blender  (http://wiki.blender.org/index.php/Extensions:Py/Scripts)= mod_import.py + mod_export.py  (more SFC modelling goodness!)

Shouldn't be too hard?

While we do have the 3dsmax plugins and the Milkshape plugins, both applications cost money. Thankfully Rod's buddy set us up by recompiling/porting the Max 3/4 plugins for Gmax 1.2 which is free. Problem is that Gmax is very inflexible in import and export options. A fully open source SFC modelling solution would be the bees knees. (think - laying the foundation...)

What got me going on it was coming across Meshlab (http://meshlab.sourceforge.net/) recently. Plugins for it would be trickier (need to compile QT4 on windows for a build environment), but doable. Then I remembered Blender's Python scripting and that most of it's import and export filters are in python. While Blender's UI is rather unwieldy, it has significant capabilities.

Anyway, I figure translating the c++ max plugins to python for blender should not be that hard. I figure base it on Blender's .3ds filters, but replace the structures with those defined in the max3/4 .mod plugins source.

I'm going to dig a little deeper on the subject tonight to get a better feel for feasibility and effort involved.

Who's game?
Title: Re: Python question
Post by: NJAntman on May 05, 2009, 03:30:03 pm
There are some Trek fans over in the DAZ forums and, although I never got into modelling so I'm a bit lost as to what your planning, what you propose sounds familiar. I'll run through the forum over there to see if it is the same, could save you a bit of hassle.

I'm fairly certain it is buried in this thread,
http://forum.daz3d.com/viewtopic.php?t=72832&postdays=0&postorder=asc&start=0 (http://forum.daz3d.com/viewtopic.php?t=72832&postdays=0&postorder=asc&start=0)
but I've only managed to get back through the first 10 pages so far. Might take a while. :crazy2:
Title: Re: Python question
Post by: Bonk on August 05, 2009, 03:04:12 pm
Thanks for the link!

I just went through pages 80-100 of that thread, no sign of it so far. Lots of interesting stuff though.
Title: Re: Python question
Post by: ReyvinVinnex on August 19, 2009, 06:13:40 pm
Somebody send me a message if you find that script set, I really wanna get started in Blender.  At least it's working for me, the Gmax plug-in isn't working for me . . .
Title: Re: Python question
Post by: marstone on August 30, 2009, 11:01:20 pm
Bonk, I went to download the 3D studio max plugin source, but I get a failure on the download (denial actually) anywhere else that might have that code?  I was hoping it would fill in the gaps of what I have figured out of the MOD format and what I don't know yet.

TThanks.
marstone
Title: Re: Python question
Post by: Bonk on August 30, 2009, 11:42:51 pm
Here ya go:
ftp://www.dynaverse.net/Utilities/Mod_Plugin-3.1.zip (ftp://www.dynaverse.net/Utilities/Mod_Plugin-3.1.zip)
Title: Re: Python question
Post by: marstone on August 30, 2009, 11:52:22 pm
Here ya go:
ftp://www.dynaverse.net/Utilities/Mod_Plugin-3.1.zip

oddly anough it is telling me can't display webpage. hmm.
Title: Re: Python question
Post by: Bonk on August 31, 2009, 12:08:22 am
It's an ftp link, its in the folder... perhaps try an ftp client?

Oh heck here, I'll attach to this post.
Title: Re: Python question
Post by: marstone on August 31, 2009, 12:13:04 am
It's an ftp link, its in the folder... perhaps try an ftp client?

Oh heck here, I'll attach to this post.

that worked.  Yeah, I seen it was an ftp site, thought IE 8 would be smart anough to run it right.  But that is asking alot of IE.
Title: Re: Python question
Post by: marstone on August 31, 2009, 12:22:08 am
took a quick look at the files.  It should help out.  thanks alot.
Title: Re: Python question
Post by: marstone on August 31, 2009, 10:34:58 pm
another thanks Bonk, just two small areas to figure out now.  (alittle of the header, and texture stuff).  If all goes well on reading on OpenGL this week, I should be able to render a untextured ship soon.  WooHoo