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,280
» Latest member: ndx101
» Forum threads: 38,790
» Forum posts: 175,869

Full Statistics

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

Latest Threads
How to put my game loop i...
Forum: Game Development
Last Post: Santoro
2 hours ago
» Replies: 12
» Views: 5,997
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
3 hours ago
» Replies: 4
» Views: 1,444
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Yesterday, 02:10 PM
» Replies: 2
» Views: 95
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Yesterday, 06:48 AM
» Replies: 0
» Views: 34
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Yesterday, 04:46 AM
» Replies: 2
» Views: 4,283
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 299
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 148
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Nov-18-2025, 06:47 PM
» Replies: 2
» Views: 211
best way to learn python
Forum: News and Discussions
Last Post: mamta25
Nov-18-2025, 04:13 PM
» Replies: 5
» Views: 3,116
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Nov-17-2025, 11:47 AM
» Replies: 4
» Views: 257

 
  How do I store the data in another txt file
Posted by: blacklight - Jun-26-2020, 09:46 AM - Forum: General Coding Help - Replies (1)

Hi I'm trying to figure out how I can use a txt files for my users and passwords. I have a function that let's you create a new user, however I want t..... More

Print this item

  [Selenium]Timed out receiving message from renderer: 10.000
Posted by: wood_6636 - Jun-26-2020, 08:59 AM - Forum: General Coding Help - No Replies

Hi all,

We are suffered from the following error that when the time we run via cron the below error occur intermittently (Sometime it works and r..... More

Print this item

  Choose your own adventure game
Posted by: noahc2004 - Jun-26-2020, 08:19 AM - Forum: General Coding Help - Replies (2)

I get confused when creating these. I want to end the code if you choose one option so that route stops but carry on in the other. Please help.[python..... More

Print this item

  Simple beginner query--Please help!Thanks
Posted by: Nienie - Jun-26-2020, 07:56 AM - Forum: Homework - Replies (3)

Hi everyone,

I am a very fresh learner and have a question regarding the guess number game below. Please help!

My question is the result still ..... More

Print this item

  Using .join()
Posted by: extricate - Jun-26-2020, 06:40 AM - Forum: Homework - Replies (3)

Hi there,

I'm supposed to join up the string by entering an input. I can't seem to get it to work, I suspect the separator i input might not be a s..... More

Print this item

  how does .join work with list and dictionaries
Posted by: gr3yali3n - Jun-26-2020, 06:28 AM - Forum: General Coding Help - Replies (7)

[python]
location={
0:'quit',
1:'town',
2:'beach',
3:'country side',
4:'city',
5:'outer space'
}

exits=[
{'Q':0},
{'W':2,'E':3,'N..... More

Print this item

  Stuck comparing two floats
Posted by: Tizzle - Jun-26-2020, 06:08 AM - Forum: General Coding Help - Replies (7)

Good morning all,

I am trying to compare two floats, they are in fact application version numbers.
The code is old and in python 2.7 because certain ..... More

Print this item

  Looking for help on making a script [no idea where to start]
Posted by: Chietnemese - Jun-26-2020, 02:53 AM - Forum: General Coding Help - Replies (1)

Was looking to make a script for a game i play to click on buttons as they appear on screen because its just too hard for me to do lol the buttons app..... More

Print this item

  Assigning Column nunique values to another DataFrame column
Posted by: Pythonito - Jun-26-2020, 02:26 AM - Forum: General Coding Help - Replies (1)

I'm having issues assigning an nunique value to a dataframe column.

Can't show real data but dataframe df is like below:

[python]
Doc_Set D..... More

Print this item

  Can't install Numpy in Pycharm
Posted by: asdasdasd - Jun-26-2020, 02:03 AM - Forum: General Coding Help - Replies (4)

I have the latest Pycharm version on Windows 10

https://imgur.com/bXPM2ao

and when I try to install the library numpy through the Pycharm I get ..... More

Print this item

  Iterating Large Files
Posted by: Robotguy - Jun-25-2020, 10:46 PM - Forum: General Coding Help - Replies (10)

Hello,

I am a beginner and will appreciate any alternatives to handle my problem. Simply put, I have two files, containing one vector each. Aim is ..... More

Print this item

  open('foo','ab+')
Posted by: Skaperen - Jun-25-2020, 10:31 PM - Forum: News and Discussions - Replies (6)

what does this mode really do in open('foo','ab+')? does it work only beyond the end of an existing file?

Print this item

  Project files, Python files
Posted by: Heyjoe - Jun-25-2020, 10:14 PM - Forum: General Coding Help - Replies (4)

Hello Python Users

I am a beginner in Python. I use the Pycharm editor. I have a project file called Myproject.py. This file is stored in the Py..... More

Print this item

  lexical diversity calculation
Posted by: AOCL1234 - Jun-25-2020, 08:52 PM - Forum: General Coding Help - Replies (1)

How does one limit text length when calculating lexical diversity? For instance, say I would like to calculate the lexical diversity of TextA. While i..... More

Print this item

  Serialization and Deserialization between JSON obj and Python obj
Posted by: Yoki91 - Jun-25-2020, 07:24 PM - Forum: General Coding Help - Replies (4)

Hey guys,
I am currently learning serialization and deserialization between JSON obj and Python obj, there's the sample code:

[python]
class Who:..... More

Print this item

  Assigning Column nunique values to another DataFrame column
Posted by: Pythonito - Jun-25-2020, 05:04 PM - Forum: Data Science - No Replies

I'm having issues assigning an nunique value to a dataframe column.

Can't show real data but dataframe df is like below:

[python]
Doc_Set Doc..... More

Print this item

  Need help with NPC (bot)
Posted by: Paul_Choi06 - Jun-25-2020, 04:44 PM - Forum: Game Development - Replies (3)

Hi, my name is Paul and I would like to make a simple game. In the game I wish to add a bot that could jump at random times on its own. It would be am..... More

Print this item

  Help with for-loop printing. I want it to print only once.
Posted by: blacklight - Jun-25-2020, 04:06 PM - Forum: Homework - Replies (2)

Hi I'm new to python and I'm currently working on a python login programm for school. this is what I have so far:
The thing is when I intentionally t..... More

Print this item

  Python GUI for Android - ebook for free
Posted by: OlafArtAnanda - Jun-25-2020, 04:01 PM - Forum: News and Discussions - Replies (2)

Hello
After I wrote now my third book about Python GUI, I have now created a new website and also a newsletter.

These days am giving away my newes..... More

Print this item

  String index out of bounds ( Python : Dict )
Posted by: kommu - Jun-25-2020, 03:55 PM - Forum: General Coding Help - Replies (2)

Hello All,

I am trying to convert Roman number to Integer (III-->3) and to do that I need to compare characters one by one in a dictionary. How do ..... More

Print this item

  What am I doing wrong to not get the answer
Posted by: pav1983 - Jun-25-2020, 03:21 PM - Forum: Homework - Replies (7)

[i]In this challenge you will be given a relation between two numbers, written as a string.

Here are some example inputs:

"2 = 2", "8 < 7", "5 =..... More

Print this item

  Can someone help me optimize this game for large number of strings
Posted by: Emekadavid - Jun-25-2020, 11:30 AM - Forum: Homework - Replies (13)

I was given an assignment to create a game that takes a string as input and then evaluate the substrings starting with a consonant and the substrings ..... More


Attached Files

.txt   testcase.txt (Size: 4.88 KB / Downloads: 453)
Print this item

  what's homogeneus items defined by list
Posted by: frank0903 - Jun-25-2020, 10:16 AM - Forum: News and Discussions - Replies (5)

Quote:Lists are mutable sequences, typically used to store collections of homogeneous items
what's homogeneous items or homogeneous data?
..... More

Print this item

  making list in looping a dictionary
Posted by: glennford49 - Jun-25-2020, 09:34 AM - Forum: General Coding Help - Replies (9)

how to make a list out of this ?
is this the right approach?
[python]
users={"glenn":1,"elena":2,"mama":3}
names=(list(users.keys()))
for i in names:
..... More

Print this item

  ModuleNotFoundError: No module named 'http.client'; 'http' is not a package
Posted by: abhishek81py - Jun-25-2020, 08:55 AM - Forum: General Coding Help - Replies (1)

i'm running this code

import requests
url="https://news.google.com/news/rss"
x=requests.get(url)
print(x)
[b]and this er..... More

Print this item

  How to access files from shared folder?
Posted by: samandhare - Jun-25-2020, 07:30 AM - Forum: General Coding Help - Replies (4)

I am trying to connect share folder using python but not able to connect
bellow is my code:
[python]
from pathlib import Path
data_folder ..... More

Print this item

  Tools for black box and glass box (white box) testing
Posted by: Emekadavid - Jun-25-2020, 07:21 AM - Forum: News and Discussions - Replies (3)

Please can someone recommend a tool for black box testing and white box (or glass box) testing. I need to do testing on some code and need them.or may..... More

Print this item

  Soccer Teams and Trains
Posted by: Uwotm888 - Jun-25-2020, 05:50 AM - Forum: Homework - Replies (10)

Essentially, the script is to take soccer teams (15 players per team) and calculate the cheapest carts to rent

big cart carry's 48 people costs $2..... More

Print this item

  Unable to click element in web page
Posted by: Kalpana - Jun-25-2020, 05:20 AM - Forum: Web Scraping & Web Development - No Replies

Hello All,

I am trying to use python code for dynamic element where after login into URL I need to click element which is not happening with the be..... More

Print this item

  PyQt Vs Kivy
Posted by: SpongeB0B - Jun-25-2020, 04:57 AM - Forum: News and Discussions - Replies (1)

What are the main differences between the two ?

is both have a IDE (WYSIWYG editor)to design the interface ?

Where I can see GUI/apps created wi..... More

Print this item

  Looking for a book to deepen my Python knowledge.
Posted by: SpongeB0B - Jun-25-2020, 04:38 AM - Forum: News and Discussions - Replies (2)

Hi everyone,

I'm looking for a book for deepen my Python knowledge.

a book (or web resources)that cover all the stock module (https://docs.pytho..... More

Print this item

  Why Car() takes no arguments
Posted by: louis216 - Jun-25-2020, 03:03 AM - Forum: General Coding Help - Replies (2)

[python]class Car:

def __int__(self,make,model,year):
self.make = make
self.model = model
self.year = year

de..... More

Print this item

  comparing types
Posted by: Skaperen - Jun-25-2020, 02:47 AM - Forum: News and Discussions - Replies (5)

my function gets 2 arguments, foo and bar. they need to be the same type. verifying this is pretty obvious:[python]if type(foo)..... More

Print this item

  Python logging error
Posted by: Mekala - Jun-25-2020, 02:19 AM - Forum: General Coding Help - Replies (2)

Hi,
I am running the below code to print the log.
python version is: Out[11]: '3.6.8 |Anaconda 4.3.1 (64-bit)| (default, Feb 21 2019, 18:30:04) [MSC..... More

Print this item

  One more issue with displaying API information
Posted by: card51shor - Jun-25-2020, 01:33 AM - Forum: Homework - Replies (15)

Hey guys so I'm not able to print out the decimal of the average score in the JSON return from the /api/<isbn> route.

How can I change this so it p..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to put my game loop i... 2 hours ago temlotresid6 Santoro Game Developm...
  My goal to be hired worki... 3 hours ago GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... Yesterday, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... Yesterday, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  Help with running PvZ Fus... Yesterday, 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...
  [SOLVED] Access keys and ... 11-17, 11:47 Winfried Winfried General Codin...
  PermissionError: [Errno 1... 11-17, 08:44 Tuurbo46 Tuurbo46 GUI
Most views
  The best Prog... 579190
  Tutorial Requ... 511915
  Web Scraping ... 442140
  Newbie with P... 386222
  New Users Int... 379138
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
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
ndx101 Today
Santoro Today
OtiliaBecker Today
NAGASOWMYAGUNDU Yesterday
shipa1autotransport Yesterday

User Panel Messages

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