Question

Trying to use the python script to manage my dropbox via the command line and when I try to run it I get the following

-> ~/bin/dropbox.py help     
  File "/home/jcostanzo/bin/dropbox.py", line 50
    INFO = u"Dropbox is the easiest way to share and store your files online. Want to learn more? Head to"
                                                                                                         ^
SyntaxError: invalid syntax

Here is my python version

-> python --version
Python 3.2.3

What am I missing? Thanks

Was it helpful?

Solution

Looks like this script doesn't work in your version of Python.

The u'unicode' syntax works in Python 2.x, and again in Python 3.3.

See also Unicode literals that work in python 3 and 2 and What’s New In Python 3.3.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top