Skip to content

jwoehr/PythonSamples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PythonSamples

Python Samples

This repository will be used for miscellaneous Python samples for all platforms including" *Windows, Linux, Mac and IBM i/AS400

  • General

    • hello.py - Tiny hello world example
    • hellotemplate.py - Python script template with standard error handling built in. Fails nicely and also returns non-zero error code on failure.
  • IBM i

    • ibmi_d_to_dt.py - Convert IBM i date CYYMMDDHHMMSS to Python datetime
    • pyhellotodb.py Sample Python template to do some Python work and write to a sample outfile.DB2 table
    • pyitool01.py Call CL program via iToolkit and XMLSERVICE.
    • pypgmcall001.py - Call CL program via iToolkit and XMLSERVICE.
    • pydbtoexcel.py - Run SQL to extract IBM i DB2 data to an Excel file
    • pyodbcconnectiontest.py - IBM i ODBC connection tester. Use to test native ODBC connection.
    • pysftpdownload.py - Sample SFTP file download using pysftp.
    • pysftpupload.py - Sample SFTP file upload using pysftp.

About

Python Samples

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%