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,282
» Latest member: MattCarters
» Forum threads: 38,793
» Forum posts: 175,871

Full Statistics

Online Users
There are currently 91 online users.
» 0 Member(s) | 85 Guest(s)
Google, AOL, Mojeek, Applebot

Latest Threads
iBolt Cyber Hacker Recove...
Forum: General Coding Help
Last Post: MattCarters
37 minutes ago
» Replies: 0
» Views: 2
data fetching for indian ...
Forum: General Coding Help
Last Post: drakhsin
9 hours ago
» Replies: 0
» Views: 39
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Yesterday, 08:30 PM
» Replies: 0
» Views: 37
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Yesterday, 06:15 AM
» Replies: 4
» Views: 1,469
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 122
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 49
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,042
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,292
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 344
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 184

 
  Return values for use outside of function
Posted by: willowman - Apr-13-2020, 06:50 AM - Forum: General Coding Help - Replies (1)

Hi all,

I have written a function which contains a loop which gradually builds a displacement vector. I would like to plot this generated displace..... More

Print this item

  Repition structures?
Posted by: Katididit - Apr-13-2020, 03:12 AM - Forum: Homework - Replies (3)

Hey all, I am trying to finish this code off, but I am stuck with how to add in if the T or S is false and also getting the loop to work properly with..... More

Print this item

  Simple time comparison
Posted by: superwave33 - Apr-13-2020, 01:47 AM - Forum: Homework - Replies (5)

Hi,

I have been struggling with this for 2 days and can't seem to find the recipe.
I simply want to compare the current time with two time boun..... More

Print this item

  Taking brackets out of list in print statement
Posted by: pythonprogrammer - Apr-13-2020, 01:25 AM - Forum: General Coding Help - Replies (3)

How do I take brackets out of multiple lists in a print statement. Say I have the following lists of numbers:

[python]j = [2,5]
k = [4,6]
e = [7,..... More

Print this item

  Tkinter: increasing numbers and Radiobutton issue
Posted by: PeroPuri - Apr-13-2020, 01:06 AM - Forum: GUI - Replies (1)

Hi everyone,
I'm having a bit of trouble with my code using tkinter:

[python]from openpyxl import *
from tkinter import *
from datetime import d..... More

Print this item

  Touble with subprocess
Posted by: jake9wi - Apr-12-2020, 11:47 PM - Forum: General Coding Help - Replies (6)

Hello, I am trying to write a script that calls a program to play audio and then restart the program so often.

However the program is not being ..... More

Print this item

  Help with sudoku
Posted by: Mondata - Apr-12-2020, 07:00 PM - Forum: General Coding Help - Replies (4)

Just for learning purposes, I am trying to make a script that returns the candidates of every empty cell (I have just put 0) in a sudoku.

I just tr..... More

Print this item

  Confused by 'break' in the official documents
Posted by: Chuck_Norwich - Apr-12-2020, 06:22 PM - Forum: General Coding Help - Replies (2)

Found these examples in the documentation.Was looking up For/Else loops. They both use a break statement. Was a bit confused why the break statement w..... More

Print this item

  / token in function parameterlist
Posted by: tpourjalali - Apr-12-2020, 06:17 PM - Forum: General Coding Help - Replies (1)

So I'm learning python by just reading documentation after I decided that none of the books and courses out there are good enough. Here's the question..... More

Print this item

  Arithmetic and python
Posted by: pythonuser1 - Apr-12-2020, 06:05 PM - Forum: Homework - Replies (1)

Hello Guys,

I have a issue with this problem :

nbEleveEcole : number of students in the school. First input
nbClasse : number of classes. Secon..... More

Print this item

  make a turtle object an image
Posted by: Agusben - Apr-12-2020, 04:40 PM - Forum: General Coding Help - Replies (2)

i have a program that plots a parametric equation and then saves the drawing to a jpg image file.

[python]
import turtle
from math import cos,si..... More

Print this item

  Opening a file
Posted by: amitsinbox - Apr-12-2020, 03:32 PM - Forum: General Coding Help - Replies (6)

when I am trying to open a file in pthton 3 jupytor notebook, I get following error: what wrong am I doing?

[python]file1=open("\C:\Users\Amit Kum..... More

Print this item

  POST request with form data issue web scraping
Posted by: hoff1022 - Apr-12-2020, 03:03 PM - Forum: Web Scraping & Web Development - Replies (1)

Please help. I'm trying to create a POST request on an .asp site that requires cookies, but the way I handle them seems not to return anything. Read t..... More

Print this item

  ошибка в скрипте
Posted by: vlrubl777 - Apr-12-2020, 02:44 PM - Forum: General Coding Help - Replies (4)

Windows 7 Python 3.8
https://github.com/geniusprodigy/mnemonic-to-wif
скрин ошибки [url=..... More

Print this item

  Question regarding local and global variables
Posted by: donmerch - Apr-12-2020, 02:02 PM - Forum: General Coding Help - Replies (12)

I'm relatively new to learning Python. I've been reading "Mastering Python". In chapter 2 on Variables it provides an example similar to this:
[pytho..... More

Print this item

  AttributeError: 'NoneType' object has no attribute 'bind'
Posted by: faszination_92 - Apr-12-2020, 01:43 PM - Forum: GUI - Replies (2)

Hey guys, I'm pretty new at coding kivy and think one of you could help me with a simple solution. I want to include the variable named [show_text] in..... More

Print this item

  identify un-managed switches in network
Posted by: c5244714 - Apr-12-2020, 01:12 PM - Forum: Networking - No Replies

hello all,
one of our major problem are un-managed switches connected by users in our edge switches.
all or access switches and distribution switche..... More

Print this item

  Help: for loop with dictionary and nested lists
Posted by: mart79 - Apr-12-2020, 12:51 PM - Forum: General Coding Help - Replies (1)

Hi all,

Can you help me with the following double for loop, writing it more cleanly and make it work for 'lc3'

[python]
old = 'car'
new = 'scooter'
..... More

Print this item

  Generate PDF + QR code?
Posted by: Winfried - Apr-12-2020, 12:40 PM - Forum: General Coding Help - Replies (3)

Hello,

I know nothing about PDF and QR code.

I'd like to write a Python3 script to avoid filling forms over the web.

The script would…
1. Re..... More

Print this item

  Importing Dataset
Posted by: PythonGainz - Apr-12-2020, 12:19 PM - Forum: Data Science - Replies (1)

Howdie!

Not sure if I can post this here, or if it belongs to data analysis.

So I'm importing a dataset and defining x and y.

Here's the code..... More

Print this item

  create a function that can count
Posted by: polk203 - Apr-12-2020, 11:53 AM - Forum: Homework - Replies (1)

hello guys im a french student and I have a question:

How could i create a function that can count how mani times i used it please ? I don't have a..... More

Print this item

  How to overwrite file
Posted by: SriRajesh - Apr-12-2020, 11:29 AM - Forum: General Coding Help - Replies (3)

Hi,
I am writing some log file, and when I run each time I want to flush out everything (don't want to keep any previous data) I use the below code, b..... More

Print this item

  lHelp! Lists
Posted by: bwdu - Apr-12-2020, 10:24 AM - Forum: General Coding Help - Replies (1)

[python]a = [(2, 5), (1, 2), (4, 4), (2, 3), (2, 1)]

lastelements = []
for i in range(len(a)):
for t in a[i]:
lastelements.append(t[..... More

Print this item

  Python - change variable type during program execution
Posted by: ple - Apr-12-2020, 08:33 AM - Forum: General Coding Help - Replies (1)

Why python allows to change the type of a variable during program execution.
Example:
sample_var = "test"; (type->string)
sample_var = 1; (typ..... More

Print this item

  Tkinter loops
Posted by: mattemio - Apr-12-2020, 07:36 AM - Forum: GUI - Replies (4)

Hi guys!
I'm an absolute newbie in python.
I have this problem with tk inter:

[python]
class months():
def __init__ (self,name,days_of_the..... More

Print this item

  Annualised returns in python. Urgent request
Posted by: shivamdang - Apr-12-2020, 07:27 AM - Forum: General Coding Help - Replies (2)

hi,
I have a data from 1930 of stock returns monthly. I have calculated annualized return for the whole date as annualized_ret. Now I want the annual..... More

Print this item

  Hover event
Posted by: DT2000 - Apr-12-2020, 07:16 AM - Forum: GUI - Replies (9)

Good morning all, I have been reading a lot of different threads on various sites for information on how to make a simple hover routine for when a mou..... More

Print this item

  Array Dimensions - NEWBIE
Posted by: willowman - Apr-12-2020, 06:54 AM - Forum: Homework - Replies (2)

Hi all,

I'm looking at a problem in structural dynamics. I need to do a what I thought would be a fairly simple calculation of a 3x3 array transpo..... More

Print this item

  a script i want...
Posted by: Skaperen - Apr-12-2020, 05:38 AM - Forum: News and Discussions - Replies (6)

a script i want to make real quick because i want to use it. what want is something that will display a picture, given a file that has a (huge ... 80..... More

Print this item

  Turtle fillcolor?
Posted by: bobgardner - Apr-12-2020, 04:32 AM - Forum: GUI - Replies (2)

Hello turtle experts and maintainers. I think the turtle is always black? Is there a way to change the turtle fill color? I have a proj using turtle t..... More

Print this item

  for web scraping, what library other than selenium and scrapy are still good to use?
Posted by: Kai - Apr-12-2020, 03:43 AM - Forum: News and Discussions - Replies (1)

I use selenium and scrapy alot for web scraping.
Here are the main reasons I like those:

Selenium:
can access dynamic page
access iframe
it ..... More

Print this item

  is there any way to hid print()
Posted by: Kai - Apr-12-2020, 03:20 AM - Forum: General Coding Help - Replies (1)

I have a huge code that links with many functions. For debug purposes, I need to have alot

 print() 
in many of my functions. But it ..... More

Print this item

  a command to write i just thought of
Posted by: Skaperen - Apr-12-2020, 03:18 AM - Forum: News and Discussions - No Replies

i just needed such a command so i thought of writing it. it would be intended to compress a file and also report the compression ratio (input size / ..... More

Print this item

  what programming language to learn other than python in real mass-production product?
Posted by: Kai - Apr-12-2020, 03:02 AM - Forum: News and Discussions - Replies (1)

I am wondering what is the main programming language for mass-production physical product. Many people (for only those I know) was saying C++ is the c..... More

Print this item

  question about using javascript on python selenium
Posted by: Kai - Apr-12-2020, 02:24 AM - Forum: Web Scraping & Web Development - Replies (1)

I know we can apply javascript in python selenium in

driver.execute_script("some javascript code here")
I don't know anything ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  iBolt Cyber Hacker Recove... 37 minutes ago MattCarters MattCarters General Codin...
  data fetching for indian ... 9 hours ago drakhsin drakhsin General Codin...
  Brazil Python Help to aut... Yesterday, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... Yesterday, 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... 579236
  Tutorial Requ... 512061
  Web Scraping ... 442168
  Newbie with P... 386287
  New Users Int... 379397
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 7389
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
MattCarters Today
drakhsin Today
MileHigh303 Yesterday
ndx101 Yesterday
OtiliaBecker Yesterday

User Panel Messages

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