« first day (744 days earlier)      last day (1444 days later) » 

12:47 AM
0
Q: Take my python over to web development or expand my language arsenal by learning C# or something like go?

Brian GunselI currently know Python (most used) and JavaScript. I've been thinking about whether to go over towards web development or not. If I were to go to web development, I would most likely learn Flask or Django, preferably Flask. Other options include, .NET, Scala, etc. If I didn't go to web develop...

 
 
3 hours later…
4:17 AM
0
Q: Interactive command line YouTube downloader with option to burn subtitles into video

SpencerThis is only used on Mac machines. I know that there is a Python implementation of youtube-dl and several for ffmpeg, however I chose to use subprocess so that I can see the real-time stdout/stderr of them while videos are downloading/encoding. The goal Using youtube-dl and ffmpeg Easy to use...

 
4:37 AM
0
Q: A simple log that tracks hours worked and and a python script that calculates wages

Palermo PenanoI wrote a simple python script that will calculate income for a given month and hourly wage by parsing the contents of a log file. The instructions for how to use it is in my GitHub account here: https://github.com/palpen/wage_calculator It's very simple and I was wondering if there was a way t...

 
 
4 hours later…
user5846743
8:34 AM
 
user5846743
1 message moved from [[iOS][Android][ChaosOverFlow]](chat.stackoverflow.com/rooms/26424/iosandroidchaosoverflow)
 
11:32 AM
0
Q: Read multiple input files and write to multiple output files Python

N S LinaI am able to read all xml files in a directory but I have trouble in outputting the result into each txt files. Eg, I want to output 1.xml to 1.txt. How can I do so? I am new to python and text processing. import os, glob, re from xml.dom import minidom #path = ('C:/nltk_data/tutorial/*.xml') #...

 
 
2 hours later…
1:22 PM
0
Q: Optimize performance of flatten function in python

IgleI have to flatten a large number (>300k) dicts to write them to a csv file. Example: dict = { a: b, c: [ { d:e }, { f:g } ] } becomes: a, c.0.d, c.1.f b, e, g The dicts can be really big with a lot of dicts as values. My func...

 
1:49 PM
0
Q: Python algorithm for identification of low-level jets 2 (meteorology)

Peter9192I'm looking for suggestions to improve my algorithm for the identification of low-level jets in wind data. I have wind measurements at several heights, and I want to identify jets according to the following description: the lowest maximum of the wind speed profile in the lowest 500 m of the a...

 
 
5 hours later…
7:05 PM
0
Q: Find csv item index

StevoI'm quite new to Python and I have been trying to find a way to search a csv for a test string and return the index of that item in the csv. I am using the code below but find it hard to believe that there is not a function built in to the csv module to do this. I want to perform the 'lookup' s...

 
8:04 PM
0
Q: Converting custom format to XML Template without using any XML module

AlexI've just finished writing a simple python 3 program which converts a custom input file to XML. It works as it is, but I think that I somehow messed up the code as I had to open several files, append to them, close them, loop through files and so on. I thought of splitting my code into methods,...

 

« first day (744 days earlier)      last day (1444 days later) »