Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 How to transfer a music file, from "Telechargements" into my project
my question here: Hi all! In my project, every time I load a music or an image it drops in my directory "Telechargements". But I should like it drops in my project. What shall I do ? Thanks
(Sep-02-2017, 01:15 PM)sylas Wrote: What shall I do ?

Thou shalt post thy code that thee has so far.
micseydel likes this post
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
Not correct image.
snippsat wrote Sep-02-2017, 05:32 PM:
No base64 image as text
That's not code!
The picture is not complete.
Please post code as text and not encoded in base64 as picture where more of the half data is missing because the message is too long.
My code examples are always for Python >=3.6.0
Almost dead, but too lazy to die:
All humans together. We don't need politicians!
I am on a project(game) with about 40 files. As I load a music, I save in the "uploads", but there, it is of no use for me. I must do something to transfer it in my project. Can you help me ? The screenshot was tried in order to show you my project. Within C++ , I knew how to . With our python forum I don't. Thanks for your reply.
Quote:save in the "uploads",
Since you have some sort of save routine, does it allow you to save to a file on your local computer?
If so, save it as a binary file. You can then read it into your program with something like:
with open('My_file_name_here', 'rb'), as f:
    my_picture =

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Splitting the audio file into smaller packets before transfer using UDP protocol in p MuhammadAli152 0 73 May-15-2020, 03:01 PM
Last Post: MuhammadAli152
  How to stop Xmodem after bin file transfer was finished shaya2103 0 224 Nov-27-2019, 04:33 PM
Last Post: shaya2103
  How to build exe/deployable file from Python Project ShikhaJain 1 364 Jul-04-2019, 05:37 PM
Last Post: snippsat
  Even if my file is "",cannot run my project sylas 13 4,996 Mar-05-2018, 09:15 AM
Last Post: sylas
  Compile python project to single portable .exe file Campbell 5 4,952 Dec-05-2017, 01:20 PM
Last Post: buran
  Python script that transfer it self iboman5 6 1,624 Nov-13-2017, 05:27 PM
Last Post: AceScottie
  Python script that transfer it self iboman5 2 1,298 Nov-10-2017, 06:56 PM
Last Post: iboman5
  How to transfer a music file, from "uploads" directory into my project sylas 15 3,517 Sep-10-2017, 09:16 PM
Last Post: sylas
  Since PyCharm knows which file is "main", how can I tell it "run this project" sylas 7 3,266 Sep-03-2017, 11:48 AM
Last Post: Larz60+

Forum Jump:

Users browsing this thread: 1 Guest(s)