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,283
» Latest member: alexferrina
» Forum threads: 38,793
» Forum posts: 175,876

Full Statistics

Online Users
There are currently 35 online users.
» 1 Member(s) | 29 Guest(s)
Bing, Google, AOL, Apple, lovedeep

Latest Threads
LhanePulse
Forum: General Coding Help
Last Post: Gichardaxora
2 hours ago
» Replies: 0
» Views: 12
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 12:05 PM
» Replies: 5
» Views: 113
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 48
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,482
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 142
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 63
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,070
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,299
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 367
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 206

 
  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

  is a str object a valid iterator?
Posted by: Skaperen - Jan-27-2020, 02:06 AM - Forum: General Coding Help - Replies (6)

is a str object a valid iterator?

Print this item

  Counting and grouping
Posted by: Kudzo - Jan-27-2020, 01:30 AM - Forum: Data Science - No Replies

Hi, I've got a dataset and would like to add the number of cases per year and put it in a new column. I used the following codes but wasn't able to ge..... More

Print this item

Photo Calculator python3
Posted by: Magicamtt455 - Jan-27-2020, 01:17 AM - Forum: General Coding Help - Replies (3)

I am trying to make a calculator in python for one of my classes.

Here is the code

[python]
n = 0
total = 0
while n >= 0:
n = int(inpu..... More

Print this item

  Unrelated new function causing existing working function to fail
Posted by: Nick_G - Jan-26-2020, 10:48 PM - Forum: General Coding Help - Replies (2)

Hi all,

I have a python script that basically works as follows:

[python]Items = pd.Dafaframe(some excel sheet)

def FunctionA(items):
try..... More

Print this item

  Jelp with a multidimensional loop
Posted by: Formationgrowthhacking - Jan-26-2020, 08:40 PM - Forum: General Coding Help - Replies (1)

Hi guys,

I need your help please to sold a complicate problem.

It is difficult for me to find the solution but in fact, I am sure it is just a f..... More

Print this item

  itertool islice why no negative values ?
Posted by: voidptr - Jan-26-2020, 08:36 PM - Forum: Code sharing - Replies (2)

About itertool islice.

Why islice doesn't support negative values ?

( I realized than negative index need oftn the len() of something, it might ..... More

Print this item

  Simulation
Posted by: DaRTHYGT - Jan-26-2020, 08:14 PM - Forum: Homework - Replies (2)

Hello My Friends,

I have some questions. hope so someone can help me because i will write my last exam and graudate from my school. Thats why, ple..... More

Print this item

  Discord bot not working
Posted by: julio2000 - Jan-26-2020, 07:28 PM - Forum: Networking - No Replies

[python]
from selenium import webdriver
import time
from selenium.webdriver.common.keys import Keys
import discord
from discord.ext import comman..... More

Print this item

  Get a value from a dictionary through input
Posted by: Anony - Jan-26-2020, 05:24 PM - Forum: General Coding Help - Replies (3)

Hi everyone, I'm new here! I have been programming with python for a month and I'm a beginner. Having to make a project for school, I need to know how..... More

Print this item

  Pausing without freezing
Posted by: Help_me_Please - Jan-26-2020, 05:10 PM - Forum: Game Development - Replies (3)

I have created a interactive game using pygame, I want like a pause before the computer takes its turn. I can only do that with pygame.time.wait(), bu..... More

Print this item

  Error importing package
Posted by: julio2000 - Jan-26-2020, 05:03 PM - Forum: General Coding Help - Replies (3)

[python]
import discord
from discord.ext import commands

client = commands.Bot(command_prefix= '.')

Token = 'a valid token'

@client.event
..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  LhanePulse 2 hours ago Gichardaxora Gichardaxora General Codin...
  data fetching for indian ... Yesterday, 12:05 drakhsin snippsat Web Scraping ...
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... 11-21, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 11-20, 04:46 Barber532 SledgeNE Game Developm...
  Graph Interpolate Difficu... 11-19, 20:34 Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... 11-19, 05:03 Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... 11-18, 18:47 stevecoh1 Axel_Erfurt GUI
Most views
  The best Prog... 579258
  Tutorial Requ... 512104
  Web Scraping ... 442185
  Newbie with P... 386294
  New Users Int... 379608
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+ 12109
buran 8196
snippsat 7390
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
alexferrina Yesterday
MattCarters 11-22
drakhsin 11-22
MileHigh303 11-21
ndx101 11-21

User Panel Messages

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