Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Downloading CSV from a website
Post: RE: Downloading CSV from a website

(Nov-26-2020, 04:09 AM)bmiller12 Wrote: Hello all, I ran into a few issues when dealing with Python and CSV files. 1. How do I automatically login to a website? 2. How do I automatically export ...
sridhar Data Science 4 541 Dec-07-2020, 04:22 PM
    Thread: Getting started in Machine Learning
Post: RE: Getting started in Machine Learning

(Oct-25-2020, 06:40 AM)Harshil Wrote: Hey! I wanted to get started in machine learning and deep learning. but i don't know how to get into it? Please Guide me!! **confused** You have a quite lot of...
sridhar Data Science 5 646 Dec-07-2020, 04:06 PM
    Thread: Import CSV data into array and turn into integers
Post: RE: Import CSV data into array and turn into integ...

In Python you have an option called list for the concept of array. I couldn't able to get what your expected output will look like. This might work ! import csv data =[] with open('FinalData.csv') ...
sridhar General Coding Help 5 782 Jul-16-2020, 04:05 AM
    Thread: Property price calculation
Post: RE: Property price calculation

>>> price = euro + str(8.99) + squaremeters '€8.99m2' >>> totalm2 = length * width 150 >>> total_m2 = str(totalm2) + squaremeters '150m2' >>>print = (total_m2 * pri...
sridhar General Coding Help 4 734 Jul-15-2020, 04:27 PM
    Thread: Recursive Function
Post: RE: Recursive Function

@DPaul I editted my code. Thanks.
sridhar General Coding Help 7 705 Jul-14-2020, 04:07 PM
    Thread: Recursive Function
Post: Recursive Function

Hi all , This is going to be crazy but I need to know how to do it. Please help me out folks. The code which I'm using is not in a proper optimized way. Can anyone help me out in writing optimised co...
sridhar General Coding Help 7 705 Jul-14-2020, 03:40 PM
    Thread: Natural Language Generation
Post: Natural Language Generation

Hi all, I'm not getting any resources for NLG. It helps if anyone provide me a resource where I can explore and play around in NLG. Thanks in Advance!
sridhar Data Science 2 490 Jul-12-2020, 04:13 PM
    Thread: Collect lines in a file
Post: RE: Collect lines in a file

Thanks! @mlieqo That really helps but I could not able to capture last item upon using your method. Thanks! @j.crater. I didn't noticed.
sridhar General Coding Help 3 540 Jul-12-2020, 04:06 PM
    Thread: Summing a list of numbers
Post: RE: Summing a list of numbers

You must declare x previously so that you can run without not defined error. Or you can try this simple sum function xs = [12, 14, 10] x = sum(xs) print(x)
sridhar General Coding Help 6 698 Jul-12-2020, 02:30 PM
    Thread: Collect lines in a file
Post: Collect lines in a file

Hi all, If a line doesn't start with a timestamp , i need to add it with previous line through list. this is the content of my file 9/16/16, 01:38 - User1: Hi , How you doing 9/16/16, 01:39 - User2: ...
sridhar General Coding Help 3 540 Jul-12-2020, 02:23 PM
    Thread: Read content of GitHub file
Post: RE: Read content of GitHub file

It worked for my personal GitHub , Thanks @buran But when i tried for Organizational Github ,I couldn't able to get repo and file content. from github import Github g = Github(base_url="organization...
sridhar General Coding Help 5 1,203 Apr-29-2020, 11:49 PM
    Thread: GutHub Connection Error
Post: GutHub Connection Error

When i tried to list my Repo in Organization Github , I'm getting authentication error. from github import Github g = Github("<Access Token>") repo = g.get_user().get_repo("sample") a = repo.g...
sridhar General Coding Help 0 439 Apr-23-2020, 03:08 PM
    Thread: Clone GitHub to Local
Post: Clone GitHub to Local

How do I clone entire Repository of GitHub in my local machine in python way ?
sridhar General Coding Help 2 506 Apr-21-2020, 04:18 PM
    Thread: Read content of GitHub file
Post: RE: Read content of GitHub file

It works . Thanks a lot @buran
sridhar General Coding Help 5 1,203 Apr-21-2020, 04:16 PM
    Thread: Read content of GitHub file
Post: RE: Read content of GitHub file

Thanks @buran But I'm getting encoded output. Actually I need original content. Is there any possible way to decode it and get original content ? I can interact directly with GitHub API but i need t...
sridhar General Coding Help 5 1,203 Apr-21-2020, 07:00 AM
    Thread: Read content of GitHub file
Post: Read content of GitHub file

Let say , I have repository called "Sample" in my GitHub and inside my repository i have a file named "demo.txt" or any format file. How do I read the content of file which is in GitHub ? Can i able ...
sridhar General Coding Help 5 1,203 Apr-20-2020, 04:51 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020