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,298
» Latest member: Divyakrishnan071
» Forum threads: 38,795
» Forum posts: 175,890

Full Statistics

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

Latest Threads
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
4 hours ago
» Replies: 3
» Views: 115
silent deployment Python ...
Forum: News and Discussions
Last Post: Bummibaer
4 hours ago
» Replies: 2
» Views: 79
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
8 hours ago
» Replies: 6
» Views: 3,182
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Yesterday, 02:50 AM
» Replies: 6
» Views: 248
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 132
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 94
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,525
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 180
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 82
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,157

 
  Factorial
Posted by: leodavinci1990 - Jul-18-2019, 05:03 AM - Forum: General Coding Help - Replies (8)

I created the following function in Python 3.7.
[python]def getFactorial(n):
factorial = 1
for x in range(1, n+1)
factorial = fac..... More

Print this item

  Averaging data while merging
Posted by: SujaiBanerji - Jul-18-2019, 04:20 AM - Forum: Data Science - No Replies

I have two dataframes as shown below:

[python]
result1

time browncarbon blackcarbon
180.0008 0.105270 NaN
181.3809 ..... More

Print this item

  Looking For Good Reference Material
Posted by: rebeltaz - Jul-18-2019, 03:11 AM - Forum: GUI - Replies (2)

While not new to programming, I am new to python and tkinter. I have read half a dozen books over the past month and all of them give varying degrees ..... More

Print this item

  a module for multiple input waiting
Posted by: Skaperen - Jul-18-2019, 02:32 AM - Forum: News and Discussions - Replies (2)

i think (why would i bother to do that) what would be useful is a class that takes care of multiple I/O concurrency. you just create a new instance ..... More

Print this item

  stdin input while copying from a process pipe
Posted by: Skaperen - Jul-18-2019, 12:15 AM - Forum: News and Discussions - No Replies

i would like to get some ideas of what tools to do this. i want a script to launch a child process that will be producing lots of out, such as the pa..... More

Print this item

  Server and Network (socket) [WinError 10053]
Posted by: Timxxx - Jul-17-2019, 11:46 PM - Forum: Networking - Replies (1)

I was watching a tutorial on making a multiplayer game and clients to connect it.
The Problem is that I keep getting this error and I don't know why ..... More

Print this item

  unusual error in printing result
Posted by: janaki26794 - Jul-17-2019, 10:20 PM - Forum: Homework - Replies (1)

I want to print the names of the people in the url with which it is capturing from the webpage from another python file.This is how I have provided th..... More

Print this item

  timeout for io.read()
Posted by: Skaperen - Jul-17-2019, 10:15 PM - Forum: News and Discussions - Replies (4)

has anyone put together a way to read an open file with a timeout (returns something different or raises an exception if nothing to read by the end of..... More

Print this item

  Adding Variables
Posted by: absolum - Jul-17-2019, 06:58 PM - Forum: General Coding Help - Replies (3)

Hello! I am working on a program for guitar. This is a rather simple problem but I am new to coding and don't know why the heck this is not working. I..... More

Print this item

  Long command with characters not working in Python on Oracle Linux 7
Posted by: iaas_infra - Jul-17-2019, 06:43 PM - Forum: General Coding Help - Replies (10)

I have below python script which connects to a host, runs a command and prints the output.

This script is working fine and printing the output of d..... More

Print this item

  Need help with dictionary!
Posted by: hoangthai10788 - Jul-17-2019, 06:38 PM - Forum: General Coding Help - Replies (3)

Hello,

I encountered this issue and tried to figured out why this happened that way but was not able to. Can anyone help me with this? The one that I..... More

Print this item

  General discussion about weekly top picks
Posted by: metulburr - Jul-17-2019, 06:30 PM - Forum: Weekly Top Picks - Replies (8)

The purpose of this thread is to not pollute the weekly top picks with general discussion (and votes).

Print this item

  Unable to switch out of nested frames into main page
Posted by: abi17124 - Jul-17-2019, 06:06 PM - Forum: Web Scraping & Web Development - No Replies

I have a program that does automated data entry on the PLM platform, ENOVIA, with specific information that I input. I'm using Selenium to navigate th..... More

Print this item

  15th to 21st July 2019
Posted by: Yoriz - Jul-17-2019, 05:16 PM - Forum: Weekly Top Picks - Replies (2)

The purpose of this thread is to compile a list of posts made between Mon 15th July To Sun 21st July that have well established posts to be nominated ..... More

Print this item

  Linear programming optimization PuLP
Posted by: new_in_python - Jul-17-2019, 04:56 PM - Forum: General Coding Help - No Replies

I have a linear problem where I want to maximize my revenue, by minimizing the objective function.

The constraints are linear thus linear programm..... More

Print this item

  5 python columns, row-wise as input to a function
Posted by: dervast - Jul-17-2019, 04:44 PM - Forum: General Coding Help - Replies (1)

Hi all,
I have a data frame that has 5 columns named as '0','1','2','3','4'

[python]small_pd
Out[53]:
0 1 2 3 4
0 ..... More

Print this item

  Need help creating a loop
Posted by: codingnewbie - Jul-17-2019, 04:02 PM - Forum: General Coding Help - Replies (1)

Hey everyone so I need help creating a loop, Im trying to get temperature with 2 DS18B20 temperature sensors with a Raspberry Pi. So far I have manage..... More

Print this item

  python and load balancer
Posted by: pythonFresher - Jul-17-2019, 03:48 PM - Forum: General Coding Help - Replies (1)

Hi All,

I am planning to put a python script which should detect the current state of servers or server groups in the A10 load balancer. Found on..... More

Print this item

  Is there a "secret" code among coders to not offer any help???
Posted by: yeto - Jul-17-2019, 03:11 PM - Forum: News and Discussions - Replies (4)

I am new to coding and I am noticing not too many questions get answered in the forums. This one included. Is it because coders don't want people to b..... More

Print this item

  Print the Largest Odd Number
Posted by: Than999 - Jul-17-2019, 02:49 PM - Forum: Homework - Replies (5)

Hi, I have a Python homework question; I am ask to write a program where it asks users to input 10 integers and print out the largest odd number from ..... More

Print this item

  How will you improve my code?
Posted by: Gateux - Jul-17-2019, 02:33 PM - Forum: Homework - Replies (4)

I'm new to Python programming and right now i'm practicing past year assignment before school starts and my codes are fully functioning but it's in a ..... More


Attached Files

.pdf   Assignment.pdf (Size: 65.97 KB / Downloads: 657)
Print this item

  hour format
Posted by: geckoes - Jul-17-2019, 01:48 PM - Forum: GUI - Replies (1)

I've created a Tkinter window with two Entries for formatting hours.
Their format are 24h and 12h ones.
It works correctly but I'm wondering if ther..... More

Print this item

  reading txt file putting in list function
Posted by: Expel - Jul-17-2019, 01:45 PM - Forum: General Coding Help - Replies (7)

Having issues putting numbers from text file into a list and then calling that list to sum / avg numbers.
trying to do it without importing, though i..... More

Print this item

  Good Morning help simplify
Posted by: raymond2688 - Jul-17-2019, 01:43 PM - Forum: Homework - Replies (3)

I was to create a program so I can compare the cost of fuel per vehicle I was wanting to purchase. I was able to get it to work but I think it can be ..... More

Print this item

  TypeError: '(slice(None, None, None), 0)' is an invalid key
Posted by: zaki424160 - Jul-17-2019, 12:03 PM - Forum: Data Science - Replies (1)

I am doing feature selection using python 2.7, the dataset was loaded fine but when i run the code it gives me this error
[python]
#!/usr/bin/env p..... More

Print this item

  Pynput doesn't recognize shift button and special characters
Posted by: VirtualDreamer - Jul-17-2019, 11:55 AM - Forum: General Coding Help - No Replies

Hello fellow Python programmers! I'm creating a keylogger using Pynput library(not for malicious purpose of course) and I'm having a hard time figurin..... More

Print this item

  Issues in Chat App for Local Network
Posted by: iMuny - Jul-17-2019, 11:53 AM - Forum: Networking - Replies (2)

Dear All

I hope everyone is doing well. Below is the code for a rudimentary chat app. The server side seems to be working fine but the client side ..... More

Print this item

  How to make a walljump + move between rooms ?
Posted by: dMn420 - Jul-17-2019, 11:32 AM - Forum: Game Development - Replies (1)

I've searched and nothing seemd to work. I will copy all the code, becuse there is no much of it and you can check it yourself if you need.
If you kn..... More

Print this item

  Switching between two frames using Tkinter
Posted by: jenkins43 - Jul-17-2019, 10:34 AM - Forum: GUI - Replies (1)

Hi, I am trying to switch from one frame to another, I tried to

.destroy()
method but I am facing some error

I have created the L..... More

Print this item

  Need help asap
Posted by: lucaaa_s02 - Jul-17-2019, 08:35 AM - Forum: General Coding Help - Replies (1)

I am trying to make a whole panel of LED to light up using a pressure-sensitive device. And get bluetooth from another rasberry pi using python. I hav..... More

Print this item

  Read a remote text file
Posted by: Sandy7771989 - Jul-17-2019, 07:16 AM - Forum: General Coding Help - Replies (1)

Hi All,

I have a scenario where i need to read a TEXT file(log.txt) in a remote server(Server 1) and write the read data to a database of another s..... More

Print this item

  Learning Python in a month
Posted by: MuhammadNauman - Jul-17-2019, 07:10 AM - Forum: General Coding Help - Replies (1)

Hello Folks,
I hope you guys are doing great.
This is my first post in the forum.
I have started the blockchain programming in python ..... More

Print this item

  Handling IO Error / Reading from file
Posted by: Expel - Jul-17-2019, 03:18 AM - Forum: Homework - Replies (10)

I need to read numbers from a txt file
cal the avg of these numbers
then handle any IO error exceptions that are raised when the file is opened and ..... More

Print this item

  How do I edit saved Python 3 script?
Posted by: Mocap - Jul-17-2019, 03:09 AM - Forum: General Coding Help - Replies (1)

I know this is probably a simple fix but I'm having a tough time with it. I'm being told that Python isn't installed on my computer when I open the fi..... More

Print this item

  Using tkinter on Windows to launch python 3 scripts
Posted by: Mocap - Jul-17-2019, 02:52 AM - Forum: GUI - Replies (1)

I'm trying to use tkinter to create a button that launches the relevant python script. I've never done this before and I saw someone else asking it, b..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My regex function is not ... 4 hours ago Moltar1997 perfringo General Codin...
  silent deployment Python ... 4 hours ago Bummibaer Bummibaer News and Disc...
  best way to learn python 8 hours ago dutch ichsanputr News and Disc...
  data fetching for indian ... Yesterday, 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
  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...
Most views
  The best Prog... 579368
  Tutorial Requ... 512348
  Web Scraping ... 442280
  Newbie with P... 386332
  New Users Int... 380248
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+ 12110
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Divyakrishnan071 Today
ichsanputr Today
nicos18 Yesterday
Moltar1997 Yesterday
arthurlouiss Yesterday

User Panel Messages

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