×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
On Fri, Jan 13, 2017 at 9:01 AM, Mohammad Tanveer <surgum@xxxxxxxxx> wrote:
I was wondering if there are some good working examples with File I/Os ..
may be with printer files and DSPF?
Not a lot of examples. Not many people use Python on the i. Until
quite recently, very few people knew that you could do such a thing.
I wrote a little bit on the iSeriesPython blog, which you can reach
from the iSeriesPython home page (the blog tab) or directly at
<
http://iseriespython.blogspot.ca/>
I will say that almost any examples you do find will deal with
database tables. Printer files and display files are a distinctly IBM
thing. Linux, Windows, and Mac don't have anything similar. Obviously
you can generate hard copy and show stuff on the screen in other
platforms, but the way you do it is very different than PRTF and DSPF.
Honestly, if you are thinking in terms of PRTF and DSPF, by far the
best technology for working with those is RPG.
Python looks like good old DOS
based QBASIC to me with some advance features...I am trying to practice it
using www.codecademy.com for python
It's hopefully as easy for beginners to use as Basic, but it is vastly
more advanced. I don't think saying "some advanced features"
adequately conveys how much of a difference there is. For that matter,
almost any Basic you will find today is also significantly more
advanced than QBASIC.
John Y.
As an Amazon Associate we earn from qualifying purchases.