Collecting resources for a sticky post

67 views
Skip to first unread message

Justin Israel

unread,
Oct 5, 2013, 4:08:33 PM10/5/13
to python_in...@googlegroups.com
There are a ton of great resources that flow through the forum and I thought it would be really helpful to collect them into a sticky post that remains at the top all the time.
For instance, most recently mentioned was http://mayamel.tiddlyspot.com/

I figure it could be organized in ways like:
  • MEL refs
  • Maya Python refs
  • General Python refs
  • Training
  • Qt / PyQt / PySide
  • ..etc.. whatever everyone suggests
If you want to contribute whatever resources you think should be added, do it here in this post. I will collect them and update the sticky, and try to keep it updated as new ones are mentioned over time.

-- justin

Ævar Guðmundsson

unread,
Oct 6, 2013, 3:29:17 PM10/6/13
to python_in...@googlegroups.com
Great idea Justin!

  Just to chip in a couple of pence, initial though was of course no person should get crackin in python without knowing how to:

>>> import this

  So how about a sticky thread titled "Never leave home without them" and get a single paragraph description listing modules which have in one way or another turned out to be super useful.  One thing I kept running into when starting in python was not knowing this and that exists as modules already, had for example written 3 .csv parsers when I tried "import csv" :)
  A list of what modules are super useful and integral will help people stumbling onto this forum quite a bit I think.

Starting the list off with os,commands,openMayaUI,csv,cPickle and leave a promise to try to write up something more elaborate once time permits.

Justin Israel

unread,
Oct 6, 2013, 3:51:24 PM10/6/13
to python_in...@googlegroups.com

It could be part of the same sticky if its just a list with doc links, and a few words describing them.

--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/0a81a83c-08c4-46e7-916e-e580665e9ffa%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ævar Guðmundsson

unread,
Oct 6, 2013, 4:01:59 PM10/6/13
to python_in...@googlegroups.com

 

  Here you go:

 

os { your operating system and you. }

http://docs.python.org/2/library/os.html

 

commands { command your machine and get some feedback. }

http://docs.python.org/2/library/commands.html

 

openMayaUI { Sometimes it should look a little different. }

http://nathanhorne.com/?p=183

csv { Who writes spreadsheets manually these days anyway. }

http://docs.python.org/2/library/csv.html

 

cPickle { For when you don’t have to read the data yourself, your machine reads it faster this way. }

http://docs.python.org/2/library/pickle.html

--
You received this message because you are subscribed to a topic in the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/python_inside_maya/Dt9Gj6hRn2k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA3j%3DK801Y%2BgpjJU8QWt72K0EYg1bwXmkX8cC81xHEAcOg%40mail.gmail.com.

Justin Israel

unread,
Oct 6, 2013, 5:00:22 PM10/6/13
to python_in...@googlegroups.com

I think the functionality of the commands module has been superceded by subprocess, right?

Ævar Guðmundsson

unread,
Oct 6, 2013, 5:22:53 PM10/6/13
to python_in...@googlegroups.com
Hehe, that's debateable, surely subprocess has vastly more functionalities and for advanced usage it's a crucial module, but most if the time all the person who is writing a quick script is after is commands.getoutput

 Subprocess { for running things not only here but everywhere }

Justin Israel

unread,
Oct 6, 2013, 6:15:58 PM10/6/13
to python_in...@googlegroups.com
Not sure its debatable: http://docs.python.org/2/library/commands.html

"Deprecated since version 2.6: The commands module has been removed in Python 3. Use the subprocess module instead."

subprocess was meant to replace all the other various approaches to spawning (os, commands, ...). Best to advocate migrating :-)



--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.

Ævar Guðmundsson

unread,
Oct 6, 2013, 6:58:51 PM10/6/13
to python_in...@googlegroups.com
Fair enough

commands { command your archaic machinery and get some feedback. }

 
You received this message because you are subscribed to a topic in the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/python_inside_maya/Dt9Gj6hRn2k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA3KBXarf3ExCMJmdTdzj3%3DvzFYq8%2B74CYZV1DvH8Cattw%40mail.gmail.com.

Justin Israel

unread,
Oct 7, 2013, 5:01:57 AM10/7/13
to python_in...@googlegroups.com
Sticky started: https://groups.google.com/d/msg/python_inside_maya/7rHTcdIi4gY/uee56fvIJSwJ

Please message me, or reply here to suggest more content. Is there more training content out there? 


Panupat Chongstitwattana

unread,
Oct 9, 2013, 12:09:06 PM10/9/13
to python_in...@googlegroups.com
Hi Justin.

Just mentioning that I really like the old qt-digia documentation page.

http://doc.qt.digia.com/4.7/

I found the overall layout and font much easier to read than the new qt-project.org website.

Luke Harris

unread,
Oct 9, 2013, 5:29:20 PM10/9/13
to python_in...@googlegroups.com
I found Yasin Uludag's PyQt model-view series very good: http://www.youtube.com/watch?v=mCHVI8OXDxw

Also some autodesk ADN stuff:
Maya Python API: http://download.autodesk.com/media/adn/MayaAPI_Webcast_Recordings.zip

Justin Israel

unread,
Oct 9, 2013, 7:28:47 PM10/9/13
to python_in...@googlegroups.com
Thanks guys. Added


--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages