Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,952
» Latest member: Jorgecog
» Forum threads: 38,725
» Forum posts: 175,519

Full Statistics

Online Users
There are currently 49 online users.
» 0 Member(s) | 39 Guest(s)
Applebot, Bing, Google, AOL, Mojeek, Facebook

Latest Threads
pip install requests does...
Forum: General Coding Help
Last Post: adamsmith12
3 hours ago
» Replies: 9
» Views: 29,109
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:00 PM
» Replies: 4
» Views: 9,291
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
Yesterday, 09:08 AM
» Replies: 0
» Views: 178
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
Yesterday, 03:29 AM
» Replies: 2
» Views: 592
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
Yesterday, 02:36 AM
» Replies: 0
» Views: 202
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Sep-22-2025, 08:56 PM
» Replies: 9
» Views: 744
403 error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 5,001
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,260
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,623
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 3,187

 
  Help with Python functions
Posted by: kam_uk - Nov-15-2020, 08:13 PM - Forum: Homework - Replies (4)

Hi

I am trying one of the HackerRank challenges.

I have the following code in Python as part of a problem. What I need to do is have an output ..... More

Print this item

  How to check if my argument is a tuple with 3 tuples
Posted by: zarox - Nov-15-2020, 06:12 PM - Forum: General Coding Help - Replies (1)

So I have this function that will tell me if my argument is a tuple with 3 tuples in it, each of them with 3 digits.
so I'm using a lot of ifs, isinst..... More

Print this item

  [split] How to display isometric maps with pygame?
Posted by: mattwins - Nov-15-2020, 05:57 PM - Forum: Game Development - Replies (6)

I'm not using pytmx - but this has been helpful for me to be able to see calculations in creating an isometric map.

I'm having trouble making my t..... More

Print this item

  Learning about if statements
Posted by: kam_uk - Nov-15-2020, 04:59 PM - Forum: Homework - Replies (1)

Bello, I am learning about if statements. The question is to assign True or False to variables small and green. Then write some if/else statements to ..... More

Print this item

  Infinite loop problem
Posted by: Zirconyl - Nov-15-2020, 04:50 PM - Forum: General Coding Help - Replies (5)

Hello all I am looking for help with a simple python3 code that I am using for taking dht22 sensor readings and logging them for influxdb and grafana ..... More

Print this item

  Writing unit test results into a text file
Posted by: ateestructural - Nov-15-2020, 04:41 PM - Forum: General Coding Help - Replies (3)

I want to write the results of my unit tests into a text file but it does not seem to be working. Here is my code:

I shall be grateful if someone c..... More

Print this item

  Block comment in Intellij
Posted by: kam_uk - Nov-15-2020, 04:31 PM - Forum: General Coding Help - Replies (2)

Hi All

I am using Intellij with Python 3.8. I'd like to block comment code, but can't figure this out and no amount of googling is helping!

I we..... More

Print this item

  Tips about a cheap mini server?
Posted by: TurboC - Nov-15-2020, 03:41 PM - Forum: Bar - No Replies

currentry I'm working remotely using OneDrive and TeamViewer. the first one keeps my working life easier, because I can access to my private files whe..... More

Print this item

  Convert date integers (ex. 43831) to regular format
Posted by: Galven - Nov-15-2020, 01:43 PM - Forum: General Coding Help - Replies (2)

Hi,

I'm currently learning Python 3 and I am struggling with converting date integers into another format.
The dates have the format 43831, 43832,..... More

Print this item

  Portable installation of Python possible?
Posted by: pstein - Nov-15-2020, 09:17 AM - Forum: General Coding Help - Replies (2)

When I go to the Download page then I can see only Installers and no portable *.zip package.

I would like to put Python on an USB Flash Drive and r..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  pip install requests does... 3 hours ago misodca adamsmith12 General Codin...
  Creating a Mindmap progra... Yesterday, 12:00 J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... Yesterday, 09:08 compuman145 compuman145 General Codin...
  A coding beginner needs h... Yesterday, 03:29 Littlefish Littlefish General Codin...
  Is the interpreter that c... Yesterday, 02:36 helendamdam helendamdam General Codin...
  Using a For Loop to subtr... 09-22, 20:56 Anunderling deanhystad General Codin...
  403 error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
Most views
  The best Prog... 576786
  Tutorial Requ... 499134
  Web Scraping ... 440575
  Newbie with P... 384545
  New Users Int... 368399
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12088
buran 8176
snippsat 7367
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Jorgecog Today
adamsmith12 Today
Ronny Today
Luciana Today
MatthewRodia Today

User Panel Messages

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