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,994
» Latest member: Jacobjoift
» Forum threads: 38,737
» Forum posts: 175,583

Full Statistics

Online Users
There are currently 45 online users.
» 2 Member(s) | 40 Guest(s)
Bing, Google, AOL, Axel_Erfurt, bowlofred

Latest Threads
Посты о цветах
Forum: General Coding Help
Last Post: Jacobjoift
1 hour ago
» Replies: 0
» Views: 12
print does not open conso...
Forum: General Coding Help
Last Post: Axel_Erfurt
2 hours ago
» Replies: 4
» Views: 122
Weird failure in Selenium
Forum: General Coding Help
Last Post: Larz60+
9 hours ago
» Replies: 1
» Views: 76
Fred Economic Data API
Forum: Web Scraping & Web Development
Last Post: Trickety
Yesterday, 03:05 PM
» Replies: 3
» Views: 2,543
create ocr to detect lice...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:58 PM
» Replies: 2
» Views: 103
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:56 PM
» Replies: 6
» Views: 228
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Oct-01-2025, 03:05 AM
» Replies: 4
» Views: 2,054
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Sep-30-2025, 07:43 AM
» Replies: 2
» Views: 467
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Sep-30-2025, 12:21 AM
» Replies: 2
» Views: 1,099
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,175

 
  Running simple flask - getting 404
Posted by: beginner1 - Oct-25-2019, 12:42 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi,

Have a file called hello.py saved to D: drive as below.

[python]
from flask import Flask

app = Flask(__name__)

@app.route("/")
def h..... More

Print this item

  Capitalize first letter of names in nested loops
Posted by: student_of_python - Oct-25-2019, 09:52 AM - Forum: Homework - Replies (9)

Hi guys,

I got this:

names=[['peter','jack','bo'],'eva',['christian','joanne',7],'5']
#Make all names in nested loop above with capital first l..... More

Print this item

  Extracting elements in a list to form a message using for loop
Posted by: Tony04 - Oct-25-2019, 08:56 AM - Forum: Homework - Replies (2)

Hello, I'm trying to make a function that will extract letters from a text document to reveal a secret message. I'm stuck at the at the for loop. It s..... More

Print this item

  Help with Plotting Histogram
Posted by: Shimmy - Oct-25-2019, 06:46 AM - Forum: General Coding Help - Replies (1)

I was wondering whether some Python experts which can help me out with generating the histograms. I'm relatively new to Python and all help is welcome..... More

Print this item

  getting the value being tested
Posted by: Skaperen - Oct-25-2019, 06:24 AM - Forum: News and Discussions - Replies (1)

is there any possible way to combine an assignment and an elif test of a value obtained from a function call that is not to be repeat..... More

Print this item

  Finetuning GPT-2 twice for particular style of writing on a particular topic
Posted by: regstuff - Oct-25-2019, 04:39 AM - Forum: News and Discussions - No Replies

Sorry if this is a stupid question. I'm just starting out in NLP and am working with gpt-2 for text generation.

My situation is that I have to gene..... More

Print this item

  Best framework for WebAPI
Posted by: jesssajan - Oct-25-2019, 12:57 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi all,

we are planning to build Web API project using python. any suggestion for web framework?

Print this item

  quick function to get indentation level
Posted by: Skaperen - Oct-25-2019, 12:48 AM - Forum: News and Discussions - Replies (1)

i'm reading in a series of lines. it might be better to think of this as iterating over an iterator of lines. the lines may be indented just like r..... More

Print this item

  Find Average of User Input Defined number of Scores
Posted by: DustinKlent - Oct-24-2019, 11:53 PM - Forum: General Coding Help - Replies (1)

I am attempting to write a short practice script that finds the average of a user defined number of scores.

Here is the code I have:

[python]
..... More

Print this item

  is Path.samefile() always commutative?
Posted by: Skaperen - Oct-24-2019, 11:42 PM - Forum: News and Discussions - Replies (1)

is Path.samefile() always commutative? the documentation does not say. if both are symlinks, each pointing somewhere else, i'd think it would have t..... More

Print this item

  Inaccurate result when a vector is divided by a matrix
Posted by: FromTheColdNorth - Oct-24-2019, 10:24 PM - Forum: General Coding Help - Replies (3)

I'm relatively new in Python, I did a lots of programs in Octave but now try to transfer them in PyThon.
One of my program divide a vector by a matri..... More

Print this item

  Windows Vista
Posted by: fpefpe - Oct-24-2019, 09:34 PM - Forum: News and Discussions - No Replies

What version of python 3 can I install on vista? 3.8.0 crashed during the install -- I did not see any info in the
download page about system requ..... More

Print this item

  Sending data post to wsgiref
Posted by: JohnnyCoffee - Oct-24-2019, 09:04 PM - Forum: Web Scraping & Web Development - No Replies

Hi,

I am using the Wsgiref module to handle data entry through the GET method how can I handle getting data from a form via the POST method ?

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Посты о цветах 1 hour ago Jacobjoift Jacobjoift General Codin...
  print does not open conso... 2 hours ago Tycho_2025 Axel_Erfurt General Codin...
  Weird failure in Selenium 9 hours ago glestwid Larz60+ General Codin...
  Fred Economic Data API Yesterday, 15:05 warrior42 Trickety Web Scraping ...
  create ocr to detect lice... Yesterday, 13:58 bimosora noisefloor General Codin...
  Parse Markdown / get the ... Yesterday, 13:56 SpongeB0B noisefloor General Codin...
  Error: cannot mix str wit... 10-01, 03:05 ngregistrations Joliekeva General Codin...
  Integer Factorization Too... 09-30, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... 09-30, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... 09-29, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... 09-29, 12:59 tester_V snippsat General Codin...
Most views
  The best Prog... 577485
  Tutorial Requ... 501396
  Web Scraping ... 441110
  Newbie with P... 385164
  New Users Int... 369946
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+ 12093
buran 8178
snippsat 7371
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
Jacobjoift Today
lauren557 Today
maribita Today
AnalystRobert Today
Safariscampoea Today

User Panel Messages

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