Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 30.066.724 Times

Reloading all modules 1.0

  Date Added: May 10, 2013  |  Visits: 200

Reloading all modules

Report Broken Link
Printer Friendly Version


Product Homepage
Download (29 downloads)

When you create a Python module, you can use a test script wich import your module. But you probably have noticed that when you run the test script, it always use the first version of your module even if you made changes in the code.This is because the import statement check if the module is already in memory and do the import stuff only when this is mandated. You can use the reload() function but this is quite difficult if you do changes in a module wich isn't directly imported by your test script.A good solution could be to remove all modules from memory before running the test script. You only have to put some few lines at the start of your test script. This python script shows you how to do that. 

Requirements: No special requirements
Platforms: Windows, Mac, *nix, Mac OSX, Linux, Python , BSD Solaris
Keyword: Module Module Testing Script Script Debugging Script Testing Testing
Users rating: 0/10

License: Freeware
RELOADING ALL MODULES RELATED
Modules  -  Picasa Photo Galley Module 1.0
Picasa Google photo gallery module for phpnuke based on java script modified by Jeroen Diderik orignal blog googlified Sourceforge GPL relase by Jesse Berman .Demo on our website Picasa gallery .Please register and change your picasaweb username...
10 KB  
Libraries  -  FindBin 5.8.8
FindBin is a Perl module that can locate directory of original perl script. SYNOPSIS use FindBin; use lib "$FindBin::Bin/../lib"; or use FindBin qw($Bin); use lib "$Bin/../lib"; Locates the full path to the script bin directory to...
12.2 MB  
Audio Tools  -  Audio collection script 1.0
Audio collection script is a script which can help you manage collections of audio files. For example, I have a directory with all my audio files in it, sorted by band/album. I also have an audio collections directory. Within that directory I have...
2.05 KB  
Libraries  -  WebService::TestSystem 0.06
WebService::TestSystem is a Perl module with Web service for implementing a distributed testing system. my $testsys = new WebService::TestSystem; # Getting a list of tests foreach my $test (@{$testsys->get_tests()}) { print "$test->{id}...
39.94 KB  
Email  -  Contact Form Script for Scripts 1.0
Contact From Script is a simple code that sends email from website to your specified email account.You have options to change customer input and look of the script. Contact Form Script is the perfect solution to protect your email accounts.
10 KB  
Modules  -  TranslateThis Button 7.x-1.0
Translate your website into 52 languagesThe TranslateThis Button is a lightweight javascript translation widget that translates any page quickly using Ajax and the Google Language API. This module is a Drupal integration of the TranslateThis...
10 KB  
Libraries  -  pconfig
pconfig project is a perl script to set up... perl scripts! Allows a perl scripts configuration information to be included within the script for no need for external files. Controlled by internal comments within the script itself (the target...
15.36 KB  
Miscellaneous  -  Joke of the Day Script 1.0
Jokes are stored in a text file and can be edited, added from password protected admin panel.
10 KB  
Network & Internet  -  Safari Selection to Mail Message 1.0.2
Place these scripts in “~/Library/Scripts/”, select some text on the current page displayed by Safari, then select the appropriate script from the Script Menu to create a new mail message with the selected text in any of the supported mail...
163.84 KB  
Database Tools  -  SQL Permissions Extractor 3.0
Once SQL permissions extractor has generated a permissions script, apply this script to any object or server in your SQL environment.. Once SQL permissions extractor has generated a permissions script, apply this script to any object or server in...
4.74 MB  
NEW DOWNLOADS IN SCRIPTS, MISCELLANEOUS
Scripts  -  Free Ecommerce website creator 1.2
Free Ecommerce website creator is a free PHP shop creating script. This allows you to put a online shop on your own website. Create your own free ecommerce website for Your Business. Create an online shop using easyGUI online shop creator. The...
1.44 KB  
Scripts  -  MochiGames PHP Script ZDR 1.00
MochiGames PHP Script ZDR is web site, ready for use, for flash games. These flash games are downloaded automatically by "MochiGames PHP Script ZDR" from MochiGames media. The use of the games is free, you can use your own Mochi Publisher ID and...
368.54 KB  
Scripts  -  Php Chat 2.0
Add a free php site, single sign-on and multiple skins, 100% free 1. Server Modes: The chat server has paid mode and free mode. If the free chat mode, a free chat room will be assigned to your website with your domain as the room name. 2....
938.87 KB  
Scripts  -  Nibbleblog 3.0.1
Nibbleblog it's a powerful engine for creation and manipulation of BLOG's completely free. Very simple to install and configure (Only 1 step). The database used is based on XML files and this way it is not necessary to use MySQL or similar DBMS....
371.09 KB  
Scripts  -  PHP File Manager | CloudOsys 2.9b8
CloudOsys is a PHP file manager, a tool that allows your visitors upload files such as media content directly to your website. Your visitors will upload files directly to your website, where they can share and comment on them. Through cloud...
1.41 MB  
Miscellaneous  -  ZZIPlib Library for File sharing 0.13.56
Different applications can group files together into a single .zip archive and access them afterward.The library uses only the patent-free compression-algorithms supported by Zlib.It provides functions that transparently access files being either...
675.84 KB  
Miscellaneous  -  Traveling Salesman Problem - Nearest Neighbor Script 1.1
This method produces different results depending on what city is choosen as the starting point.This function determines the Nearest Neighbor routes for multiple starting points and returns the best of those routes.
10 KB  
Miscellaneous  -  N/A Checkbox 6.x-1.8
N/A Checkbox will allow website builders to add a checkbox next to a number textfield. The idea is to provide the users a textfield to enter a numeric value, or mark N/A in case they don't have it. When the N/A option is marked, a different value...
10 KB  
Miscellaneous  -  ILIAS LMS 4.1.2
ILIAS is a web base learning management system (LMS, VLE).Features of ILIAS LMS:- Courses,- SCORM 1.2 and 2004,- mail,- forum,- chat,- groups,- podcast,- file sharing,- authoring,- CMS,- test,- wiki,- personal desktop,- LOM,- LDAP,- role based...
89 MB  
Miscellaneous  -  Scribe for WordPress 2.0.4
Scribe is an SEO software service for WordPress - think of it as a content optimization assistant - that analyzes web pages, blog posts, and online press releases at the click of a button.Scribe then tells web writers of any kind how to tweak...
10 KB