Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 18,719
» Latest member: Batucada
» Forum threads: 37,435
» Forum posts: 170,093

Full Statistics

Online Users
There are currently 367 online users.
» 2 Member(s) | 360 Guest(s)
Google, Facebook, Baidu, Bing, AOL, deanhystad, snippsat

Latest Threads
How to generate double ar...
Forum: Homework
Last Post: deanhystad
Less than 1 minute ago
» Replies: 1
» Views: 44
How can you prevent Qt fr...
Forum: GUI
Last Post: deanhystad
43 minutes ago
» Replies: 2
» Views: 57
Calculating Average with ...
Forum: General Coding Help
Last Post: snippsat
4 hours ago
» Replies: 5
» Views: 298
How to make a double loop...
Forum: Data Science
Last Post: Safinazsalem
10 hours ago
» Replies: 0
» Views: 64
Keep getting "SyntaxError...
Forum: General Coding Help
Last Post: Larz60+
Today, 07:39 AM
» Replies: 1
» Views: 115
converting an int to byte...
Forum: News and Discussions
Last Post: oilumiun12
Today, 05:20 AM
» Replies: 4
» Views: 1,187
DF.groupby(col).min works...
Forum: General Coding Help
Last Post: roryelila68
Today, 03:25 AM
» Replies: 4
» Views: 574
Multi-Threaded Camera Fee...
Forum: General Coding Help
Last Post: Khajababa69
Yesterday, 09:44 PM
» Replies: 0
» Views: 117
[HELP] The Application of...
Forum: Data Science
Last Post: MistyhV1
Yesterday, 02:22 PM
» Replies: 0
» Views: 82
Visualizing musician char...
Forum: Data Science
Last Post: Pedroski55
Yesterday, 05:50 AM
» Replies: 3
» Views: 222

 
  y-axis on seaborn heatmap not aligned properly
Posted by: amjass12 - Oct-01-2019, 10:37 AM - Forum: General Coding Help - No Replies

Hi all,

I am having an issue with a heatmap on seaborn when using pycharm (not sure if this is the right forum so apologies if this is the case)
..... More


Attached Files

Thumbnail(s)
   
Print this item

  a generator that computes squares of first 20 natural numbers
Posted by: mdshamim06 - Oct-01-2019, 10:26 AM - Forum: Homework - Replies (1)

Problem Statement:

Define two functions f1 and f2 such that,
f1 returns a list of squares of first 20 natural numbers using list comprehension.
f..... More

Print this item

  .py to no setup output
Posted by: Shaswat - Oct-01-2019, 08:58 AM - Forum: General Coding Help - Replies (1)

Hi,

I have been using python to automated few things from last couple of months. Personally, I prefer py2exe to convert my .py file to executable. ..... More

Print this item

  Looking for solution in Python
Posted by: ankitasharma111 - Oct-01-2019, 08:04 AM - Forum: General Coding Help - Replies (1)

Looking for solution in Python

Dataset 1:

Variable Source
Apple Fruit
Cherry Fruit
Banana Fruit
Peas Vegetable
Mango Fru..... More

Print this item

  Regression Event
Posted by: navigates - Oct-01-2019, 07:57 AM - Forum: Data Science - Replies (1)

I have a requriement

I have to perform a regression on a data set that has the following data
Age of Person at time of data collection
Date
chol..... More

Print this item

  Segmentation fault with large files
Posted by: kusal1 - Oct-01-2019, 06:44 AM - Forum: General Coding Help - Replies (3)

Hi,

Here I'm trying to remove double quotation character from all text files. I'm getting an error "Segmentation fault" while I reading more than 8gb..... More

Print this item

  text box field
Posted by: vishnu - Oct-01-2019, 06:20 AM - Forum: General Coding Help - Replies (4)

Hi, how to check whether the field is Textbox using python in selenium web driver.

Print this item

  Yahtzee
Posted by: sdickey9480 - Oct-01-2019, 03:41 AM - Forum: Homework - Replies (1)

The following program is a simplified version of Yahtzee, using only 3 die, and keeps a running total of your score vs the computer. Can anybody tell ..... More

Print this item

  Scraping a CRM
Posted by: OscarBoots - Oct-01-2019, 03:29 AM - Forum: Web Scraping & Web Development - Replies (5)

Hi Forum,

I'm trying to scrape some data regularly from the company CRM (Customer Relationship Management) tool that contains all the data entered ..... More

Print this item

  Unsolicited GitHub
Posted by: ichabod801 - Oct-01-2019, 01:26 AM - Forum: News and Discussions - Replies (7)

I have some GitHub repositories, and as some of you probably noticed, I've put a lot of work into the t_games one. So I got a pull request from someon..... More

Print this item

  translate \ to / ?
Posted by: Skaperen - Oct-01-2019, 12:25 AM - Forum: General Coding Help - Replies (4)

i see many examples where / filename separators are used for Windows. but a user of my script on Windows might type in \ as the file separator. shou..... More

Print this item

  Python code suddenly not working anymore
Posted by: mike_b - Oct-01-2019, 12:17 AM - Forum: General Coding Help - Replies (5)

I have a not too complicated python code that I have used pretty much every day until last week. It just reads an Excel file and lets me pick items an..... More

Print this item

  how to set character buffering?
Posted by: Skaperen - Oct-01-2019, 12:08 AM - Forum: General Coding Help - Replies (2)

how can i set character buffering on stdout so that print('foo',end='') immediately outputs "foo" without a newline?

Print this item

  Function question
Posted by: JimBob9432 - Sep-30-2019, 11:20 PM - Forum: Homework - Replies (2)

So, for my homework assignment, I am required to write a function called "check_answer" which will determine if a given addition or subtraction proble..... More

Print this item

  Need help with an assignment, not an answer.
Posted by: celtickodiak - Sep-30-2019, 10:59 PM - Forum: Homework - Replies (4)

So I was given code to essentially begin the assignment, but for some reason I cannot for the life of me figure out where to go with it. I tried to do..... More

Print this item

  Reading Multiple Sheets using Pandas
Posted by: dhiliptcs - Sep-30-2019, 09:54 PM - Forum: Data Science - Replies (1)

HI-

I am trying to read multiple sheets using Pandas, by parameterizing those Sheet names and column names
While reading the parameter, it is conside..... More

Print this item

  Sinus Approx
Posted by: Mebujo - Sep-30-2019, 09:36 PM - Forum: Homework - Replies (5)

Hi everyone,
im tryna write a program that prints an Approx of a sinus(x) using this:
sinus(x)=x-((x**3)/3!)+((x**5)/5!)-((x**7)/7!)+...

so in my..... More

Print this item

  String add prefix & suffix
Posted by: nahom - Sep-30-2019, 09:11 PM - Forum: General Coding Help - Replies (3)

How can I do this in Python ? newbie here

1,2,3 to tmp[1],tmp[2],tmp[3]
it can be 1 to tmp[1]

1,2 to tmp[1],tmp[2]
basically input can be 1 or..... More

Print this item

  Creating a list from a comprehension using a list
Posted by: rm197 - Sep-30-2019, 06:23 PM - Forum: General Coding Help - Replies (6)

[python]
keyIDs = list(jsonData.keys()) #list of IDs
listOfValsFromKeys = students[keyIDs[i] for i in range(len(keyIDs))] #list of names
[/pyt..... More

Print this item

  Need help with a function that calls other functions.
Posted by: skurrtboi - Sep-30-2019, 06:06 PM - Forum: General Coding Help - Replies (4)

Im pretty new at programming, but atm im trying to make a function that takes two user inputs and use the input on previously made functions.
I only ..... More

Print this item

  [Scrapy] web scrape help
Posted by: joe_momma - Sep-30-2019, 05:18 PM - Forum: Web Scraping & Web Development - Replies (2)

Hello,
downloaded scrapy and went through the tutorials and still trying to understand the selector
aspect of scraping. So I thought scrape a differ..... More

Print this item

  Something is wrong with my logic in this program
Posted by: newbieAuggie2019 - Sep-30-2019, 04:28 PM - Forum: General Coding Help - Replies (4)

Hi!

First, I made a small program to draw a poligon whose number of sides is entered by the user:

[python]# mawp_01_choosepoligon_01.py
#
# It..... More

Print this item

  Logging
Posted by: rajuarien - Sep-30-2019, 03:53 PM - Forum: General Coding Help - No Replies

I am a novice in python as new as week !

Wanted to use Python Logger

LoggingUtils.py

[python]
import logging

class LoggingUtils:..... More

Print this item

  autostart python scripts in background (Windows10)
Posted by: john36 - Sep-30-2019, 03:21 PM - Forum: General Coding Help - Replies (4)

Hi,
I have problem with autostart python scripts in Windows10:

I made BAT file and put it to autostart folder,
BAT file contens:

[color=#1ABC9..... More

Print this item

  Selecting first and last row in python
Posted by: sudhirkaukuntla - Sep-30-2019, 02:39 PM - Forum: Data Science - Replies (2)

Hi All,

Im trying to compare first and last value in pandas dataframe. My requirement is
if first value of column(id) group by city = last value ..... More

Print this item

  Beautifulsoup table question
Posted by: tantony - Sep-30-2019, 01:17 PM - Forum: Web Scraping & Web Development - Replies (5)

I'm able to get the data from the HTML table, but how would I get only the data I need? For example, how would I read only '10 or more sm (16+ km)'? ..... More

Print this item

  Prime numbers
Posted by: janoshz - Sep-30-2019, 12:32 PM - Forum: Homework - Replies (4)

Hello,

I have a slight problem with my prime number checking machine :D It does not print out the number 2 it should and does falsely recognize 9 a..... More

Print this item

  Newbie question
Posted by: Shadowlord - Sep-30-2019, 12:23 PM - Forum: General Coding Help - Replies (2)

I am trying to answer one of the questions in Automate the Boring Stuff with Python. The function (which seems to work correctly) should retun x if an..... More

Print this item

  Proces for registering to this forum
Posted by: wpo - Sep-30-2019, 12:17 PM - Forum: Board - Replies (1)

Just a question to the technicians who maintain the software for this forum (I don't know how else I can contact them).
I'm NOT a native English spea..... More

Print this item

  Basic programming problem
Posted by: darek88 - Sep-30-2019, 11:35 AM - Forum: General Coding Help - Replies (1)

Could You tell me, what wrong with this code is, please?
python import myfile

Traceback (most recent call last): File "<stdin>", line 1, in <mod..... More

Print this item

  Don't excute my code
Posted by: RavCOder - Sep-30-2019, 10:31 AM - Forum: Homework - Replies (16)

Task:
Given n names and phone numbers, assemble a phone book that maps friends' names to their respective phone numbers. You will then be give..... More

Print this item

  boto3 Amazon SQS
Posted by: raghuvamsi59 - Sep-30-2019, 10:10 AM - Forum: General Coding Help - Replies (1)

How to insert JSON file Directly into amazon SQS using boto3

Print this item

  use of global
Posted by: wpo - Sep-30-2019, 08:53 AM - Forum: General Coding Help - Replies (21)

I need to use pass the values in some variables from the "main" script to functions, and also from one function to another function. That seems to wo..... More

Print this item

  Syntax Error with Argument Parser
Posted by: aditya_man - Sep-30-2019, 08:03 AM - Forum: General Coding Help - Replies (1)

Hello all,
I was working on a project where I would separate the frames of an image using OpenCV using Argument Parser. It is something to do with th..... More

Print this item

  Unit testing - AssertRaises
Posted by: kerzol81 - Sep-30-2019, 07:31 AM - Forum: General Coding Help - Replies (3)

Hi, I got this converter:

[python]def nmea_to_dd(coordinate, direction):
if direction not in ['N', 'S', 'W', 'E']:
raise TypeError('o..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to generate double ar... Less than 1 minute ago Safinazsalem deanhystad Homework
  [PyQt] How can you preven... 43 minutes ago Batucada deanhystad GUI
  Calculating Average with ... 4 hours ago mikasa snippsat General Codin...
  How to make a double loop... 10 hours ago Safinazsalem Safinazsalem Data Science
  Keep getting "SyntaxError... Today, 07:39 Pedroski55 Larz60+ General Codin...
  converting an int to byte... Today, 05:20 Skaperen oilumiun12 News and Disc...
  DF.groupby(col).min works... Today, 03:25 samgardner5 roryelila68 General Codin...
  Multi-Threaded Camera Fee... Yesterday, 21:44 Khajababa69 Khajababa69 General Codin...
  [HELP] The Application of... Yesterday, 14:22 MistyhV1 MistyhV1 Data Science
  Visualizing musician char... Yesterday, 05:50 Drone4four Pedroski55 Data Science
  how to: explicitly select... Yesterday, 03:01 sawtooth500 sawtooth500 General Codin...
Most views
  The best Prog... 433933
  Web Scraping ... 320546
  Tutorial Requ... 310079
  Newbie with P... 262722
  Thread remain... 247368
Most reputation
buran 582
snippsat 499
Larz60+ 452
Gribouillis 330
deanhystad 312
Most replies
  New Users Int... 431
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 11876
buran 8090
snippsat 7097
deanhystad 6234
metulburr 5150
Top referrers
Googlepro 20
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Batucada Today
Safinazsalem Today
hohla Today
vinutabellur Today
oilumiun12 Today

User Panel Messages

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