I'd like to add the following code sample to Google Groups:

    <script type = "text/javascript">
        var async = require("async");

How can I insert source code into Google groups like this?


Direct copy+paste will work, but if you want to make it look like code you'll have to

  • Indent the code using the indent button
  • Select the code block and change the font
  • Select the code block & apply relevant colour.

enter image description here

All these should be possible from the Web UI


import os os.chdir("E:\Manoj\Python_Software\instantclient-basic-windows.x64-\instantclient_12_2")

import cx_Oracle dsnStr = cx_Oracle.makedsn("", "1521", "o171a003") conn = cx_Oracle.connect(user="estar", password="eagle", dsn=dsnStr) curs = conn.cursor() curs.arraysize=50 curs.execute('select portfolio_acct ,asset_id,base_currency from estar_cost_position') print ("portfolio_acct\tasset_id\tbase_currency\n") for column_1, column_2, column_3 in curs.fetchall(): print (column_1, "\t", column_2, "\t", column_3)

curs.close() conn.close()

  • It is all about the python with plsql(oracle )connection. – Manoj kumar padhi Aug 11 '17 at 10:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.