English 中文(简体)
Error, while Export APK file from thekivy Project
原标题:Error while exporting APK file from kivy project

I want to export my kivy app to APK but I get the following error...
I did this once on Debian 12 and now on Ubuntu 20.04 but I got the same error both times.
Python version: 3.8.10
Buildozer version: 1.5.0
I ran this code: biuldozer -v android debug but I got this error:

[INFO]:    Trying first build of pyjnius to get cython files: this is expected to fail
[DEBUG]:   -> running python3 setup.py build_ext -v
[DEBUG]:    warning: [options] bootstrap class path not set in conjunction with -source 1.7
[DEBUG]:    1 warning
[DEBUG]:    running build_ext
[DEBUG]:    building  jnius  extension
[DEBUG]:    creating build
[DEBUG]:    creating build/temp.linux-x86_64-3.10
[DEBUG]:    creating build/temp.linux-x86_64-3.10/jnius
[DEBUG]:    /home/abr/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC -I/home/abr/Desktop/nahal/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Include -DANDROID -I/home/abr/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/home/abr/Desktop/nahal/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/rooyesh/arm64-v8a/include/python3.1 -fPIC -I/home/abr/Desktop/nahal/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/Include -I/home/abr/Desktop/nahal/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build -c jnius/jnius.c -o build/temp.linux-x86_64-3.10/jnius/jnius.o
[DEBUG]:    clang-14: error: no such file or directory:  jnius/jnius.c 
[DEBUG]:    clang-14: error: no input files
[DEBUG]:    error: command  /home/abr/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang  failed with exit code 1
Exception in thread background thread for pid 36642:
Traceback (most recent call last):
  File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.8/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "/home/abr/.local/lib/python3.8/site-packages/sh.py", line 1641, in wrap
    fn(*rgs, **kwargs)
  File "/home/abr/.local/lib/python3.8/site-packages/sh.py", line 2569, in background_thread
    handle_exit_code(exit_code)
  File "/home/abr/.local/lib/python3.8/site-packages/sh.py", line 2269, in fn
    return self.command.handle_command_exit_code(exit_code)
  File "/home/abr/.local/lib/python3.8/site-packages/sh.py", line 869, in handle_command_exit_code
    raise exc
sh.ErrorReturnCode_1: 

  RAN: /home/abr/Desktop/nahal/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/python3 setup.py build_ext -v

  STDOUT:
warning: [options] bootstrap class path not set in conjunction with -source 1.7
1 warning
running build_ext
building  jnius  extension
creating build
creating build/temp.linux-x86_64-3.10
creating build/temp.linux-x86_64-3.10/jnius
/home/abr/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC -I/home/abr/Desktop/nahal/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Include -DANDROID -I/home/abr/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/home/abr/Desktop/nahal/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/rooyesh/arm64-v8a/include/python3.1 -fPIC -I/home/abr/Desktop/nahal/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/Include -I/home/abr/Desktop/nahal/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build -c jnius/jnius.c -o build/temp.linux-x86_64-3.10/jnius/jnius.o
clang-14: error: no such file or directory:  jnius/jnius.c 
clang-14: error: no input files
error: command  /home/abr/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang  failed with exit code 1


  STDERR:

[INFO]:    pyjnius first build failed (as expected)
[INFO]:    Running cython where appropriate
[INFO]:    Cythonize jnius/jnius.pyx
[DEBUG]:   -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./jnius/jnius.pyx
[DEBUG]:    /home/abr/.local/lib/python3.8/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive  language_level  not set, using 2 for now (Py2). This will change in a later release! File: /home/abr/Desktop/nahal/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/pyjnius-sdl2/arm64-v8a__ndk_target_21/pyjnius/jnius/jnius.pyx
[DEBUG]:      tree = Parsing.p_module(s, pxd, full_module_name)
[DEBUG]:   -> running python3 setup.py build_ext -v
[DEBUG]:    warning: [options] bootstrap class path not set in conjunction with -source 1.7
[DEBUG]:    1 warning
[DEBUG]:    running build_ext
[DEBUG]:    building  jnius  extension
[DEBUG]:    /home/abr/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC -I/home/abr/Desktop/nahal/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Include -DANDROID -I/home/abr/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/home/abr/Desktop/nahal/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/rooyesh/arm64-v8a/include/python3.1 -fPIC -I/home/abr/Desktop/nahal/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/Include -I/home/abr/Desktop/nahal/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build -c jnius/jnius.c -o build/temp.linux-x86_64-3.10/jnius/jnius.o
[DEBUG]:    jnius/jnius.c:12406:19: warning: assigning to  jchar *  (aka  unsigned short * ) from  const jchar *  (aka  const unsigned short * ) discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
[DEBUG]:      __pyx_v_j_chars = (__pyx_v_j_env[0])->GetStringChars(__pyx_v_j_env, __pyx_v_j_string, NULL);
[DEBUG]:                      ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[DEBUG]:    jnius/jnius.c:54433:5: error: expression is not assignable
[DEBUG]:        ++Py_REFCNT(o);
[DEBUG]:        ^ ~~~~~~~~~~~~
[DEBUG]:    jnius/jnius.c:54435:5: error: expression is not assignable
[DEBUG]:        --Py_REFCNT(o);
[DEBUG]:        ^ ~~~~~~~~~~~~
[DEBUG]:    jnius/jnius.c:54549:5: error: expression is not assignable
[DEBUG]:        ++Py_REFCNT(o);
[DEBUG]:        ^ ~~~~~~~~~~~~
[DEBUG]:    jnius/jnius.c:54551:5: error: expression is not assignable
[DEBUG]:        --Py_REFCNT(o);
[DEBUG]:        ^ ~~~~~~~~~~~~
[DEBUG]:    jnius/jnius.c:54803:5: error: expression is not assignable
[DEBUG]:        ++Py_REFCNT(o);
[DEBUG]:        ^ ~~~~~~~~~~~~
[DEBUG]:    jnius/jnius.c:54805:5: error: expression is not assignable
[DEBUG]:        --Py_REFCNT(o);
[DEBUG]:        ^ ~~~~~~~~~~~~
[DEBUG]:    jnius/jnius.c:55697:5: error: expression is not assignable
[DEBUG]:        ++Py_REFCNT(o);
[DEBUG]:        ^ ~~~~~~~~~~~~
[DEBUG]:    jnius/jnius.c:55699:5: error: expression is not assignable
[DEBUG]:        --Py_REFCNT(o);
[DEBUG]:        ^ ~~~~~~~~~~~~
[DEBUG]:    jnius/jnius.c:56008:5: error: expression is not assignable
[DEBUG]:        ++Py_REFCNT(o);
[DEBUG]:        ^ ~~~~~~~~~~~~
[DEBUG]:    jnius/jnius.c:56010:5: error: expression is not assignable
[DEBUG]:        --Py_REFCNT(o);
[DEBUG]:        ^ ~~~~~~~~~~~~
[DEBUG]:    jnius/jnius.c:56258:5: error: expression is not assignable
[DEBUG]:        ++Py_REFCNT(o);
[DEBUG]:        ^ ~~~~~~~~~~~~
[DEBUG]:    jnius/jnius.c:56260:5: error: expression is not assignable
[DEBUG]:        --Py_REFCNT(o);
[DEBUG]:        ^ ~~~~~~~~~~~~
[DEBUG]:    jnius/jnius.c:59573:16: warning:  PyUnicode_FromUnicode  is deprecated [-Wdeprecated-declarations]
[DEBUG]:            return PyUnicode_FromUnicode(NULL, 0);
[DEBUG]:                   ^
[DEBUG]:    /home/abr/Desktop/nahal/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Include/cpython/unicodeobject.h:551:1: note:  PyUnicode_FromUnicode  has been explicitly marked deprecated here
[DEBUG]:    Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
[DEBUG]:    ^
[DEBUG]:    /home/abr/Desktop/nahal/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Include/pyport.h:513:54: note: expanded from macro  Py_DEPRECATED 
[DEBUG]:    #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
[DEBUG]:                                                         ^
[DEBUG]:    jnius/jnius.c:60809:16: warning:  PyUnicode_FromUnicode  is deprecated [-Wdeprecated-declarations]
[DEBUG]:            return PyUnicode_FromUnicode(NULL, 0);
[DEBUG]:                   ^
[DEBUG]:    /home/abr/Desktop/nahal/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Include/cpython/unicodeobject.h:551:1: note:  PyUnicode_FromUnicode  has been explicitly marked deprecated here
[DEBUG]:    Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
[DEBUG]:    ^
[DEBUG]:    /home/abr/Desktop/nahal/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Include/pyport.h:513:54: note: expanded from macro  Py_DEPRECATED 
[DEBUG]:    #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
[DEBUG]:                                                         ^
[DEBUG]:    3 warnings and 12 errors generated.
[DEBUG]:    error: command  /home/abr/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang  failed with exit code 1
Exception in thread background thread for pid 36670:
Traceback (most recent call last):
  File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.8/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "/home/abr/.local/lib/python3.8/site-packages/sh.py", line 1641, in wrap
    fn(*rgs, **kwargs)
  File "/home/abr/.local/lib/python3.8/site-packages/sh.py", line 2569, in background_thread
    handle_exit_code(exit_code)
  File "/home/abr/.local/lib/python3.8/site-packages/sh.py", line 2269, in fn
    return self.command.handle_command_exit_code(exit_code)
  File "/home/abr/.local/lib/python3.8/site-packages/sh.py", line 869, in handle_command_exit_code
    raise exc
sh.ErrorReturnCode_1: 

  RAN: /home/abr/Desktop/nahal/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/python3 setup.py build_ext -v

  STDOUT:
warning: [options] bootstrap class path not set in conjunction with -source 1.7
1 warning
running build_ext
building  jnius  extension
/home/abr/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC -I/home/abr/Desktop/nahal/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Include -DANDROID -I/home/abr/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/home/abr/Desktop/nahal/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/rooyesh/arm64-v8a/include/python3.1 -fPIC -I/home/abr/Desktop/nahal/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/Include -I/home/abr/Desktop/nahal/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build -c jnius/jnius.c -o build/temp.linux-x86_64-3.10/jnius/jnius.o
jnius/jnius.c:12406:19: warning: assigning to  jchar *  (aka  unsigned short * ) from  const jchar *  (aka  const unsigned short * ) discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
  __pyx_v_j_chars = (__pyx_v_j_env[0])->GetStringChars(__pyx_v_j_env, __pyx_v_j_string, NULL);
                  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jnius/jnius.c:54433:5: error: expression is not assignable
    ++Py_REFCNT(o);
    ^ ~~~~~~~~~~~~
jnius/jnius.c:54435:5: error: expression is not assignable
    --Py_REFCNT(o);
    ^ ~~~~~~~~~~~~
jnius/jnius.c:54549:5: error: expression is not assignable
    ++Py_REFCNT(o);
    ^ ~~~~~~~~~~~~
jnius/jnius.c:54551:5: error: expression is not assignable
    --Py_REFCNT(o);
    ^ ~~~~~~~~~~~~
jnius/jnius.c:54803:5: error: expression is not assignable
    ++Py_REFCNT(o);
    ^ ~~~~~~~~~~~~
jnius/jnius.c:54805:5: error: expression is not assignable
    --Py_REFCNT(o);
    ^ ~~~~~~~~~~~~
jnius/jnius.c:55697:5: error: expression is not assignable
    ++Py_REFCNT(o);
    ^ ~~~~~~~~~~~~
jnius/jnius.c:55699:5: error: expression is not assignable
    --Py_REFCNT(o);
    ^ ~~~~~~~~~~~~
jnius/jnius.c:56008:5: error: expression is not assignable
    ++Py_REFCNT(o);
    ^ ~~~~~~~~~~~~
jnius/jnius.c:56010:5: error: expression is not assignable
    --Py_REFCNT(o);
    ^ ~~~~~~~~~~~~
jnius/jnius.c:56258:5: error: expression is not assignable
    ++Py_REFCNT(o);
    ^ ~~~~~~~~~~~~
jnius/jnius.c:56260:5: error: expression is not assignable
    --Py_REFCNT(o);
    ^ ~~~~~~~~~~~~
jnius/jnius.c:59573:16: warning:  PyUnicode_FromUnicode  is deprecated [-Wdeprecated-declarations]
        return PyUnicode_FromUnicode(NULL, 0);
               ^
/home/abr/Desktop/nahal/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Include/cpython/unicodeobject.h:551:1: note:  PyUnicode_FromUnicode  has been explicitly marked deprecated here
Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
^
/home/abr/Desktop/nahal/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Include/pyport.h:513:54: note: expanded from macro  Py_DEPRECATED 
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                     ^
jnius/jnius.c:60809:16: warning:  PyUnicode_FromUnicode  is deprecated [-Wdeprecated-declarations]
        return PyUnicode_FromUnicode(NULL, 0);
               ^
/home/abr/Desktop/nahal/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Include/cpython/unicodeobject.h:551:1: note:  PyUnicode_FromUnicode  has been explicitly marked deprecated here
Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
^
/home/abr/Desktop/nahal/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Include/pyport.h:513:54: note: expanded from macro  Py_DEPRECATED 
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                     ^
3 warnings and 12 errors generated.
error: command  /home/abr/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang  failed with exit code 1


  STDERR:

[INFO]:    STDOUT (last 20 lines of 64):
    jnius/jnius.c:59573:16: warning:  PyUnicode_FromUnicode  is deprecated [-Wdeprecated-declarations]  
        return PyUnicode_FromUnicode(NULL, 0);  
               ^    
/home/abr/Desktop/nahal/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Include/cpython/unicodeobject.h:551:1: note:  PyUnicode_FromUnicode  has been explicitly marked deprecated here 
Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( 
^   
/home/abr/Desktop/nahal/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Include/pyport.h:513:54: note: expanded from macro  Py_DEPRECATED   
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))   
                                                     ^  
jnius/jnius.c:60809:16: warning:  PyUnicode_FromUnicode  is deprecated [-Wdeprecated-declarations]  
        return PyUnicode_FromUnicode(NULL, 0);  
               ^    
/home/abr/Desktop/nahal/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Include/cpython/unicodeobject.h:551:1: note:  PyUnicode_FromUnicode  has been explicitly marked deprecated here 
Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( 
^   
/home/abr/Desktop/nahal/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Include/pyport.h:513:54: note: expanded from macro  Py_DEPRECATED   
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))   
                                                     ^  
3 warnings and 12 errors generated. 
error: command  /home/abr/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang  failed with exit code 1

I searched a lot but I couldn t find the answer.
Thank you for your helping...

问题回答

根据你的建筑群的要求部分。 具体文件,确保你具备你所相信的一切要求。 如果你把你的建设推土机上台,帮助你的工作将更加容易。 spec file. 此外,它还推土机――v 和roid debug 而不是“biuldozer -v 和roid debug”。 你犯了错,也会造成错误。 如果不研究零件,就很难指导你正确方向。 spec file.





相关问题
Can Django models use MySQL functions?

Is there a way to force Django models to pass a field to a MySQL function every time the model data is read or loaded? To clarify what I mean in SQL, I want the Django model to produce something like ...

An enterprise scheduler for python (like quartz)

I am looking for an enterprise tasks scheduler for python, like quartz is for Java. Requirements: Persistent: if the process restarts or the machine restarts, then all the jobs must stay there and ...

How to remove unique, then duplicate dictionaries in a list?

Given the following list that contains some duplicate and some unique dictionaries, what is the best method to remove unique dictionaries first, then reduce the duplicate dictionaries to single ...

What is suggested seed value to use with random.seed()?

Simple enough question: I m using python random module to generate random integers. I want to know what is the suggested value to use with the random.seed() function? Currently I am letting this ...

How can I make the PyDev editor selectively ignore errors?

I m using PyDev under Eclipse to write some Jython code. I ve got numerous instances where I need to do something like this: import com.work.project.component.client.Interface.ISubInterface as ...

How do I profile `paster serve` s startup time?

Python s paster serve app.ini is taking longer than I would like to be ready for the first request. I know how to profile requests with middleware, but how do I profile the initialization time? I ...

Pragmatically adding give-aways/freebies to an online store

Our business currently has an online store and recently we ve been offering free specials to our customers. Right now, we simply display the special and give the buyer a notice stating we will add the ...

Converting Dictionary to List? [duplicate]

I m trying to convert a Python dictionary into a Python list, in order to perform some calculations. #My dictionary dict = {} dict[ Capital ]="London" dict[ Food ]="Fish&Chips" dict[ 2012 ]="...

热门标签