Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Help with displaying output of a python program?
Post: RE: Help with displaying output of a python progra...
Can you post your output. and also what output you are expecting? I kinda don't understand your question. |
|
tannishpage |
Homework |
2 |
2,647 |
May-11-2018, 02:53 AM |
|
|
Thread: Creating a variable that displays time
Post: RE: Creating a variable that displays time
(Mar-28-2018, 02:20 AM)groovydingo Wrote: Thank you very much! I was aware that this is not the umm... recommended way of programming... But this was the way I was taught... I started python about a... |
|
tannishpage |
Homework |
3 |
2,894 |
Apr-17-2018, 04:46 AM |
|
|
Thread: School python program task help
Post: RE: School python program task help
(Apr-03-2018, 12:06 PM)TommyLee Wrote: Thank you very much . This has been big help and she can have nice insight into code work thank to hashtags. Tommy
You are welcome. :) |
|
tannishpage |
Homework |
3 |
3,996 |
Apr-17-2018, 04:44 AM |
|
|
Thread: Creating a variable that displays time
Post: RE: Creating a variable that displays time
Ok first of all restructure your code. How? Well you have functions inside a function, which is not a good idea because a function is meant for one process. So my suggestion is to make the code like t... |
|
tannishpage |
Homework |
3 |
2,894 |
Mar-28-2018, 01:24 AM |
|
|
Thread: School python program task help
Post: RE: School python program task help
Do you still need help with this?
either way this is the solution I got based on the information given to me
total_n = int(input('Enter number of apples: ')) #Number of apples
n = total_n
t_mass = 0 ... |
|
tannishpage |
Homework |
3 |
3,996 |
Mar-28-2018, 01:03 AM |
|
|
Thread: I need some feedback on this program
Post: RE: I need some feedback on this program
Thanks for the feedback micseydel. I'll fix that up. What i meant when i said i hit a brick wall, was that I don't know what else I can add, like features. Anyway thanks for the feedback. Larz60+ I wa... |
|
tannishpage |
Code sharing |
3 |
3,086 |
Mar-22-2018, 05:31 AM |
|
|
Thread: Hi all any help with this python code please
Post: RE: Hi all any help with this python code please
(Mar-22-2018, 12:13 AM)BooohWhooo2018 Wrote: Hi thank you for your help it is Vmuch appreciated no they are fetched from a server which is yet to be coded but should not be too hard this basically c... |
|
tannishpage |
General Coding Help |
3 |
2,562 |
Mar-22-2018, 05:27 AM |
|
|
Thread: Hi all any help with this python code please
Post: RE: Hi all any help with this python code please
I'd like to help. But I don't understand what you want. So do you want the program to return false if an incorrect address is entered and true if a correct address is entered?
In that case, this woul... |
|
tannishpage |
General Coding Help |
3 |
2,562 |
Mar-21-2018, 10:27 PM |
|
|
Thread: I need some feedback on this program
Post: I need some feedback on this program
So about a year ago, I started development on an FTP client. It started out as a simple thing, but I've been developing on it for 1 year on and off and have hit a brick wall now at version 2.6. I'd li... |
|
tannishpage |
Code sharing |
3 |
3,086 |
Mar-21-2018, 09:36 PM |
|
|
Thread: GUI for youtube-dl (PyQt5)
Post: RE: GUI for youtube-dl (PyQt5)
(Mar-21-2018, 09:01 PM)Axel_Erfurt Wrote: (Mar-21-2018, 09:35 AM)tannishpage Wrote: Does it work on Linux and windows?
Linux - yes (I have Mint 18.3 64bit)
Windows - don't know (my last Windows Ve... |
|
tannishpage |
Code sharing |
4 |
6,941 |
Mar-21-2018, 09:29 PM |
|
|
Thread: First program feedback
Post: RE: First program feedback
Ok. Its been some time since you've posted this but still here is your feedback.
Here is the output I got for entering a wrong password (is it meant to do that?)
Please enter password
hello
Incorrect ... |
|
tannishpage |
Code sharing |
2 |
3,394 |
Mar-21-2018, 09:59 AM |
|
|
Thread: GUI for youtube-dl (PyQt5)
Post: RE: GUI for youtube-dl (PyQt5)
Does it work on Linux and windows? |
|
tannishpage |
Code sharing |
4 |
6,941 |
Mar-21-2018, 09:35 AM |
|
|
Thread: Search for string values in
Post: RE: Search for string values in
You are welcome. **smile** |
|
tannishpage |
General Coding Help |
7 |
4,257 |
Mar-21-2018, 02:36 AM |
|
|
Thread: Search for string values in
Post: RE: Search for multiple string values in array
Why is there a print statement inside a list?
arr2 = [x for x in arr if (re.search('MINS', str(x), flags=0)) or (re.search('NM', str(x), flags=0)) or re.search('min', str(x), flags=0) else x = "No val... |
|
tannishpage |
General Coding Help |
7 |
4,257 |
Mar-21-2018, 01:20 AM |
|
|
Thread: How to convert Text file contents into a dictionary.
Post: RE: How to convert Text file contents into a dicti...
(Apr-28-2017, 06:09 AM)wavic Wrote: Open the file and read it row by row. For each line do:
dict(zip(*iter(line.split(':'))))This will return a dictionary.
what does the zip do here? and why is it ... |
|
tannishpage |
General Coding Help |
12 |
51,368 |
Apr-28-2017, 06:38 AM |
|
|
Thread: How to convert Text file contents into a dictionary.
Post: RE: How to convert Text file contents into a dicti...
Ok well I have a good understanding of python. I am working on a project that sorts files and I need a place to store the extention:folderToPutIn
And working from text files is kind of time taking so ... |
|
tannishpage |
General Coding Help |
12 |
51,368 |
Apr-28-2017, 05:47 AM |
|
|
Thread: How to convert Text file contents into a dictionary.
Post: How to convert Text file contents into a dictionar...
I have a text file with contents like this:
A:B
C:D
and so on(Its just an example).
I want to put that into a dictionary. Is it possible? If so how do I do it.
|
|
tannishpage |
General Coding Help |
12 |
51,368 |
Apr-28-2017, 03:56 AM |
|
|
Thread: I am trying to copy files into a bunch of folders.
Post: RE: I am trying to copy files into a bunch of fold...
I made a very minor error.
FileTypeList was actually coming from a file. Because it had \n at the end of the string the if statement returned false.
Now i did:
if FileType.rstrip() in item:
BlahT... |
|
tannishpage |
General Coding Help |
4 |
3,969 |
Apr-22-2017, 09:36 PM |
|
|
Thread: I am trying to copy files into a bunch of folders.
Post: I am trying to copy files into a bunch of folders.
I have 2 types of file types in a folder .docx/.doc and .pptx/.ppt, I have written a python script to cut and paste them into 2 folders one documents and the other powerpoints.
import os
FileTypeList... |
|
tannishpage |
General Coding Help |
4 |
3,969 |
Apr-22-2017, 03:19 AM |
|
|
Thread: How to "copy" a file in python?
Post: RE: How to "copy" a file in python?
Ok. Thanks. Your solution worked, and i understand it. |
|
tannishpage |
General Coding Help |
4 |
8,869 |
Mar-29-2017, 10:24 AM |