Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4480400
By: bahamafive

Open the attached text file and copy the content into a *.py file. Now try to
save the file and eclipse/pydev will complain that the file contains unknown
chars for ISO-8159 - hence it cannot save it.

I found the problem: Excel replaced the '...' by a special char.
The auto-generated python file (based on a Excel-Sheet) is rather long and it
was tricky to find the problematic line. It would be nice if Eclipse/PyDev could
show me the problematic places.

Cheers,
Marco

Hmmm... I cannot attach files, hence I will try to copy the code into this 
message
hope the the '...' will remain in place.

Look what follows after:
 1. Equity, ...
 2. - eval_hist_[bonds,cbs,
 3. - eval_act_[bonds,cbs,

<file>


#!/bin/env python
# -*- coding: iso-8859-1 -*-
#----------------------------------------------------------------------------
# Module name:  bsw_def_instr_type.py
#----------------------------------------------------------------------------
# History:
#   20070823 ASM Created

###############################################
###################   get_def_instr_type   ###################
###############################################

def get_def_instr_type(blbla):
        """<em>Retrieves data from the table types.</em>
        
        Each instr(ument) belongs into a group like: Bond, Convertible, Option, 
Equity,
…
        Depending on this group different tables are used for a instrument.
        Concerned tables start with:
          - eval_hist_[bonds,cbs,…]
          - eval_act_[bonds,cbs,…]
          - instr_[bond, cb, option, call_money, future, forex, interest_rate, 
stock]
        """
        err_msg = []

</file>

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=293649

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Pydev-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to