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,286
» Latest member: xdimbah
» Forum threads: 38,792
» Forum posts: 175,875

Full Statistics

Online Users
There are currently 32 online users.
» 2 Member(s) | 27 Guest(s)
Bing, Google, AOL, lovedeep, Gribouillis

Latest Threads
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 12:05 PM
» Replies: 5
» Views: 126
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 52
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,483
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 146
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 65
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,074
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,302
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 371
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 208
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Nov-18-2025, 06:47 PM
» Replies: 2
» Views: 269

 
  Assignment
Posted by: amit79 - Dec-14-2019, 11:14 PM - Forum: Homework - Replies (3)

Hello All,

I am new to python and just taken the course from Udemy.

Can someone post simple assignments, that will be really help enhancing what..... More

Print this item

  Django URL dispatcher help
Posted by: giga - Dec-14-2019, 09:11 PM - Forum: Web Scraping & Web Development - No Replies

Need help with URLconf

The parameter can be a directory or a file name. For example:

gallery/Some/Directory/
gallery/SomeDirectory/
gallery/So..... More

Print this item

  Deleting duplicates in tuples
Posted by: Den - Dec-14-2019, 07:16 PM - Forum: General Coding Help - Replies (2)

I have a list of tuples, and I am trying to delete some tuples of the list based on their first element: if the first element is the same first elemen..... More

Print this item

  Axis is out of bound error
Posted by: Help_me_Please - Dec-14-2019, 04:16 PM - Forum: Game Development - Replies (2)

Dear anyone who can help,

I have had a problem for many weeks with my code, it is suppose to play connect 4 against the computer. I have tried many..... More

Print this item

  [NEURON] Need help to import NEURON module into Python 3
Posted by: Charlidor - Dec-14-2019, 03:22 PM - Forum: Data Science - Replies (2)

Hello,

I need to use the NEURON module (https://neuron.yale.edu/neuron/) for a project research. Therefore, I have installed it (+ XQuartz + comman..... More

Print this item

  How to search full path of specified file
Posted by: SriRajesh - Dec-14-2019, 02:37 PM - Forum: General Coding Help - Replies (3)

Hi,
I am trying to search a full path of the file given a root directory (this can vary), and postfix file name.
I am using the below code but I alw..... More

Print this item

  Dictionary VS Class
Posted by: JKBarnard - Dec-14-2019, 01:46 PM - Forum: General Coding Help - Replies (2)

Hi there.

A newbie here wanna ask a newbie question.
Background info:

I've been working actively on an excel project for the last 2 years. It..... More

Print this item

  python books
Posted by: koby - Dec-14-2019, 01:09 PM - Forum: News and Discussions - Replies (3)

am now learning python and i will like to know the best book fro python beginners. thank you

Print this item

  Continuing code after exception
Posted by: palladium - Dec-14-2019, 01:04 PM - Forum: General Coding Help - Replies (1)

I have a module that takes several inputs from the end user, does some basic checking before getting called by another module to do some calculations...... More

Print this item

  Help with tkinter for a heating control GUI
Posted by: tony359 - Dec-14-2019, 11:05 AM - Forum: GUI - Replies (1)

Hello all,

I am quite new to Python and I am training myself on the internet. So please excuse me if my code is wrong/not very readable. I have als..... More

Print this item

  get a string from a list if it is there
Posted by: Skaperen - Dec-14-2019, 02:45 AM - Forum: General Coding Help - Replies (6)

i have a list that might have a string as the first item or the list might be empty that i am giving to an expression. if there is such a string, i w..... More

Print this item

  finding probability of exceding certain threshold
Posted by: Staph - Dec-14-2019, 02:40 AM - Forum: General Coding Help - Replies (1)

Given a numpy array of length say 300 contain different values from 0-5

How can I find the probability of exceeding certain threshold like 4 in pyt..... More

Print this item

  running py3 scripts as root
Posted by: Skaperen - Dec-14-2019, 12:25 AM - Forum: News and Discussions - Replies (4)

i have a few scripts, all in Python3, that i want to be able to run with root effective uid permissions.

i am still pondering how to go about doing..... More

Print this item

  Terrible Sprite controls, need help.
Posted by: michael1789 - Dec-14-2019, 12:15 AM - Forum: Game Development - Replies (16)

I have this sprite here. The controls are dreadful, and my tinkering is fruitless. I copied it from an Asteroids game, and took out the friction, but..... More

Print this item

  While loop skips multiple dropdown menu options and then works as intended
Posted by: newbie_programmer - Dec-13-2019, 10:25 PM - Forum: Web Scraping & Web Development - Replies (1)

Below is the code I am writing to try and scrape information from a website. There are multiple options to choose from on a drop down menu and each va..... More

Print this item

  Corrupted numpy arrays when save to file.
Posted by: DreamingInsanity - Dec-13-2019, 08:49 PM - Forum: Data Science - Replies (2)

I take a numpy array, and write it to a gzip file like this:
[python]
f = gzip.GzipFile("frames.npy.gz", "a")
np.save(file=f, arr=arr)
f.close()
..... More

Print this item

  HELP: Combine records in a table with missing start or end date
Posted by: Techy_RN - Dec-13-2019, 08:43 PM - Forum: General Coding Help - Replies (1)

Hi guys, I'm a Clinical/Business Data Analyst for a large healthcare organization. I have recently started messing with Python to help me clean up som..... More

Print this item

  def functions in tkinter
Posted by: Fureneshi - Dec-13-2019, 08:41 PM - Forum: GUI - Replies (5)

I need to do something like this:
[python]from tkinter import *
import tkinter as tk
from PIL import ImageTk, Image
import tkinter.filedialog

class S..... More

Print this item

  Help with dataFrame
Posted by: DougFunnyBRA - Dec-13-2019, 07:37 PM - Forum: Data Science - No Replies

Hi everyone,
I need help with dataFrame(df). The df I'm working has a Time-series and a corresponding weight. Because the weights(Kg) are different..... More

Print this item

  Blender 2.49b not showing button when I run script on ubuntu like it does in windows?
Posted by: Vido - Dec-13-2019, 05:56 PM - Forum: General Coding Help - No Replies

I have an add-on for ..... More

Print this item

  Python3/Flask/LDAP-Active Directory
Posted by: tundrwd - Dec-13-2019, 04:37 PM - Forum: General Coding Help - Replies (1)

I need a cross-platform (Linux/Windows) method that allows me to perform LDAP/Active Directory queries in Python3. I need the following criteria:
[l..... More

Print this item

  How to use bfill und groupby under conditions
Posted by: karlito - Dec-13-2019, 03:50 PM - Forum: Data Science - Replies (1)

Hi,

I'm trying to backfill previous rows (which are filled with 0) with the mean of the last value before each serie of last 0.

see picture for ..... More

Print this item

  Python for web development
Posted by: sayyedkamran - Dec-13-2019, 03:40 PM - Forum: News and Discussions - Replies (3)

If Python is such a great language for any task (including web development), why is Python user Forum developed in PHP instead of python?

Print this item

  AttributeError: 'NoneType' object has no attribute 'label' : What's wrong ?
Posted by: Etienne17 - Dec-13-2019, 02:47 PM - Forum: General Coding Help - Replies (1)

Hello everyone,

I'm not able to solve my pb by myself, so let me explain what it is.

I'd like to automate the calculation with Abaqus. So I begi..... More

Print this item

  Why my program works from script but not from GUI?
Posted by: Matgaret - Dec-13-2019, 01:51 PM - Forum: General Coding Help - No Replies

I have a RUN script that runs all programs from the project. The script is run after pressing the OK button in the interface (QtDesigner) and is run b..... More

Print this item

  MYSQL quiz results
Posted by: naveen73 - Dec-13-2019, 01:33 PM - Forum: General Coding Help - Replies (1)

Hi,

We are working on a website and collecting quiz results. We are using Wordpress and ISpring Quizmaker. The results of the quiz are being pushed..... More

Print this item

  Basic Trigonometry Function
Posted by: m8jorp8yne - Dec-13-2019, 10:07 AM - Forum: Homework - Replies (9)

I know I just recently posted a thread, but these are the only two programs i'm having trouble with trying to get them to run properly. I will include..... More

Print this item

  Triangle function program
Posted by: m8jorp8yne - Dec-13-2019, 09:57 AM - Forum: Homework - Replies (2)

I'm pretty much having problems getting this program to run and i'm not sure whats wrong with my code in order to make sure everything is inputted cor..... More

Print this item

  indentations in python code inserts
Posted by: Skaperen - Dec-13-2019, 06:14 AM - Forum: Board - Replies (4)

it seems that python code insert are unindenting all the code lines in a code insert. at least it's the same amount for all lines in the same block, ..... More

Print this item

  abusing comprehensions for one line loops
Posted by: Skaperen - Dec-13-2019, 05:55 AM - Forum: News and Discussions - Replies (6)

how acceptable is it to do this:

    [print(x)for x in foo]
instead of this:
[python]
for x in foo:
print(x)
..... More

Print this item

  ImportError
Posted by: fullstop - Dec-13-2019, 05:22 AM - Forum: General Coding Help - Replies (2)

I have a directory structure as below:
WD/
main.py
pkg1/
__init__.py
file1.py
file2.py

Now I wou..... More

Print this item

  can i raise an exception in a try clause?
Posted by: Skaperen - Dec-13-2019, 04:48 AM - Forum: General Coding Help - Replies (14)

i'm trying to handle reading a cache file using try/except. if the reading fails for any reason, the except clause goes out to the internet and tries..... More

Print this item

  Sprite image.get_rect() moves sprite to 0, 0
Posted by: michael1789 - Dec-13-2019, 04:38 AM - Forum: Game Development - Replies (2)

In the update section I have down below, I have this:
[python]
self.image = pygame.transform.rotate(self.ship_img, self.dir)
print("before get_rect..... More

Print this item

  How to Loop my calculator input
Posted by: Michael1 - Dec-13-2019, 03:30 AM - Forum: General Coding Help - Replies (2)

Hello guys, I created a addition and subtraction calculator and I am wondering how to get the calculator to keep looping where it keeps asking for an ..... More

Print this item

  'invalid syntax' error
Posted by: rix - Dec-12-2019, 11:08 PM - Forum: General Coding Help - Replies (3)

[python]
def accCredDatabasesMethod(method):
if method=="open":
accUsernameDatabase=open("accUsernameDatabase.txt","w+")
accPa..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  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
  best way to learn python 11-18, 16:13 dutch mamta25 News and Disc...
Most views
  The best Prog... 579267
  Tutorial Requ... 512130
  Web Scraping ... 442190
  Newbie with P... 386297
  New Users Int... 379661
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
xdimbah Today
IsmaelSlalk Today
Stephenchers Today
alexferrina Yesterday
MattCarters 11-22

User Panel Messages

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