[Tutor] What are the issues in running Python script on another machine (developed on Windows but will be using on Linux)

Python python at venix.com
Mon Nov 27 15:09:56 CET 2006


On Sun, 2006-11-26 at 15:14 +0000, Asrarahmed Kadri wrote:
>  
>  
> Hi folks,
>  
> I have a couple of programs that I want to test on a different
> machine..
>  
> I have developed these on Win-XP platform, but I want to test them on
> my college's machine, which is running Linux.
>  
> Are there any issues involved or i just need to take my files on a USB
> memory stick, and copy paste and that is it..?
>  

You may need to use dos2unix to convert the DOS/Windows line endings
	(\r\n)
to Unix/Linux/BSD endings
	(\n)

Example usage is:
	dos2unix myscript.py

It's a simple thing to try if you get mysterious errors.

> thanks for the help.
>  
> Regards,
> Asrarahmed 
> 
> -- 
> To HIM you shall return. 
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
-- 
Lloyd Kvam
Venix Corp



More information about the Tutor mailing list