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,938
» Latest member: atylerfraces2254
» Forum threads: 38,722
» Forum posts: 175,511

Full Statistics

Online Users
There are currently 47 online users.
» 0 Member(s) | 44 Guest(s)
Google, Bing, AOL

Latest Threads
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
11 hours ago
» Replies: 11
» Views: 4,105
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 582
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Sep-19-2025, 12:30 PM
» Replies: 1
» Views: 3,515
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 931
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,419
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,273
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,475
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,443
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,585
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 1,144

 
  Update Python 2.7 in place
Posted by: mathog - Jan-22-2018, 06:16 PM - Forum: Data Science - Replies (6)

A linux system has /usr/local/bin/python2.7 installed with a time stamp from August 2014. "python2.7 --version" says just "Python 2.7". There are many..... More

Print this item

  imaplib.error : login FAILED
Posted by: FanTom - Jan-22-2018, 06:15 PM - Forum: Networking - Replies (3)

Hello,


I have a problem when I'm launching my python script to connect to an email address and retrieve the latest attachments of unread emails...... More

Print this item

  Newbie question to return only the index of a dataframe
Posted by: zydjohn - Jan-22-2018, 03:40 PM - Forum: Data Science - No Replies

[python]
import datetime
import numpy as np
import pandas as pd

def get_index(df, offset):
print(df.iloc[offset:df.index.max(), 0:0])
..... More

Print this item

  save image from link.
Posted by: mr_byte31 - Jan-22-2018, 01:31 PM - Forum: General Coding Help - Replies (2)

Hi All,

I am trying to make a python script to download image from a link.
I always used this code:

[python]
import urllib.request
myImgLink = "htt..... More

Print this item

  Need help with Python + Neural Net Coding
Posted by: ThanosTitan - Jan-22-2018, 01:25 PM - Forum: Data Science - No Replies

A very good day to you Sir,

I hope you are doing Great Sir,

I downloaded Run.py and Create.py from the internet.

I would like to use the Run...... More

Print this item

  Python book recommendations?
Posted by: Regulus - Jan-22-2018, 10:52 AM - Forum: Tutorial Requests and Submissions - Replies (4)

Hello, I am in search of a good Python book for a 6th grade student who knows Python basics. He knows how to make a function and pass variables into i..... More

Print this item

  How to create dynamic webscraper in Django using BeautifulSoup
Posted by: Prince_Bhatia - Jan-22-2018, 07:35 AM - Forum: Web Scraping & Web Development - Replies (1)

I am trying to a dynamic webscraper using Django. I have a html button in which it has buttons so it is like when i will press the button it will star..... More

Print this item

  local variable 'option' referenced before assignment
Posted by: RedSkeleton007 - Jan-22-2018, 06:07 AM - Forum: General Coding Help - Replies (11)

As an example of what my program is supposed to do, lets say, for example, that the user's name was John, and he chose option 0, and then chose option..... More

Print this item

  background sessions
Posted by: Skaperen - Jan-22-2018, 06:04 AM - Forum: News and Discussions - Replies (2)

i have written a set of (5) scripts to use and manage background sessions based on the screen command.

Print this item

  semaphores
Posted by: Skaperen - Jan-22-2018, 05:35 AM - Forum: General Coding Help - Replies (1)

i would like to have a pair of cli scripts in Python3, where one of the scripts will be run given a name and it will wait for a semaphore of that name..... More

Print this item

  Obtaining values from columns
Posted by: oncebuddy - Jan-22-2018, 04:24 AM - Forum: Homework - Replies (1)

I want to obtain the top 3 cities and items based on their sales, but the only thing I can do now is return the all cities and items with their respec..... More

Print this item

  compacting a mutable sequence
Posted by: Skaperen - Jan-22-2018, 03:44 AM - Forum: General Coding Help - Replies (6)

i am looking for some already existing implementation of this logic i am ready to implement for myself, if necessary. i want to "compact" a mutable s..... More

Print this item

  Is ::= a typo or actually an operator?
Posted by: Regulus - Jan-22-2018, 03:35 AM - Forum: General Coding Help - Replies (1)

I am running python 3.4, and trying to learn how to use the keyword assert. It's featured on the Pythong docs page https://docs.python.org/3/reference..... More

Print this item

  Re. Substring counting
Posted by: Mekire - Jan-22-2018, 02:56 AM - Forum: Homework - Replies (9)

This would normally go in homework discussions, but as the user has already solved their problem there is no reason to not post publicly.

Original ..... More

Print this item

  loop until user enters no
Posted by: JohnnyFobby - Jan-22-2018, 02:39 AM - Forum: General Coding Help - Replies (4)

I started learning python 3 days ago and needed some help on my code...
[python]#Basic calculator
#First python calculator
#How to improve this???..... More

Print this item

  parsing comment tag
Posted by: ian - Jan-22-2018, 02:39 AM - Forum: Web Scraping & Web Development - Replies (2)

I am trying to parse a webpage with python 3.6.2 with BeautifulSoup4.
What I need is to retrieve the text of news headlines that are in comment tags (..... More

Print this item

  Repeat last command in pdb mode
Posted by: lylylytc - Jan-22-2018, 02:23 AM - Forum: General Coding Help - No Replies

Hi,

I wonder how can I repeat the last command I type in last pdb mode that I just quited. In the pdb mode, I can only use the up arrow to select t..... More

Print this item

  "if statement" and downloading a dataset
Posted by: Alberto - Jan-21-2018, 11:42 PM - Forum: General Coding Help - Replies (1)

Dear Python Users,

I have the code below (attach). What I want to do is to prompt a user to enter a ticker from Quandl website (financial/economic ..... More

Print this item

  Feedback on AI QA Triage Automation
Posted by: adrianqs - Jan-21-2018, 10:59 PM - Forum: News and Discussions - Replies (2)

Hi everyone Smile
I am working on building an AI defect triage system that analyzes patterns in defect reports/issue tickets to automate triage..... More

Print this item

  select Data input from csv file
Posted by: SeanBassett - Jan-21-2018, 08:48 PM - Forum: General Coding Help - Replies (6)

I need to get data from a csv (text) file.
I only need to read one piece of data from the csv file.

I am using Python in Blender 2.79 to control t..... More

Print this item

  PyCharm Early Release 2018.1 EAP now available
Posted by: Larz60+ - Jan-21-2018, 08:46 PM - Forum: News and Discussions - No Replies

I have only been playing with this for a few hours, but like some things
very much already, specifically the new project Virtual Environment setup wh..... More

Print this item

  Validate string using Regex
Posted by: rahul_raj1981 - Jan-21-2018, 07:28 PM - Forum: Homework - Replies (2)

hi,

I want to validate that the below string should only contain 0-9A-Za-z. Not sure how the space can be ignored and through the invalid message i..... More

Print this item

  Neural Network for Handwriting sample
Posted by: akashvuyyuru - Jan-21-2018, 07:24 PM - Forum: Code sharing - Replies (4)

Hello, I am creating a neural network for identifying handwriting samples. I wanted to alter it to achieve a 97+% success rate. Here is the code [pyth..... More

Print this item

  Finding nested delimiters
Posted by: wfsteadman - Jan-21-2018, 07:24 PM - Forum: General Coding Help - Replies (4)

Greetings all,
I have a configuration file and after much reviewing I found there is some structure to it, but not sure how to reach in and get the..... More

Print this item

  Class Struggle: Connecting a Method to an Outside Variable
Posted by: vulpesVelox - Jan-21-2018, 06:40 PM - Forum: Web Scraping & Web Development - Replies (7)

First off, be warned: I am a hopeless newbie within the realms of python with just shy of two months of experience thus far.

I am making slow progr..... More

Print this item

  define methods in another file
Posted by: bb8 - Jan-21-2018, 06:34 PM - Forum: General Coding Help - Replies (13)

hi forum! i'm pretty new to python, i just wrote some simple codes in python.

the examples i have seen and written define the method in the class ..... More

Print this item

  GPIO output timing help needed
Posted by: skid - Jan-21-2018, 02:50 PM - Forum: General Coding Help - Replies (5)

Greetings to the Group

I am a beginner to python so be nice to me.
I am trying to control a GPIO output from a HIGH input and have the output stay..... More

Print this item

  encoding issiue using requests
Posted by: dmbest - Jan-21-2018, 02:25 PM - Forum: General Coding Help - Replies (5)

Hi all,
I'm trying to get info from site with following code. I'm getting this:
['Gesellschafter/in', u'Vorsitzende/r der Gesch\xe4ftsf\xfchrung']
..... More

Print this item

  turtle module
Posted by: kalamarovskycom - Jan-21-2018, 11:10 AM - Forum: General Coding Help - Replies (1)

Hi;

Can you please help me eith the code in below? I want to draw five square that touch to each other on their upper-right corners, but I am n..... More

Print this item

  opencv help
Posted by: tony1812 - Jan-21-2018, 06:54 AM - Forum: General Coding Help - No Replies

Hello, I compiled opencv successfully, so I thought, but when I run a script, I got this opencv error:
[python]
OpenCV Error: Unspecified error (The..... More

Print this item

  numeric string sort
Posted by: Skaperen - Jan-21-2018, 04:53 AM - Forum: News and Discussions - Replies (6)

the numeric string sort is a sort based on numeric string compare. this compare works like a normal string compare until it encounters ..... More

Print this item

  Sub slicing in a dataframe
Posted by: akshit2291 - Jan-21-2018, 04:12 AM - Forum: General Coding Help - No Replies

I have a dataframe. I extracted a particular value say 19990102 using df2.iloc[0,2].

However, I want to make a loop to check the month in the above..... More

Print this item

  Deploying SSL for my Django 2.0.1 server with Apache on Ubuntu 16.04 (droplet)
Posted by: Drone4four - Jan-21-2018, 03:45 AM - Forum: Web Scraping & Web Development - Replies (2)

I’ve played with a little Django (v2.0.1) locally. Now I am trying to implement a test case on my production Apache web server. I’m running an Ubuntu ..... More

Print this item

  Python code example site
Posted by: Larz60+ - Jan-21-2018, 02:22 AM - Forum: News and Discussions - Replies (2)

Recently i was looking for some examples of requests.request api for files method.
Found this site
home URL: https://www.programcreek.com/python/
S..... More

Print this item

  Pygame typewriter class
Posted by: Windspar - Jan-21-2018, 02:09 AM - Forum: Code sharing - No Replies

It render text once. Uses clip rect for animations.

[python]import os
import pygame

class TypeWriterText:
def __init__(self, text, font, c..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  403 Error 11 hours ago CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  Scraping a page with log ... 09-19, 12:30 iamaghost Hershien Web Scraping ...
  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...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
Most views
  The best Prog... 576413
  Tutorial Requ... 498201
  Web Scraping ... 440316
  Newbie with P... 384201
  New Users Int... 367229
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+ 12089
buran 8175
snippsat 7368
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
atylerfraces2254 Yesterday
AdrianCocian Yesterday
humanoidAI Yesterday
Baran12332 09-19
Hershien 09-19

User Panel Messages

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