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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,983
» Latest member: kyleconor797
» Forum threads: 38,733
» Forum posts: 175,567

Full Statistics

Online Users
There are currently 43 online users.
» 0 Member(s) | 38 Guest(s)
Applebot, Google, Bing, AOL

Latest Threads
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: SpongeB0B
1 hour ago
» Replies: 2
» Views: 87
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Today, 03:05 AM
» Replies: 4
» Views: 2,019
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Yesterday, 07:43 AM
» Replies: 2
» Views: 429
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Yesterday, 12:21 AM
» Replies: 2
» Views: 1,072
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,131
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 799
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 3,089
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,537
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 9,123
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,580

 
  Insert data into sql after joining two excel data from python
Posted by: NeerajYadav - Jan-28-2020, 01:56 PM - Forum: General Coding Help - Replies (2)

How to insert FinalData into sql table through python ? In finaldata i have joining data of two excel.
[python]import pandas as pd
import pandas.io..... More

Print this item

  if-loop does not respond to input
Posted by: Kmarstein - Jan-28-2020, 01:27 PM - Forum: General Coding Help - Replies (1)

Hey, I recently bought a dobot magician and have been playing around with controlling it using python. However, I`m very new to this programming langu..... More

Print this item

  while after while
Posted by: WildP - Jan-28-2020, 01:19 PM - Forum: General Coding Help - Replies (2)

I am new to Python and I am trying to make a program that lets the user input positive numbers. The program should then return a list of the numbers a..... More

Print this item

  coding help -python
Posted by: rs08 - Jan-28-2020, 01:18 PM - Forum: General Coding Help - Replies (2)

[python]#!/usr/bin/env python3

import sys
import math

print("BMI calculator")

#Defining BMI Class
class Bmi():
#Setting Values for BMI Cla..... More

Print this item

  Cannot package application using pip; ModuleNotFoundError
Posted by: axcore - Jan-28-2020, 01:08 PM - Forum: General Coding Help - No Replies

I have been trying for months to work out how to correctly package my python application for use with pip.

I can upload the application to pypi wi..... More

Print this item

  Highscore problem, need to print top 5
Posted by: Camiosobro123 - Jan-28-2020, 12:19 PM - Forum: General Coding Help - Replies (5)

I need for it to print the top 5 scores, but at the moment it is only printing the highest scores that have ever been the top scores, if that makes se..... More

Print this item

  I need help making this game.
Posted by: ZodiacZNaim - Jan-28-2020, 12:01 PM - Forum: Game Development - Replies (1)

So I want to create a simple game in python, possibly with a GUI. But, for now i need to work on the actual game. I just started using python and I kn..... More

Print this item

  Help! new to python
Posted by: Hafiz - Jan-28-2020, 11:33 AM - Forum: Homework - Replies (3)

can someone help me to solve this



1. Given a four-digit number, perform its cyclic rotation by two digits. Try to solve it only by using numeri..... More

Print this item

  installing openpyxl
Posted by: delahug - Jan-28-2020, 09:58 AM - Forum: General Coding Help - Replies (2)

Hi,

Total python newbie here; nearly 20 years since I've done any programming...

I've managed to install python on my pc and run 'Hello, World!'..... More

Print this item

  pandas.read_sas with chunksize: IndexError list index out of range
Posted by: axelle - Jan-28-2020, 09:29 AM - Forum: Data Science - No Replies

Good morning,

I have read the rules about posting but i cannot attach a sample of my data or reproduce the entire error message as the data i am wo..... More

Print this item

  Do Calculation between Rows based on Column values - Pandas Dataframe
Posted by: ahmedwaqas92 - Jan-28-2020, 06:55 AM - Forum: General Coding Help - No Replies

Hello, I have a sharepoint list that I am importing in as a Pandas dataframe. The resulting code generates a df which looks something like below

[c..... More

Print this item

  Python best practices
Posted by: Malindadoo - Jan-28-2020, 06:21 AM - Forum: News and Discussions - Replies (3)

Effective Java is a famous book that has described best practices for Java programming language. Is there a well-known best practices book for..... More

Print this item

  General question about serialization/deserialization in python
Posted by: local - Jan-28-2020, 04:03 AM - Forum: General Coding Help - Replies (1)

Hi first post!

I am currently developing an Ecommerce website and decided to try flask. I am more familiar with java but have some experience writi..... More

Print this item

  convert a character to numeric and back
Posted by: Skaperen - Jan-28-2020, 03:30 AM - Forum: General Coding Help - Replies (2)

if my function gets a single character that is str or bytes or bytearray, there is a simple way to convert its character code. ord()..... More

Print this item

  Basic Pyhton for Rhino 6 question about variables
Posted by: SaeedSH - Jan-28-2020, 03:09 AM - Forum: General Coding Help - Replies (1)

Hi all,

I've been trying to create a sequence in which a new value is based on the older value.
then the values change making the new value the o..... More

Print this item

  Using a flag error
Posted by: blackjesus24 - Jan-28-2020, 03:01 AM - Forum: General Coding Help - Replies (1)

Hi, i'm trying to print my code, but i keep getting syntax error.

[python]
prompt = "\nEnter "q" to end this program."
prompt += "\nWhat is your ..... More

Print this item

  Python module ported for circuit python
Posted by: Scifimetropolis - Jan-28-2020, 01:35 AM - Forum: Jobs - Replies (1)

I need help having a python module that is used for the Pololu maestro servo controller. I need to have it converted into a circuit python module. I ..... More

Print this item

  Create a dynamic Menu from a editable Dictionary.
Posted by: KiNeMs - Jan-28-2020, 01:09 AM - Forum: General Coding Help - Replies (1)

I am trying to create a dynamic menu system that will produce menu items based on what items are specified in the _number_ranges dictionary.

I wou..... More

Print this item

  Custom function that prints function text
Posted by: gyaan_anveyshak - Jan-27-2020, 10:54 PM - Forum: General Coding Help - Replies (3)

Currently:

a = "abcde"
print("b[::-1] : ", b[::-1])
print("b[5:0:-1] : ", b[5:0:-1])
Output:
[output]>>> b[::-1] : edcba
>>> b[5:0:..... More

Print this item

  Dealing with a .json nightmare... ideas?
Posted by: t4keheart - Jan-27-2020, 10:17 PM - Forum: General Coding Help - Replies (10)

Hi guys,
I'm working with an API and am dealing with a pretty large json dump. It's about 1000 lines and in there lies particular information I'm lo..... More

Print this item

  Slide show with mouse click pausing
Posted by: aantono - Jan-27-2020, 09:41 PM - Forum: General Coding Help - Replies (1)

Hello,
I’m trying to create a slideshow based on images. I use tkinter but I want a piece of code that on mouse click it freezes and show the curren..... More

Print this item

  so im trying to make a question game for school and im trying to make it when some on
Posted by: dertder25t - Jan-27-2020, 09:02 PM - Forum: General Coding Help - Replies (1)

so im trying to make a question game for school and im trying to make it when some on says no it stops the user from putting the inputs in but still ..... More

Print this item

  Highscore problem, need to print top 5
Posted by: Camiosobro123 - Jan-27-2020, 08:57 PM - Forum: Homework - Replies (1)

I need for it to print the top 5 scores, but at the moment it is only printing the highest score of each user. Any help would be much appreciated. Her..... More

Print this item

  Amazon AWS - how to install the library chatterbot
Posted by: wpaiva - Jan-27-2020, 07:54 PM - Forum: Web Scraping & Web Development - Replies (9)

Hi All,

Thanks in advance for the help!

So, I´m trying to install the library chatterbot on Amazon AWS but is too heavy and I was not able to do..... More

Print this item

  pyproj Issue
Posted by: OldSubSailor - Jan-27-2020, 07:09 PM - Forum: General Coding Help - No Replies

Howdy,
I do not know where this goes, so I will try asking here, nor do really know what I am asking. I ran a python install script for Ortho4XP, and ..... More

Print this item

  Not able to update y2 axis scale in plotly
Posted by: ankitawadhwa - Jan-27-2020, 06:44 PM - Forum: General Coding Help - No Replies

Hi,
Could you please help me updating the scale for y_2 axis
[b]fig.update_yaxes(tickvals=[0.0,0.5,0.75,1.0,1.25,1.5,1.75,1.8,1.9,2.0,2.5,3.0,4.0,4...... More

Print this item

  Advice on creating an app
Posted by: Dzib - Jan-27-2020, 03:16 PM - Forum: General Coding Help - Replies (3)

Hi,

I've created a small GUI in VBA to manage data from Access tables at work (manage customers, products, orders, stats, etc...)
It's working nice ..... More

Print this item

  Linear Regression on Time Series
Posted by: karlito - Jan-27-2020, 02:19 PM - Forum: Data Science - Replies (5)

Hi,

I'm trying this time to use a simple linear regression on my time series dataset to linearly predict data. But I got this error and I don't kno..... More

Print this item

  please help me in loop i am trying to run this program in raspberry pi by sending msg
Posted by: saifullahbhutta - Jan-27-2020, 02:17 PM - Forum: General Coding Help - Replies (2)

[python]import paho.mqtt.client as mqttClient
import time, random, RPi.GPIO as GPIO

GPIO.setwarnings(False)
GPIO.setmode(GPIO.BOARD)



def ..... More

Print this item

  strange characters after printing soup
Posted by: zarize - Jan-27-2020, 10:22 AM - Forum: Web Scraping & Web Development - Replies (4)

Hi guys,

Have you ever met with something like i have right now?

I just wanted to print soup and wow.. is there any way to do something with it ..... More

Print this item

  Senior Python developer to IoT project
Posted by: xenia - Jan-27-2020, 08:50 AM - Forum: Jobs - Replies (1)

Our client is a Norwegian IoT & Robotics company with global ambitions established in Oslo in 2013. The company helps people to improve the way they l..... More

Print this item

  NOT bit-wise operation question
Posted by: ajayachander - Jan-27-2020, 07:14 AM - Forum: Homework - Replies (2)

x = 4
y = 1

a = ~x

print(a)

Bit operation on 4 which equates to binary 100
what would be NOT operation on it?

I assumed that it would be..... More

Print this item

  Determing packages needed by a script: Creating a Miniconda environment
Posted by: ashevade - Jan-27-2020, 06:21 AM - Forum: News and Discussions - Replies (1)

Hi
I have been given a bunch of python scripts, and want to create a Miniconda environment which contains all needed packages for the successful exe..... More

Print this item

  HELP! Return Statement Debugging
Posted by: HappyMan - Jan-27-2020, 05:42 AM - Forum: General Coding Help - Replies (5)

Dear All
I am a beginner to Python. I wrote the code below but does not understand why when I key in "0" and then a negative number (says "-5"), the ..... More

Print this item

  Function to return today's month, day, and year
Posted by: sbabu - Jan-27-2020, 05:08 AM - Forum: Homework - Replies (9)

function current_date to return today's month, day, and year



[python]def c_date():
pass
#TODO return month, day, year

m, d, y = ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Parse Markdown / get the ... 1 hour ago SpongeB0B SpongeB0B General Codin...
  Error: cannot mix str wit... Today, 03:05 ngregistrations Joliekeva General Codin...
  Integer Factorization Too... Yesterday, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... Yesterday, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... 09-29, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... 09-29, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
Most views
  The best Prog... 577447
  Tutorial Requ... 500982
  Web Scraping ... 441077
  Newbie with P... 385144
  New Users Int... 369729
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12092
buran 8178
snippsat 7370
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
kyleconor797 Today
miriamwilliam Today
Davidkiplimo Today
Joliekeva Today
silversimon2 Yesterday

User Panel Messages

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