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,294
» Latest member: LewisByday
» Forum threads: 38,795
» Forum posts: 175,884

Full Statistics

Online Users
There are currently 186 online users.
» 1 Member(s) | 179 Guest(s)
Bing, Applebot, Google, AOL, AOL, mamta25

Latest Threads
Helpful Support for Stude...
Forum: General Coding Help
Last Post: jackhunter
8 minutes ago
» Replies: 0
» Views: 2
silent deployment Python ...
Forum: News and Discussions
Last Post: Bummibaer
2 hours ago
» Replies: 0
» Views: 17
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
8 hours ago
» Replies: 6
» Views: 201
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Yesterday, 02:18 PM
» Replies: 5
» Views: 92
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 70
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,510
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 166
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 77
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,122
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,314

 
  f-strings and backslashes
Posted by: newbieAuggie2019 - Oct-24-2019, 06:46 PM - Forum: General Coding Help - Replies (5)

Hi!

If I run this:

[python]string5 = '''Dear Alice,
How have you been? I am fine.
There is a container in the fridge
that is labeled "Milk Ex..... More

Print this item

  Python 3.8 or 3.? Trouble installing packages
Posted by: dn237 - Oct-24-2019, 05:45 PM - Forum: General Coding Help - Replies (5)

I have been working on writing a trading bot in PyCharm lately. I was getting close to finishing then Python and/or Pip updated so after seeing a sugg..... More

Print this item

  Retrieving items from JSON
Posted by: bazcurtis - Oct-24-2019, 05:31 PM - Forum: General Coding Help - Replies (12)

Hi,

I am very new to Python and I apologise if I am asking this wrong. I have retrieved a list of tenants via the API I am trying to use. I need to..... More

Print this item

  Python PIL cutting off text.
Posted by: DreamingInsanity - Oct-24-2019, 04:51 PM - Forum: General Coding Help - Replies (3)

I have created a little script that generates a small image in PIL. It has a gradient background and two sets of text written on it, that is gotten fr..... More

Print this item

  Function not working
Posted by: eglaud - Oct-24-2019, 03:26 PM - Forum: General Coding Help - No Replies

Hello,

I am creating code that will allow the user to (manually) paste a list of excel cells and return a list that lacks quotation marks and duplica..... More

Print this item

  plot multiple employee sales data in a single graph
Posted by: pitanshu - Oct-24-2019, 01:56 PM - Forum: General Coding Help - No Replies

Hello Folks

I am not able to proceed to plot multiple employee data in a single graph. Please suggest and I would be great-full.

I have the foll..... More

Print this item

  #'ing out several lines in Atom
Posted by: Mark17 - Oct-24-2019, 01:47 PM - Forum: General Coding Help - Replies (2)

I use Atom text editor, which seems to be familiar with Python when I save a file as .py .

Is there a way to highlight several lines of code and in..... More

Print this item

  Grid Studio
Posted by: buran - Oct-24-2019, 01:42 PM - Forum: News and Discussions - Replies (1)

Just landed on this page
https://medium.com/@alextrolese38/how-i-...03a6fd2a54
It looks..... More

Print this item

  Verify if .docx table of contents is updated as per document sections or not
Posted by: vintysaw - Oct-24-2019, 12:01 PM - Forum: General Coding Help - No Replies

Problem Statement: Verify if the Microsoft docx word document Table of Content is updated according to all Headings and sections available in the docu..... More

Print this item

  first try with python class, suggestion for improvement please
Posted by: anna - Oct-24-2019, 11:03 AM - Forum: General Coding Help - Replies (18)

Hi All,

this is my first script with python class. Thanks all forum admin.

I have few questions
1) is it good practice to have multiple class i..... More

Print this item

  How do objects work?
Posted by: pyThon_ - Oct-24-2019, 08:56 AM - Forum: General Coding Help - Replies (12)

How do objects work in python? For example:

x = 5
Is 5 the object which x refers to or is there an object in memory t..... More

Print this item

  Timed images
Posted by: menator01 - Oct-24-2019, 07:34 AM - Forum: General Coding Help - No Replies

I've been following a tutorial on youtube "buildwithpython" on a spaced invaders game. tutorial went great leaning alot. I've been tweaking and experi..... More

Print this item

  how to iterate through a divs tag
Posted by: yokaso - Oct-24-2019, 07:30 AM - Forum: Web Scraping & Web Development - Replies (3)

Hi
i would like to get an idea on how can i iterate through DIVs in code to get some data from each DIV.
my example is an amazon page results and wo..... More

Print this item

  How to hire best Python Developers for Website Development?
Posted by: johncook3245 - Oct-24-2019, 06:29 AM - Forum: Jobs - Replies (5)

I need a Python Developer, who has a good knowledge and high experience to develop a website with python.

Print this item

  run my script in a spefic version or any later one
Posted by: Skaperen - Oct-24-2019, 03:30 AM - Forum: News and Discussions - Replies (17)

in a POSIX system (i'm using Xubuntu 18.04 LTS) i can choose whether my script runs on python2 or python3 at the first line ... the #! line. i can ev..... More

Print this item

  open /dev/null or equivalent, portably
Posted by: Skaperen - Oct-24-2019, 02:25 AM - Forum: News and Discussions - Replies (1)

i would like to open a file to write to "/dev/null", or the equivalent, in a portable way. is there something that can cut this short and not even do..... More

Print this item

  Flask email hookup for password reset
Posted by: Larz60+ - Oct-24-2019, 01:58 AM - Forum: Web Scraping & Web Development - No Replies

I have all of the Flask code necessary to verify a users password change request, using gmail. However, when I attempt a test of the code, as soon as ..... More

Print this item

  [pygame] Moving an object at angles
Posted by: SheeppOSU - Oct-24-2019, 01:40 AM - Forum: Game Development - Replies (3)

I did all the code for moving at angles. I made it so that rotating to the right, it goes up to 359 and then 360 is 0. I have a slight problem that I ..... More

Print this item

  homeless - a GAME
Posted by: ronblue77 - Oct-24-2019, 12:55 AM - Forum: Code sharing - No Replies

hello everyone...

here is my other game "homeless - surviving the street" a scenario text based game where you as the player have to survive being ..... More

Print this item

  How do I get the tangent of a degree
Posted by: SheeppOSU - Oct-24-2019, 12:32 AM - Forum: General Coding Help - Replies (3)

I was trying to get the tangent of a degree, but math.tan returns the radian. How do I get the tangent of a degree? I hope I worded that right.


..... More

Print this item

  guess my number GAME
Posted by: ronblue77 - Oct-24-2019, 12:18 AM - Forum: Code sharing - Replies (2)

hello everyone... Smile

here is a simple game of guessing a number from 0 to 100
you can guess computer number or have computer guess your n..... More

Print this item

  Perminantly saving user inputs + being able to retrieve it
Posted by: ThatOneGuyNoOneKnowsCodes - Oct-23-2019, 10:46 PM - Forum: General Coding Help - Replies (1)

To whom it may concern,

Good afternoon, I have recently started a side project of mine to see how far I could stretch my knolage in python and I hi..... More

Print this item

  file doesn't exist
Posted by: mcgrim - Oct-23-2019, 09:09 PM - Forum: Networking - Replies (39)

I am trying to display an image through socket programming,
I have a server and a client file, and they seem to run fine,
however, once I write my f..... More

Print this item

  Installing pip and pandas
Posted by: DavidTheGrockle - Oct-23-2019, 08:56 PM - Forum: General Coding Help - Replies (2)

For a while I have been running fairly simple code using Python. Now I am trying to extract data from a very large CVS file and I need, I think, PIP, ..... More

Print this item

  Perpetual timing
Posted by: Mark17 - Oct-23-2019, 08:55 PM - Forum: General Coding Help - Replies (3)

As another use of a timer, I'm trying to do something like this:
[code]
import time

start = time.time()
y = input("What is 4 * 3?")
end = time...... More

Print this item

  splitstring file names a by hyphen
Posted by: steve22020 - Oct-23-2019, 07:55 PM - Forum: General Coding Help - Replies (3)

My script is supposed to go through a folder and search all the file names and split the text at the hyphen. My files are named, filename (hyphen) bad..... More

Print this item

  Timing input
Posted by: Mark17 - Oct-23-2019, 07:55 PM - Forum: General Coding Help - Replies (2)

I'm trying to find a simple timing snippet to measure response time.

This repeatedly outputs "it took 0.0 seconds." Why?

[code]
import time..... More

Print this item

  Stupid Bots
Posted by: ichabod801 - Oct-23-2019, 07:46 PM - Forum: Bar - No Replies

Usually when I'm programming a game, I'll make the stupid version of the bot first. It's easier, and I can test out the game mechanics and the general..... More

Print this item

  sqlite objects in thread can only be used in the same thread
Posted by: darktitan - Oct-23-2019, 06:00 PM - Forum: Web Scraping & Web Development - Replies (5)

hi.
I made a table showing user accounts in my app and i tought it would be a good thing to add an edit function to it so i can edit the accounts. Eve..... More

Print this item

  Is there a way to sleep without stopping user input?
Posted by: GalaxyCoyote - Oct-23-2019, 05:13 PM - Forum: GUI - Replies (2)

I am making an idle game, I will be using tkinter in the future but for now I am using the console as a sort of testing ground. I am trying to make a ..... More

Print this item

  Updating a Label with new information
Posted by: LucasRibeiro - Oct-23-2019, 01:26 PM - Forum: GUI - Replies (2)

I am building a program that makes a SELECT on my database on my local machine. In this program, I have a menu, and in it, I created a function called..... More

Print this item

  Get master secret TLS
Posted by: robcordes - Oct-23-2019, 12:41 PM - Forum: Networking - Replies (2)

I need to retrieve the pre-master secret generated by Requests for the TLS connection in order to use this to decrypt the traffic in Wireshark.

wou..... More

Print this item

  Exercise list remove duplicates
Posted by: RavCOder - Oct-23-2019, 12:24 PM - Forum: Homework - Replies (9)

Hi,
I was doing this exercise of practicePython site and I don't know why doesn't work

[python]
Write a program (function!) that takes a list and..... More

Print this item

  Problem importing resource library
Posted by: ChrisM - Oct-23-2019, 12:16 PM - Forum: General Coding Help - Replies (8)

Hopefully someone can help me...

I've used pip to install the resource library;

pip install resource
Collecting resource
Using cached https:..... More

Print this item

  Coding Python to make a game similar to Tic-Tac-Toe
Posted by: AdamJae - Oct-23-2019, 11:47 AM - Forum: Homework - Replies (3)

Hello all, so my Professor has set an assignment for me to complete. Here are the details on it:

He wants me to produce a game with tiles numbered ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Helpful Support for Stude... 8 minutes ago jackhunter jackhunter General Codin...
  silent deployment Python ... 2 hours ago Bummibaer Bummibaer News and Disc...
  data fetching for indian ... 8 hours ago drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... Yesterday, 14:18 Ninja2112 deanhystad GUI
  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...
Most views
  The best Prog... 579318
  Tutorial Requ... 512225
  Web Scraping ... 442208
  Newbie with P... 386313
  New Users Int... 379959
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 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
LewisByday Today
Bummibaer Today
Elevyn Today
kienvtm Today
irukson Today

User Panel Messages

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