What is Python module for date manipulation?

Rajendra Dharmkar
Published on 20-Dec-2017 17:46:13
Python has a built-in module, datetime which includes functions and classes for doing date and time parsing, formatting, and arithmetic. Time values are represented using time class. It has the attributes for hour, minute, second, and microsecond. They can also include time zone information.For exampleimport datetime t = datetime.time(1, 2, ... Read More

How we can import Python modules in Jython?

Rajendra Dharmkar
Published on 20-Dec-2017 17:42:59
You can use pure python modules from jython. You can't use modules that are implemented in C. To use modules from your pip installs, you need to add the sys.path of python to that of Jython as Jython does not automatically pick up the PYTHONPATH informationJython 2.5 introduced the JYTHONPATH ... Read More

How to Install two python modules with same name?

Rajendra Dharmkar
Published on 20-Dec-2017 17:40:54
This is not possible with the pip. All of the packages on PyPI have unique names. Packages often require and depend on each other, and assume the name will not change. Even if you manage to put the code on Python path, when importing a module, python searches the paths ... Read More

Can we keep Python modules in compiled format?

Rajendra Dharmkar
Published on 20-Dec-2017 17:25:22
Yes you can keep Python modules in compiled format. Python automatically compiles Python source code when you import a module, so the easiest way to create a PYC file is to import it. If you have a module mymodule.py, just do:>>> import mymoduleto create a mymodule.pyc file in the same ... Read More

How to import Python modules by default at the time of program starts?

Rajendra Dharmkar
Published on 20-Dec-2017 17:22:21
Use the environment variable PYTHONSTARTUP. From the official documentation:If this is the name of a readable file, the Python commands in that file are executed before the first prompt is displayed in interactive mode. The file is executed in the same namespace where interactive commands are executed so that objects ... Read More

How to install python modules and their dependencies easily?

Rajendra Dharmkar
Published on 20-Dec-2017 17:19:41
The best and recommended way to install Python modules is to use pip, the Python package manager. It automatically installs dependencies of the module as well.If you have Python 2 >=2.7.9 or Python 3 >=3.4 installed from python.org, you will already have pip and setup tools, but will need to ... Read More

What is SAP ABAP?

Sai Subramanyam
Published on 20-Dec-2017 15:33:07
ABAP stands for Advanced Business Application Programming. It is one of the primary programming languages used for developing programs and applications for SAP R/3 systems and its related modules. It is a high-level language with respect to SAP as it is understood and known only to SAP environment. The latest ... Read More

Difference between SAP ECC system and SAP BW system?

Lakshmi Srinivas
Published on 20-Dec-2017 15:30:44
SAP ECC stands for SAP ERP Central Component (ECC). It is a standout amongst the most perceived resources that SAP has developed. It is an ERP software which comprises in a few modules that give the association’s awesome control over their key business forms.Various modules can speak with each other ... Read More

What is the use of Custom Extractor in SAP R/3 system?

Monica Mona
Published on 20-Dec-2017 15:25:30
In order to extract data from tables, you need to follow steps:Create a View of the required table from where the data needs to be extracted or view over multiple joined tablesNavigate to Transaction SE11 and Select option 'View'. It will ask for a name, name it something like 'View_TableName'.Select ... Read More

Getting error message: Scalar type not allowed in SAP HANA

karthikeya Boyini
Published on 20-Dec-2017 15:18:18
Few points about your code to create a Stored Procedure, that you can edit and tryPROCEDURE "SLT_DELETE"."HCDW.IT.IT::TO_TIMESTAMP_CALL" (IN IN_DATE DECIMAL(15),    OUT OUT_DATE TIMESTAMP)    LANGUAGE SQLSCRIPT AS    --DEFAULT SCHEMA <default_schema_name>    --READS SQL DATA AS BEGIN    select to_timestamp(IN_DATE) into OUT_DATE FROM DUMMY; END;In Line32, you have used ... Read More