Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
OrgChart JS 4.9.7
iScripts CyberMatch 1.3.3
AnyGantt JS Gantt Charts 8.7.0
Database Workbench Pro 5.6.8
Devart SSIS Data Flow Components 1.10.1
SentiMask SDK Trial 2.0.193121
dbForge Studio for SQL Server 5.8
ODBC Driver for ASE 2.1.2
The C# OCR Library 4.4.0
ODBC Driver for xBase 2.1
Rapid PHP 2018 15.5
IBDAC 6.4
Online Course Booking Script 1.3.3
Job Portal Script 1.3.2
The C# PDF Library 5.2
Top Code
iScripts CyberMatch 1.3
Database Workbench Pro 5.6.8
dbForge Studio for SQL Server 5.5
Availability Booking Calendar PHP 1.0
Online Course Booking Script 3.04
ATN Site Builder 3.0
ATN Resume Finder 2.0
PHP Review Script 1.0
Devart SSIS Data Flow Components 1.0
IBDAC 6.4
ICPennyBid Penny Auction Script 4.0
Invoice Manager by PHPJabbers 3.0
The C# PDF Library 1.0
MATLAB Support Package for Arduino (aka ArduinoIO Package) 1.0
Azizi search engine script PHP 4.1.10
Top Rated
VisualNEO Web 2018.12.15
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
Cross-platform startfile and mailto functions 
File ID: 65545






Cross-platform startfile and mailto functions 
Download Cross-platform startfile and mailto functions http://code.activestate.com/recipes/511443-cross-platform-startfile-and-mailto-functions/?in=lang-pythonReport Error Link
License: Freeware
Downloads: 12
Submit Rating:
Cross-platform startfile and mailto functions  Description
Description: This recipe provides a couple of cross-platform utility functions, 'open' and 'mailto', for opening files and URLs in the registered default application and for sending e-mails using the user's preferred composer.
The python standard library already provides the os.startfie function that allows the user to open a generic file in the associated application but it only works on Windows.
The 'webbrowser' module is cross-platform but only handles a specific kind of application, the web browser, and it is useless if one wants to open e.g. a source code python file in the user's preferred text editor.
The 'open' function simply opens the file or URL passed as parameter in the system registered application.
The 'mailto' function starts the user's preferred e-mail composer and pre-fills the 'to', 'cc','bcc' and 'subject' headers if corresponding parameters are provided. It also handles parameters for the message body and for attachments.

License: Freeware

Related: sysadmin

O/S:Windows

Downloads: 12



More Similar Code

MYCP is a Boost based, open-source, cross-platform HTTP and C++ web application server. MYCP make C++ and web development more simple,make development efficiency increases 20 times, code decreases 80%. CSP+ include CSP,CDBC,C++ Servlet,C++ APP,RCA...



MIDAS is a cross platform Monitoring and NIDS server. The goal of this project is to build a robust and complete network/system monitoring suite that is capable of scaling to very large networks.



FlameRobin is a lightweight and cross-platform administration and management GUI for the Firebird DBMS.

Features:

- lightweight (small footprint, fast execution)
- cross-platform (Linux, Windows, Mac OS X, FreeBSD,...



Hello Forge, currently in it's early development stage, is planned to be an alternative, cross platform toolkit and library for C++ programmers.



CsoundQt, formerly called QuteCsound, is a cross platform editor and front-end for Csound with real-time graphical control, syntax highlighting, interactive help and automatic launching of Csound from a shell or the API. It can open files created...



The BVRDE is a fully integrated development environment (IDE)
for remote cross-platform compiling and debugging of UNIX and LINUX console applications.
BVRDE runs on a Windows platform, but compiles and debugs applications on UNIX systems.



Caddress will be an Open Source Cross-Platform Calendar and Address Book with native sync support. It is configurable through predefined profiles, and supports add-ons.



Keros is an environment for cross platform scripting and development, providing project management capabilities such as building and library dependency resolution.



Cross platform libraries and tools that may make your life easier.



EasyMake is a cross-platform, language and compiler neutral build system,that automatically keeps track of dependencies and provide platform independent commands for common install/uninstall tasks. The default implementation is for C/C++.

User Review for Cross-platform startfile and mailto functions
- required fields
     

Please enter text on the image