Code Monkey home page Code Monkey logo

Comments (8)

rejuashes avatar rejuashes commented on August 14, 2024 1

Bingo, that was it.

Thanks a lot.

from cloudconvert-python.

josiasmontag avatar josiasmontag commented on August 14, 2024

Please share your complete code. Thanks.

from cloudconvert-python.

rejuashes avatar rejuashes commented on August 14, 2024

Please find below the code, which is taken from the console api code snippets.

Should i have a paid version api key for the same to work?

import cloudconvert
api = cloudconvert.Api('myapikey')

process = api.convert({
"inputformat": "pdf",
"outputformat": "docx",
"input": "upload",
"file": open('inputfile.pdf', 'rb')
})
process.wait()
process.download()

from cloudconvert-python.

josiasmontag avatar josiasmontag commented on August 14, 2024

Paid version is not required for using the API.
Is it possible that your file is named cloudconvert.py? If yes, rename it to something else. (and delete the .pyc file)

from cloudconvert-python.

linky00 avatar linky00 commented on August 14, 2024

Love coming back to find someone had the EXACT SAME strange specific issue 2 years ago.

from cloudconvert-python.

Tusquito avatar Tusquito commented on August 14, 2024

Yo i have the exact same problem a lot of time ago, does someone has a fix ? Ty
`import cloudconvert

api = cloudconvert.Api('api_key')

process = api.convert({
'inputformat': 'ods',
'outputformat': 'xlsx',
'input': 'upload',
'file': 'test.ods'
})
process.wait()
process.download() `

from cloudconvert-python.

nathanturczan avatar nathanturczan commented on August 14, 2024

Which .pyc file should I delete? I'm getting this error and my file is not named cloudconvert.py, it's called transcode.py. Here's my code:

`import cloudconvert
api = cloudconvert.Api('MyApiKey')

process = api.convert({
"inputformat": "mov",
"outputformat": "mkv",
"input": "upload",
"filename": "out.mkv",
"file": open('TestVideo.mov', 'rb')
})
process.wait()
process.download()`

from cloudconvert-python.

CrickCrock28 avatar CrickCrock28 commented on August 14, 2024

I have the same code and the same problem but the file is not named "cloudconvert.py". What I have to do?

from cloudconvert-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.