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,959
» Latest member: Xuitar
» Forum threads: 38,728
» Forum posts: 175,533

Full Statistics

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

Latest Threads
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
32 minutes ago
» Replies: 1
» Views: 520
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
35 minutes ago
» Replies: 6
» Views: 4,763
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
3 hours ago
» Replies: 1
» Views: 1,442
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
9 hours ago
» Replies: 1
» Views: 2,499
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Today, 12:32 AM
» Replies: 0
» Views: 167
extracting data from a us...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 01:49 PM
» Replies: 2
» Views: 345
how to export a dictionar...
Forum: GUI
Last Post: Pedroski55
Yesterday, 03:45 AM
» Replies: 3
» Views: 411
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-24-2025, 02:48 PM
» Replies: 10
» Views: 29,708
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Sep-23-2025, 12:00 PM
» Replies: 4
» Views: 9,593
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
Sep-23-2025, 09:08 AM
» Replies: 0
» Views: 454

 
  Raspberry Pi GUI
Posted by: furwolf13 - Sep-17-2018, 08:29 PM - Forum: GUI - Replies (1)

Hi there! I am new to python but have mild experience with C and Java. The code below is not working for me because of something in the Python. I am t..... More

Print this item

  Rookie Stock Prediction Cross Validation using
Posted by: Graeber - Sep-17-2018, 08:24 PM - Forum: Homework - Replies (3)

Hey all,

I am very new to this but am trying to write a stock prediction tool. I know there are tons of examples but I haven't found too many with..... More

Print this item

  Beginning Payroll code help
Posted by: EmRandall - Sep-17-2018, 07:06 PM - Forum: Homework - Replies (6)

Hello to all!
I am a student currently enrolled in a python class at Utica College. This is my first programming language and I am struggling to unde..... More

Print this item

  Error in requests.post
Posted by: debanilroy - Sep-17-2018, 05:29 PM - Forum: Web Scraping & Web Development - Replies (3)

I am making a project and for that, I am making a python program. The program uses requests.post to get access to some info. However, whenever I run i..... More

Print this item

  Enable error logging to browser for Python's Flask under Apache + mod_wsgi
Posted by: nikos - Sep-17-2018, 05:19 PM - Forum: Web Scraping & Web Development - Replies (1)

what are the exact steps i need to execute in order to enable error logging to browser so i don't check the error_log via console any more?

I'am us..... More

Print this item

  Very basic help - python & Excel
Posted by: ankey - Sep-17-2018, 03:39 PM - Forum: Data Science - Replies (6)

Hi All,

I have an excel file with two columns: table and number.

All I want to do is use Python to load an excel file, loop through each row and wri..... More

Print this item

  pandas best way to add a new row in a already existing dataframe
Posted by: aster - Sep-17-2018, 02:25 PM - Forum: Data Science - No Replies

hello,

i have a dataframe and i would like to add a new row to it.
i am quite confused about which is the best way to do it:
I could manage the row t..... More

Print this item

  Wordpress
Posted by: Faiyaz - Sep-17-2018, 01:21 PM - Forum: General Coding Help - Replies (10)

Hello,

Today i imported an application that i made in Python into Wordpress with create with code. I have only a few problems, i need to make the tex..... More

Print this item

  Paramiko resource shortage error
Posted by: jkey - Sep-17-2018, 01:18 PM - Forum: General Coding Help - No Replies

I have a script that reads from a CSV file to ssh to devices. I am trying to run exec.command to read some info and place in a variable. When i run ..... More

Print this item

  Create Alert if string from list appears on other list
Posted by: javalava - Sep-17-2018, 12:51 PM - Forum: General Coding Help - Replies (1)

So....

Need to create an alert that will check a log file if a string appears from a list of strings.

I have a list of words, I want my python p..... More

Print this item

  how to replace comma with string "and" but with conditons
Posted by: Prince_Bhatia - Sep-17-2018, 10:10 AM - Forum: General Coding Help - Replies (3)

Hi,

I have a text written like this :
apartments, villa, studio apartments, shops

i want to replace last comma with "and"

expected output:
..... More

Print this item

  File Watcher and File modifying chatbot
Posted by: sreevik - Sep-17-2018, 09:37 AM - Forum: General Coding Help - Replies (1)

I have a python code that generates a .txt file whenever one of my Informatica job fails.

I would like to develop a chatbot in python that would po..... More

Print this item

  NameError: name 'idx' is not defined
Posted by: wardancer84 - Sep-17-2018, 09:30 AM - Forum: General Coding Help - Replies (4)

hi,

im stuck at the mentioned error. guess its easily fixable, but i cant get my head around it.

[python]
#!/usr/bin/env python

'''
populat..... More

Print this item

  OPC AE
Posted by: RonnyWalker - Sep-17-2018, 08:12 AM - Forum: General Coding Help - Replies (3)

Hey y'all,

Does any of you happen to know how to connect to an OPC Alarm & Event server?
I can find enough examples on how to connect to an OPC UA..... More

Print this item

  module inspect error
Posted by: jupiter - Sep-17-2018, 08:03 AM - Forum: General Coding Help - Replies (1)

Hi,

I am running python on Ubuntu 18, I have following errors when I run import inspect, appreciate any tips to fix the problem. thank you

Pytho..... More

Print this item

  Homework help
Posted by: abdullahali - Sep-17-2018, 07:39 AM - Forum: Homework - Replies (4)

How can I add a $ sign to this
total_value = int ( Input (“total value of booty in dollars: ”))

Print this item

  Can someone please explain this code for me and what it does?
Posted by: zoomzeline - Sep-17-2018, 06:37 AM - Forum: General Coding Help - Replies (5)

[python]def my_sqrt(n):
approx = n/2
closer = (approx + n/approx)/2
while closer != approx:
approx = closer
closer = ..... More

Print this item

  HOMEWORK HELP
Posted by: abdullahali - Sep-17-2018, 06:17 AM - Forum: Homework - Replies (1)

Hey,

i am new to python, and trying to do this assignment

Write a program for Tractor Jack that will ask the user to input the total value of b..... More

Print this item

  Cannot serve file with send_from_directory
Posted by: nikos - Sep-17-2018, 06:13 AM - Forum: Web Scraping & Web Development - Replies (2)

[python]
# Prepare selected file for download...
filepath = '/home/nikos/wsgi/static/files/'
send_from_directory( filepath, filename, as_attachment..... More

Print this item

  Python Looping Gurus, question for you,...
Posted by: pcsailor - Sep-17-2018, 06:03 AM - Forum: General Coding Help - Replies (5)

Hello,
I have a looping question for all you Python gurus, because, while I understand the theoretical of iteration, I don't have the creation of loo..... More

Print this item

  [PyQt4] Is it right python coding scheme between TCP Server Thread and GUI class ?
Posted by: KimTom - Sep-17-2018, 04:00 AM - Forum: GUI - Replies (3)

Hi, I want to make GUI program that is a TCP image server.
I make a GUI frame using a QT desinger .

It works fine though, I am not used to program..... More

Print this item

  Brand new to programming
Posted by: joelarrabee - Sep-17-2018, 12:57 AM - Forum: General Coding Help - Replies (5)

I am a newbie and have a question. I am following a guide and typed a few line and ran with Python 3.7 on a Mac. When I run it some of the output pr..... More

Print this item

  module import error
Posted by: bobsmith76 - Sep-16-2018, 11:11 PM - Forum: General Coding Help - Replies (4)

When I'm in the directory 'sub_pckg2' and run python mod3.py in the terminal, I get a modulenotfounderror but this error does not occur when I run the..... More

Print this item

  type hint additional message
Posted by: bluefrog - Sep-16-2018, 09:38 PM - Forum: Homework - Replies (5)

I'm attempting to type hint on a temperature conversion function.
The function has a deliberate mistake in that it returns a Number instead of a dict..... More

Print this item

  windows install py.exe
Posted by: fulkgl - Sep-16-2018, 08:31 PM - Forum: News and Discussions - Replies (1)

I just installed Python 3.7.0 on a Windows machine. Why does the default install put py.exe, pyw.exe, and pyshellext.amd64.dll in the \\Windows direct..... More

Print this item

  Gtk3, grab output of python into dialogue?
Posted by: TimeMen - Sep-16-2018, 08:07 PM - Forum: Networking - No Replies

Hey there,
not sure if i post at the right place.

I use google_images_download (available via pip) to get images from Google.
I wanna put the output ..... More

Print this item

  Trying to install Scrapy but ...
Posted by: ubotbuddy - Sep-16-2018, 03:20 PM - Forum: Web Scraping & Web Development - Replies (10)

I'm trying to import Scrapy but I am seeing an issue.

My os is Windows 10 Enterprise.

Here is the error
https://www.screencast.com/t/g3aJgIanN..... More

Print this item

  Help on adding two lists recursively
Posted by: Metalman488 - Sep-16-2018, 03:17 PM - Forum: General Coding Help - Replies (3)

So I have two lists that are each a large integer that has been split up into nodes. (Example: 123456 => [123,456]) and I need to add two lists like t..... More

Print this item

  Checking the elements of a matrix with an elements of a list
Posted by: juniorcoder - Sep-16-2018, 02:44 PM - Forum: Data Science - Replies (11)

Hello folks,
I need a small help , it is very easy question but since I am beginner I stucked a bit.
I have a matrix like that :
C=[[1 2 3 4 ]
..... More

Print this item

  Regex Subdomain Validation & Input website manual
Posted by: rtzki - Sep-16-2018, 02:13 PM - Forum: General Coding Help - Replies (1)

Hello,
I have some code like this

[python]

import re, urllib

GRUBER_URLINTEXT_PAT = re.compile("(https?://)([^:^/]*)(:\\d*)?(.*)?")

for l..... More

Print this item

  Need to understand the way enumerate() function works
Posted by: abhishekambastha - Sep-16-2018, 01:59 PM - Forum: General Coding Help - Replies (2)

Hello Friends, I am a novice and trying to understand how the various python functions work. Please help me understand how enumerate() function works...... More

Print this item

  Error when inserting CSV file
Posted by: vndywarhol - Sep-16-2018, 10:09 AM - Forum: Data Science - Replies (1)

I have two SQL files that work correctly and create two tables with one foreign key.

[python]
CREATE TABLE IF NOT EXISTS department (
departm..... More

Print this item

  call a variable from one function to another ...
Posted by: evilcode1 - Sep-16-2018, 09:22 AM - Forum: General Coding Help - Replies (4)

hello all ...
i need to call this variable ( filename )from function qassam() inside another fileex() ..
this is my code :

[python]
import os..... More

Print this item

  Replacing letters on a string via location
Posted by: Owenix - Sep-16-2018, 07:54 AM - Forum: General Coding Help - Replies (2)

Hey guys,

I was wondering if there is a way to replace a letter on a string via location, and if i can do it if there are multiple locations.
I'm ..... More

Print this item

  in openpyxl, how to set the font to 'centred'?
Posted by: Pedroski55 - Sep-16-2018, 05:15 AM - Forum: General Coding Help - Replies (3)

I have the following code to set the font in my excel table using openpyxl:

[python]ft1 = Font(name='Arial', size=20)

for sheet in targetFileShe..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Is the interpreter that c... 32 minutes ago helendamdam noisefloor General Codin...
  pdf file processing: how ... 35 minutes ago Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 3 hours ago P212 Biks News and Disc...
  Using Python to SSH and R... 9 hours ago justaguy SprunkiRetake Networking
  My goal to be hired worki... Today, 00:32 GnomeSweetGnome GnomeSweetGnome News and Disc...
  extracting data from a us... Yesterday, 13:49 Perry DeaD_EyE General Codin...
  [Tkinter] how to export a... Yesterday, 03:45 RonR Pedroski55 GUI
  pip install requests does... 09-24, 14:48 misodca DeaD_EyE General Codin...
  Creating a Mindmap progra... 09-23, 12:00 J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... 09-23, 09:08 compuman145 compuman145 General Codin...
  A coding beginner needs h... 09-23, 03:29 Littlefish Littlefish General Codin...
Most views
  The best Prog... 576968
  Tutorial Requ... 499660
  Web Scraping ... 440728
  Newbie with P... 384706
  New Users Int... 368753
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 6895
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Xuitar Today
SprunkiRetake Today
GnomeSweetGnome Yesterday
alxpetrovo2272 Yesterday
Jamirul Yesterday

User Panel Messages

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