38 questions from the last 30 days
1
vote
5
answers
148
views
How we can find & coping .mp3 files recursively in linux into a single folder
Basically I am writing this to transfer all .mp3 files to my mobile through Bluetooth option. If I am directly coping it to SD Card, it is not working. My button phone not recognizing the MP3 files ...
0
votes
1
answer
97
views
Most efficient way to handle I/O for large files [closed]
I am developing a secure P2P file transfer tool in C which is intended to be used for sending arbitrary-size files from between two machines running the program.
I have been trying to figure out what ...
2
votes
2
answers
79
views
Create a new file, moving an existing file out of the way if needed
What is the best way to create a new file in Python, moving if needed an existing file with the same name to a different path?
While you could do
if os.path.exists(name_of_file):
os.move(...
-3
votes
1
answer
80
views
Deserialize Json file in C# [closed]
I have the following Json file:
{
"@odata.context": "https://mmtruevalves.cc",
"value": [
{
"Date": "2019-08-01T00:00:00-07:00&...
1
vote
0
answers
88
views
Sending a 9MB JSON file takes 3 seconds
I have to provide data from a MySQL database, so I'm extracting that data with a traditional PHP/MySQL prepared statement, turning it into JSON with json_encode and echoing it.
This takes almost three ...
0
votes
0
answers
78
views
How can I use a file .txt to store some passwords for many programs in python?
I have a file called password.txt and I want to store some passwords in it, I use it in a file of functions but I don't know how to make it usable for more than one file, every one having his specific ...
-2
votes
0
answers
82
views
Why can't I type/create my code in IntelliJ after I already made my project? [closed]
I was trying to make a new program in java from IntelliJ. As I made it, everything was going smoothly until after I created the file. I was not able to edit any code. There was no place where I could ...
0
votes
0
answers
89
views
Unexpected modification time of created file
I'm writing a unit test of a component that creates a file, specifically the case where it doesn't set the file's modification time (mtime). I.e., I'm verifying that mtime is within the time range ...
-9
votes
0
answers
76
views
Is it possible to process 2TB file size? [closed]
Is it possible to process 2TB file size using Python and Jupyter Notebook?
The file contains about 730 million rows. I am going to filter some columns by specific client_id.
I'm wondering how much ...
0
votes
0
answers
68
views
Changing tkinter elements from other files in python
I am trying to change tkinter elements from other python processes (in seperate files).
Is it possible to do so without restarting the start.py GUI window from end.py due to the import start in my ...
0
votes
2
answers
65
views
The canvas' background color isn't changed
I have 2 seperate files and trying to make a sort of 'module' with this one file. But it does not work.
The background color is still this weird gray color even if I set it to say, black.
Here is the '...
-1
votes
1
answer
66
views
How to copy/use a local jar file to a kubernetes pod directory (minikube on mac)
I'm trying to have a kubernetes deployment to work, on a mac with minikube, and using a jar file located in a local host directory:
apiVersion: apps/v1
kind: Deployment
metadata:
name: master
spec:
...
1
vote
2
answers
47
views
Making file hidden in Windows using Python blocks file writing
I am trying to make a hidden file in Windows using Python, but after I make it hidden it becomes impossible to write. However, reading this file is possible.
import ctypes
with open("test.txt&...
2
votes
1
answer
48
views
Can't open p12 file inside my iOS application
I need to open p12 file from other iOS applications to import private key to my application. My app is set up to be able to open any file with following plist
<?xml version="1.0" encoding=...
1
vote
1
answer
38
views
Opening files of the same extension in different programs based on filesize [closed]
I work with a lot of .csvs for work and they're mostly either under 100 rows or over 1,000,000 rows for various reasons.
Based on the filesize I usually just 'right click > open with > Delimit' ...