View Single Post
  #1  
Old 04-27-2005, 10:18 AM
Johannes Johannes is offline
Member
 
Join Date: Jan 2005
Posts: 143
Modules / Require / Include function

Developing different programs that use some of the same code I was wondering if python also has a fuction like e.g. php to include small code snippets at certain positions.

I've already used the module-idea (e.g. import graphModule and then using it with graphModule.blabla ) but it is not the same as just outsourcing part of the code.

Is there some command to do this?

Johannes
Reply With Quote