General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
IgorTheLight
Tech With Tim
comments
Comments by "IgorTheLight" (@igorthelight) on "Tech With Tim" channel.
Previous
1
Next
...
All
Printing money -> inflation
11
How to make Java fast - use JIT compiler with "Server" preset How to make Python fast - use JIT compiler (PyPy) or compile your libraries to C and import them in your project (CPython). Second is more difficult and clashes with Python idea to be elegant and simple.
9
@leondreamcast True. But not written in Python.
4
There is none - there are languages that are better for different tasks. What do you want to make?
4
Yep! Python was created for that task! Not joking!
3
Find some courses on YouTube and do your own projects. Most IT Universities are shit (to be honest).
3
26:55 - for those who can't understand what this line does: cleaned_context = "/n".join(line.strip() for line in cleaned_context.splitlines() if line.strip()) Let me refactor it for ease of read (it will perform slower!): # Split the text into separate lines lines = cleaned_context.splitlines() # Create a list to hold the cleaned lines cleaned_lines = [] # Loop through each line for line in lines: # Remove extra spaces from the beginning and end of the line stripped_line = line.strip() # Only add the line if it's not empty if stripped_line: cleaned_lines.append(stripped_line) # Join the cleaned lines back together with newline characters cleaned_context = "\n".join(cleaned_lines)
2
True. But sometimes you need to use Python script and you have no time to port it to C# (for example).
1
28:50 For those who don't fully understand how that function works - there is a beginner friendly version (it will work slower): def split_dom_content(dom_content, max_length=6000): # Create an empty list to store the split parts split_content = [] # Loop through the dom_content in chunks of max_length for i in range(0, len(dom_content), max_length): # Append each chunk of max_length to the split_content list split_content.append(dom_content[i:i + max_length]) # Return the list of split content return split_content
1
@grey9847 WinDef is delusional :-)
1
That may do the job: https://youtu.be/rfscVS0vtbw
1
He showed two steps: * First step makes an EXE file of a script * Second step makes an installer Ignore second step and you are good to go :-)
1
12:50 - small remark: there is no such thing as "zip folder" ;-) It shows it's content as a folder but it is not a folder in the slightest! xD It's a compressed file. A Zip (DEFLATE) compressed file to be more specific.
1
Previous
1
Next
...
All