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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,305
» Latest member: Carolkliff
» Forum threads: 38,798
» Forum posts: 175,905

Full Statistics

Online Users
There are currently 33 online users.
» 1 Member(s) | 25 Guest(s)
Google, Bing, Mojeek, Facebook Dev, Carolkliff

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: noisefloor
3 hours ago
» Replies: 3
» Views: 74
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
3 hours ago
» Replies: 4
» Views: 138
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
9 hours ago
» Replies: 8
» Views: 658
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Yesterday, 04:48 AM
» Replies: 6
» Views: 7,809
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 136
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 119
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Nov-26-2025, 08:47 AM
» Replies: 3
» Views: 203
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Nov-26-2025, 04:40 AM
» Replies: 6
» Views: 3,213
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 313
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 195

 
  Formatted table with headings
Posted by: KameronG - Feb-08-2019, 09:27 PM - Forum: Homework - Replies (1)

Hello,
I'm trying to have a program print the results from a formula into a formatted table, but I can't figure out how to get it to attach heading l..... More

Print this item

  Warning / Error handling in python
Posted by: Prarthana_12 - Feb-08-2019, 04:56 PM - Forum: General Coding Help - Replies (1)

I am using netmiko on my ubuntu 12.04 to SSH into one of my router. I am able to successfully SSH into the router, however along with my output I get ..... More

Print this item

  Keypad Not Aligned
Posted by: sappc74 - Feb-08-2019, 04:06 PM - Forum: GUI - Replies (7)

I'm having a problem with my GUI window not displaying the keypad on my window correctly. I'm sure it has to do with resolution but don't know how to ..... More

Print this item

  Sorting and working with dictionary
Posted by: farzankh - Feb-08-2019, 03:27 PM - Forum: Homework - Replies (3)

Can somebody help with this question?

Given the dictionary, medals, sort it by the medal count. Save the three countries with the highest medal cou..... More

Print this item

  Pyodbc does not accept variable from tkinter
Posted by: diegoctn - Feb-08-2019, 03:18 PM - Forum: General Coding Help - Replies (9)

Hi guys, I am a beginner however I achieved a good result taking information from my servers and passing to a tkinter form. Now I ma trying to choosin..... More

Print this item

  Need to use range with decimals
Posted by: KameronG - Feb-08-2019, 03:15 PM - Forum: Homework - Replies (7)

Hello,

I need to write a program that asks for values from a user and then use the values in a formula. One thing I need to do is ask the user if ..... More

Print this item

  matplotlib annotate datapoints with corresponding dates
Posted by: nuncio - Feb-08-2019, 11:26 AM - Forum: General Coding Help - No Replies

I am trying to make an MJO phase diagram as this http://www.bom.gov.au/climate/mjo/graphi...40days.gif, in this, we can see the dates an..... More

Print this item

  How to reject "invalid" input in Python3.7
Posted by: Bruizeh - Feb-08-2019, 11:06 AM - Forum: Homework - Replies (4)

Hello guys, so I'm taking my first course in Programming and our teacher assigned us to create a BMI calculator in Python, but I would like to know ho..... More

Print this item

  Recursion effect
Posted by: dukoolsharma - Feb-08-2019, 09:39 AM - Forum: Data Science - Replies (2)

Does recursion cause any trouble in Python?

Print this item

  Is a way to create object instance from dict as argument
Posted by: Nazz - Feb-08-2019, 09:20 AM - Forum: Data Science - Replies (1)

We have class:

[python]
class DbConnection:
def __init__(self, host: str, port: int, db_name: str):
self.__host = host
self..... More

Print this item

  Pexpect not catching embeded ssh response
Posted by: luchoArg32 - Feb-08-2019, 08:45 AM - Forum: General Coding Help - No Replies

Hi everybody,
I was used to Bash + TCL + Expect but I migrated to Python + Pexpect and I'm encountering a little problem. I'm running python 3.6 with..... More

Print this item

  if/else statement only outputs else statement regardless of input
Posted by: KameronG - Feb-08-2019, 06:18 AM - Forum: Homework - Replies (2)

Hello, I'm new here so I apologize if I mess up the protocol to some extent.
I am trying to write a program that takes 4 user inputs and plugs them i..... More

Print this item

  How do i make a module that'll get me an average?! thx
Posted by: dokser239 - Feb-08-2019, 03:38 AM - Forum: General Coding Help - Replies (2)

#This is the code i am trying to write
#its you're beginner "average test score" programming exercise
#how do i make a module that'll get the avera..... More

Print this item

  Sentence maker help
Posted by: bidoofis - Feb-08-2019, 02:49 AM - Forum: General Coding Help - Replies (2)

Okay, so recently I've been trying to make a program that makes very simple sentences. I've made a breakthrough by figuring out that 'if' and 'or' exi..... More

Print this item

  import CSV (how can i convert my data to csv?)
Posted by: IvanR - Feb-08-2019, 12:58 AM - Forum: Homework - Replies (2)

[python]
from pprint import pprint
from urllib.request import urlopen
import json
import csv

city = input('City name: ')


url = 'http://api..... More

Print this item

  If a decimal is 0 how do I make it not show?
Posted by: GamingDay - Feb-08-2019, 12:22 AM - Forum: General Coding Help - Replies (4)

I'm new and only 30 minutes into Python. I'm trying to calculate something using randomly generated numbers and when I want to round it to 1 decimal I..... More

Print this item

  tkinter.ttk Tutorials
Posted by: Vicolas - Feb-07-2019, 11:15 PM - Forum: GUI - Replies (2)

[b]Hi,
Please can anyone help me tkinter ttk essential tutorials or maybe tell me where to get one. Have Google and search but couldn't get anything ..... More

Print this item

  Walrus Operator in 3.8
Posted by: nilamo - Feb-07-2019, 10:53 PM - Forum: News and Discussions - Replies (21)

https://medium.com/hultner/try-out-walru...30ce0ce601

Seems pretty cool for buffers.
[python]# instead of...
buffer = cre..... More

Print this item

  Sending API request with two criteria
Posted by: hey_arnold - Feb-07-2019, 09:54 PM - Forum: General Coding Help - No Replies

Hi All,

If I run the below it won't work, however if I remove one key & value from payload it returns and answer.

How do I give payload two keys..... More

Print this item

  Shifting items in a list?
Posted by: MuntyScruntfundle - Feb-07-2019, 08:56 PM - Forum: General Coding Help - Replies (3)

Hi folks.

If I have a list of say, 150 values, all floats, how would I shift them all one place to the left and lose the first value. So move 1 to..... More

Print this item

  The self variable in a class..?
Posted by: mitmit293 - Feb-07-2019, 08:54 PM - Forum: General Coding Help - Replies (3)

Is it like the 'i' variable in

 for i in Range

Print this item

  Divisors shared the second numbers
Posted by: mircea_dragu - Feb-07-2019, 08:18 PM - Forum: General Coding Help - Replies (1)

I am a beginer in Python's programming, so i began with easy programming problems.
The goal is to show the divisors shared by the two numbers entered..... More

Print this item

  What's up with my IDLE menu?
Posted by: turbopower - Feb-07-2019, 08:11 PM - Forum: General Coding Help - Replies (2)

Hi,

trying to start learning p3
Install the package for MacOS from python.org v3.7.2
All the lessons and courses describe the IDLE menu containing RU..... More

Print this item

  tic tac toe but worse
Posted by: Naito - Feb-07-2019, 07:29 PM - Forum: Code sharing - Replies (1)

hi!, i made this tic tac toe (not 100% completed yet), i have tried to make the AI more challenging but it's harder than i though, making the code run..... More

Print this item

  Python Matplotlib help!!!
Posted by: kapilan15 - Feb-07-2019, 06:08 PM - Forum: General Coding Help - Replies (1)

[python]
import pandas as pd
from pandas import Series
from matplotlib import pyplot as plt


data = pd.read_csv ('data.csv')

plt.plot(data.D..... More


Attached Files

Thumbnail(s)
   
Print this item

  import logging not working
Posted by: segerhult - Feb-07-2019, 04:10 PM - Forum: General Coding Help - Replies (3)

when i run my code it says there is somthing wrong whit import logging and thus the cod dose not work

[python]import logging
#import time
#import..... More

Print this item

  Creating Snake game in Turtle
Posted by: Shadower - Feb-07-2019, 03:10 PM - Forum: Game Development - Replies (1)

Hello all,

I am creating a snake game with Python, in Turtle.
For this project, I am using this video: https://www.youtube.com/watch?v=rrOqlfMujqQ..... More

Print this item

  Sound Meter
Posted by: dcanogi - Feb-07-2019, 02:53 PM - Forum: General Coding Help - Replies (3)

How i do a sound meter using python and extract the data to a database?

Print this item

  Need help with a tough school assignment
Posted by: datson79 - Feb-07-2019, 01:49 PM - Forum: Homework - Replies (5)

hi everyone

i have some school that i really need help with .
- how do i start to do the coding
- and how do i create the function needed to w..... More

Print this item

  Search "Places near by me" or "where am I" in google maps
Posted by: barry76 - Feb-07-2019, 01:38 PM - Forum: General Coding Help - Replies (1)

Hi, is it possible to search the results "where am I" or "places nearby me" using google API in python
Right now mentioned below Python code is sear..... More

Print this item

  [python] PermissionError: [Errno 13] Permission denied
Posted by: akamouch - Feb-07-2019, 01:01 PM - Forum: General Coding Help - Replies (1)

Hello everyone,

Could you please help me with the following problem :

[python]
import pandas as pd
import cv2
import numpy as np
import os..... More

Print this item

  I need some help
Posted by: SrTiNx - Feb-07-2019, 11:14 AM - Forum: General Coding Help - Replies (3)

[print("You need the password!")
input(Press any button to move on!)

password = ["123456789"]
x = input()
if x in password:
print("The pass..... More

Print this item

  column order changes when copying rows in datafram
Posted by: swapnaharish - Feb-07-2019, 10:44 AM - Forum: General Coding Help - Replies (1)

I am copying data rows for a specified criteria from one dataframe to another. However, the column order changes while doing so.

please see the cod..... More

Print this item

  Send The output of Gyroscope sensor to node red
Posted by: jenkins43 - Feb-07-2019, 10:06 AM - Forum: General Coding Help - Replies (1)

Hi, I have made ..... More

Print this item

  re.finditer issue, output is blank
Posted by: anna - Feb-07-2019, 09:47 AM - Forum: General Coding Help - Replies (1)

Hi All,

trying below code, running with out error, however output is blank.


[python]import re
from ciscoconfparse import CiscoConfParse
from..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 3 hours ago Lou noisefloor General Codin...
  Python is not working on ... 3 hours ago lary_p noisefloor General Codin...
  Help with Serial.write in... 9 hours ago racingsubby Larz60+ General Codin...
  Can I develop a live vide... Yesterday, 04:48 mtrkhan mamta25 Web Scraping ...
  silent deployment Python ... 11-26, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP 11-26, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... 11-26, 08:47 Moltar1997 perfringo General Codin...
  best way to learn python 11-26, 04:40 dutch ichsanputr News and Disc...
  data fetching for indian ... 11-25, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
Most views
  The best Prog... 579443
  Tutorial Requ... 512572
  Web Scraping ... 442318
  Newbie with P... 386371
  New Users Int... 380626
Most reputation
buran 581
snippsat 511
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12113
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
Carolkliff Today
IFDA123 Today
TimTom420 Yesterday
cruisesfares Yesterday
SNR Yesterday

User Panel Messages

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