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,270
» Latest member: fobby888
» Forum threads: 38,787
» Forum posts: 175,855

Full Statistics

Online Users
There are currently 36 online users.
» 0 Member(s) | 34 Guest(s)
Bing, Google

Latest Threads
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
11 minutes ago
» Replies: 4
» Views: 108
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: Tuurbo46
2 hours ago
» Replies: 2
» Views: 101
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
3 hours ago
» Replies: 2
» Views: 95
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 04:07 PM
» Replies: 2
» Views: 137
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Nov-15-2025, 01:00 PM
» Replies: 5
» Views: 337
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 59
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Nov-14-2025, 06:38 PM
» Replies: 0
» Views: 93
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 325
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Nov-14-2025, 03:33 PM
» Replies: 3
» Views: 180
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 290

 
  Run Python 3 script with the same command on Windows, Linux, and macOS?
Posted by: ssrobins - Nov-15-2020, 06:36 AM - Forum: News and Discussions - Replies (3)

I use Python 3 scripts to automate various steps in continuous integration (CI) in Azure DevOps and GitHub Actions that runs on Windows, Linux, and ma..... More

Print this item

  Python, exceptions
Posted by: KingKhan248 - Nov-15-2020, 06:15 AM - Forum: General Coding Help - Replies (6)

I'm trying to practice using exceptions in python programming but I can't seem to figure out how it works.
I'm trying to create a basic program that ..... More

Print this item

  Question about functions(built-in)
Posted by: Jinja2Exploitation - Nov-15-2020, 04:24 AM - Forum: General Coding Help - Replies (2)

What built-in Python function can you use to create new config items that persist between requests?

Print this item

  Running Python in Command Prompt
Posted by: Anwar - Nov-15-2020, 03:00 AM - Forum: General Coding Help - Replies (3)

Hello everyone

I am a new member here and I wanted to start learning Python. I installed Python 3.9 today. It is working. But I wanted to run Pytho..... More

Print this item

  I created a Web scraping Udemy bot
Posted by: dimakiss - Nov-15-2020, 02:28 AM - Forum: Code sharing - Replies (1)

Hey All, I created a python bot that Web scrap Udemy courses from https://www.udemyfreebies.com/and takes only that only meet the condition (4.2+ star..... More

Print this item

  import random
Posted by: charlottelol - Nov-15-2020, 02:24 AM - Forum: General Coding Help - Replies (4)

Hello,

I am using

import random
in my code. Every time I try and use this import, this error codes up.[error]NameError:name 'istar..... More

Print this item

  SOLVED python script help
Posted by: buku - Nov-15-2020, 12:06 AM - Forum: General Coding Help - Replies (4)

Hey, super new to python and after following a few different tutorials and making a complete mess I was able to create a file to capture an image from..... More

Print this item

  AttributeError: 'str' object has no attribute 'size'
Posted by: russoj5 - Nov-14-2020, 11:44 PM - Forum: Homework - Replies (4)

Hi All,

I'm doing a homework assignment and getting some errors when running the doctest. Everything seems to work fine when I manually enter data,..... More

Print this item

  Using boolean mask in Numpy for 3D
Posted by: IlikePi - Nov-14-2020, 10:06 PM - Forum: General Coding Help - No Replies

I can generate a 8 x 8 x 4 matrix as follows using Numpy:

px = np.random.randint(1,254, (8,8,4),dtype=np.uint8)

This gives me 64 groups wh..... More

Print this item

  Using numpy as chart
Posted by: flaviu2 - Nov-14-2020, 08:31 PM - Forum: General Coding Help - Replies (5)

I have the following code:

[python]import numpy as np
import matplotlib.pyplot as plt

xlist = np.linspace(-3.0, 3.0, 100)
ylist = np.linspace(-3.0, ..... More

Print this item

  Using Bleck to write
Posted by: JarredAwesome - Nov-14-2020, 08:18 PM - Forum: General Coding Help - No Replies

Hey everyone,


does anyone have experience using bleak?

I am trying to write to a device using this:

[code]
async def run(address):
as..... More

Print this item

  Last Python (64bit) version for Windows 7?
Posted by: pstein - Nov-14-2020, 06:45 PM - Forum: General Coding Help - Replies (3)

What is the last version which is available for Windows 7 (64bit) ?

Print this item

  Help understanding RegEx logic/output
Posted by: pyNewbee - Nov-14-2020, 06:45 PM - Forum: General Coding Help - Replies (4)

Hi All,

I'm (brand) new to Python (self-learning using books/websites), so please forgive me if I'm asking real dumb/silly questions.

I'm curren..... More

Print this item

  Good Example for bi-directional Communication between Python and Windows (C#)
Posted by: raybowman - Nov-14-2020, 06:44 PM - Forum: General Coding Help - No Replies

Hi,

Does anyone know where I can find a good example of duplex pipe communication between a process running Python and another running .NET (C#)? I..... More

Print this item

  How to use a tuple as an argument of a function
Posted by: zarox - Nov-14-2020, 04:21 PM - Forum: General Coding Help - Replies (5)

I'm new to python and programming in general. I want to know how to use a tuple as the argument of a function

I've been using

[python]def funct..... More

Print this item

  Noob scraping with lxml check stock
Posted by: cwe6279 - Nov-14-2020, 04:15 PM - Forum: Web Scraping & Web Development - Replies (1)

I am interested in using lxml Python 3 and just chose what I thought would be an easy to follow tutorial... I am simply trying to see if a button exis..... More

Print this item

  programming an interpolation polynom relating newton
Posted by: Hallo810 - Nov-14-2020, 02:52 PM - Forum: General Coding Help - Replies (1)

Hello,
i try to programm an interpolation polynom relating newton. I get an interpolation polynom with the values, which is outcommented in the main-..... More

Print this item

  Pip Could not find a version
Posted by: Fearless - Nov-14-2020, 11:56 AM - Forum: General Coding Help - Replies (3)

I'm new to Python and Pip. I'm trying to install the app "td-ameritrade-python-api". I get this response: Collecting td-ameritrade-python-api
Could..... More

Print this item

Photo Could you help me ?
Posted by: Guichel - Nov-14-2020, 11:41 AM - Forum: Homework - Replies (2)

I have the folowing program and I don't understand why it says hat there is an error on the line n°8.
Could someone help me fix he bug please?

fr..... More

Print this item

  error HTTP Error 403: Forbidden
Posted by: local_bit - Nov-14-2020, 07:51 AM - Forum: Web Scraping & Web Development - Replies (1)

I am using API for a long time on https://localbitcoins.net/
Since November 13th, when using the urllib library for Python, an error appeared
I'm f..... More

Print this item

  Password Checker Assignment
Posted by: mcostello - Nov-14-2020, 05:43 AM - Forum: Homework - Replies (1)

Hi all I'm new to coding and am currently doing a assignment called Password Checker.
It has been split into 4 parts and I have passed the first 2 an..... More

Print this item

  About Twitter Scraping
Posted by: ahmetcakar - Nov-14-2020, 12:49 AM - Forum: Web Scraping & Web Development - Replies (1)

hello everyone.My question is about the twitter scrape.Rejected application my twitter developer account 4 times.I want use alternative thing. I was w..... More

Print this item

Photo installation of PythonWin to the Python 3.9
Posted by: Liki - Nov-14-2020, 12:05 AM - Forum: Homework - Replies (4)

Hello,

I'm starting to learn Python with a self-learning book.

So I installed Python 3.9.0 64 bit.
Furthermore, it was recommended in the bo..... More

Print this item

  Noob question:Using pyttsx3 with tkinter causes program to stop and close, any ideas?
Posted by: Osman_P - Nov-13-2020, 11:15 PM - Forum: GUI - Replies (4)

I installed the pyttsx3 libary to convert text to speech. And it works really great, until I want to use it in combination with tkinter. What happens ..... More

Print this item

  Func Animation not displaying my live graph
Posted by: jotalo - Nov-13-2020, 10:56 PM - Forum: General Coding Help - No Replies

This code is error-free but i don't know what i am not doing correctly that i can't get a live graph. Any help or direction would be appreciated.

..... More

Print this item

  Pickler().fast
Posted by: atombear - Nov-13-2020, 08:04 PM - Forum: General Coding Help - No Replies

I'm working on a codebase that experienced, in the far past, a blowup in memory when trying to pickle certain class instances. It was determined, at t..... More

Print this item

  should I ... go class or stick with functions?
Posted by: 3Pinter - Nov-13-2020, 07:22 PM - Forum: General Coding Help - Replies (4)

Hi guys,

I have a bunch of functions which are 'bundled' in a __init__.py

The functions are basicly way to get standard data from our office. ..... More

Print this item

  ImportError: No module named
Posted by: coltson - Nov-13-2020, 06:43 PM - Forum: General Coding Help - Replies (3)

Hello. I am facing the following error messages:

[error]Traceback (most recent call last):
File "optimizer.py", line 8, in <module>
import ..... More

Print this item

  .gif as avatar?
Posted by: michael1789 - Nov-13-2020, 05:34 PM - Forum: Board - Replies (3)

Is there anyway for one to upload a .gif animation as avatar? If not is it hard to make possible? I want to make my avatar look like it is flying. I..... More

Print this item

  Writing to file in a specific folder
Posted by: evapa8f - Nov-13-2020, 04:41 PM - Forum: General Coding Help - Replies (5)

Having trouble writing to a file in a specific directory. I'm using a loop to capture info from multiple devices so the actual filename is represente..... More

Print this item

  tkinter global variable
Posted by: chalao_adda - Nov-13-2020, 02:51 PM - Forum: GUI - Replies (6)

Hello,

I am trying to read a file from askopenfilename outside the function. I am getting blank file name. What am I doing wrong? Here is my code...... More

Print this item

  How to Filter a Dataframe
Posted by: mfkzolo - Nov-13-2020, 12:59 PM - Forum: Data Science - Replies (4)

I have this data
[quote]Active CreateDate CreateTime UserName S_ID
TRUE 2020-11-03 00:00:00 12:04:29 M001AE8 []
TRUE 2020-11-03 00:00:00 12:04:29 M..... More

Print this item

  Troubling question
Posted by: charlottelol - Nov-13-2020, 10:49 AM - Forum: Homework - Replies (1)

Hello everyone,

I need to find out how to see if the users answer is correct. In this, the answers are randomly generated and the user has to input..... More

Print this item

  matrix convert
Posted by: abbaszandi - Nov-13-2020, 10:13 AM - Forum: General Coding Help - Replies (2)

I want to convert a to b

a=[1,2,3,4,5,...,377]
b=[img]https://s17.picofile.com/file/8413809234/photo_%DB%B2%DB%B0%DB%B2%DB%B0_%DB%B1%DB%B1_%DB%B1..... More

Print this item

  Usage of format()
Posted by: cheers100 - Nov-13-2020, 09:37 AM - Forum: General Coding Help - Replies (2)

Hello,

The following code is about web spider, it is from a python tutorial, [b]but my question is irrelevnat to web spider, but a general question..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [SOLVED] Access keys and ... 11 minutes ago Winfried Winfried General Codin...
  Graph Interpolate Difficu... 2 hours ago Tuurbo46 Tuurbo46 General Codin...
  PermissionError: [Errno 1... 3 hours ago Tuurbo46 Tuurbo46 GUI
  How to make ball stay wit... 11-15, 16:07 nathanael deanhystad General Codin...
  sorting a lisr of file pa... 11-15, 13:00 Skaperen DeaD_EyE News and Disc...
  conditional nested loops 11-14, 23:31 Skaperen Skaperen News and Disc...
  PyQt6 QWidgets and system... 11-14, 18:38 stevecoh1 stevecoh1 GUI
  [solved] re.split issue 11-14, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... 11-14, 15:33 pbkurd Larz60+ General Codin...
  New to python and coding 11-13, 19:58 lary_p jefsummers Homework
  Backward compatibility qu... 11-13, 11:52 yutaozhou noisefloor News and Disc...
Most views
  The best Prog... 579055
  Tutorial Requ... 511074
  Web Scraping ... 442051
  Newbie with P... 386100
  New Users Int... 378277
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+ 12108
buran 8196
snippsat 7389
deanhystad 6913
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
fobby888 Today
digitalboy346 Today
ben9090o Today
ViktoriaMetodieva Today
tlandr02 Yesterday

User Panel Messages

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