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,964
» Latest member: Edzed4431
» Forum threads: 38,730
» Forum posts: 175,543

Full Statistics

Online Users
There are currently 39 online users.
» 1 Member(s) | 31 Guest(s)
Bing, Apple, Google, AOL, Mojeek, buran

Latest Threads
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: tester_V
12 minutes ago
» Replies: 0
» Views: 7
My goal to be hired worki...
Forum: News and Discussions
Last Post: Larz60+
3 hours ago
» Replies: 1
» Views: 449
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
9 hours ago
» Replies: 4
» Views: 1,985
My First App
Forum: Code Review
Last Post: carlbidwell
Yesterday, 10:53 AM
» Replies: 8
» Views: 8,554
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 03:54 AM
» Replies: 3
» Views: 455
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 909
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 940
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,208
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Sep-26-2025, 09:50 AM
» Replies: 1
» Views: 1,823
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
Sep-26-2025, 03:53 AM
» Replies: 1
» Views: 2,863

 
  AttributeError: 'dict' object has no attribute 'is_active' (PyMongo And Flask)
Posted by: usman - Nov-20-2018, 09:50 PM - Forum: Web Scraping & Web Development - No Replies

[python]@app.route("/register", methods=['GET', 'POST'])
def register():
form = RegistrationForm()
if form.validate_on_submit():
u..... More

Print this item

  KeyError urllib
Posted by: DavidFernandez - Nov-20-2018, 09:01 PM - Forum: General Coding Help - Replies (4)

Hello,

I'm trying to run a command by url and I get the following error code: KeyError: "text"

Here is my python function
[python]with web.urlo..... More

Print this item

  Tips for CLI program with Keybinding system
Posted by: pedropessoa - Nov-20-2018, 08:03 PM - Forum: General Coding Help - Replies (2)

Hello.
I want to create a simple command line program that prints text in a screen according to a 1 or 2 keystroke sequence.

The basic structure ..... More

Print this item

  Need a Mentor
Posted by: jacksmith - Nov-20-2018, 07:21 PM - Forum: Jobs - Replies (1)

Actually, I am looking for a python developer and want to assign a mentor too on my website, if anyone is interested and want to become a python mento..... More

Print this item

  Large Number Math
Posted by: fibonacci - Nov-20-2018, 07:15 PM - Forum: General Coding Help - Replies (2)

Hi all,

I'm trying to write a calculator to help me with some research that I am doing. I only need the following basic math functions (multiply,..... More

Print this item

  large csv to many xlsx containing multiple tabs
Posted by: thatIsTheCase - Nov-20-2018, 06:40 PM - Forum: Data Science - Replies (3)

I need to automate the creation of around 1000 excel workbooks. The workbook will contain three tabs.

TAB 1 = Overview and instructions for fund ho..... More

Print this item

  Google documents
Posted by: arsenal58 - Nov-20-2018, 05:03 PM - Forum: General Coding Help - Replies (2)

In school our teachers all have calender's on google docs. I am trying to get my python to open up the google document and then search that specific d..... More

Print this item

  searching file for unique words
Posted by: Siylo - Nov-20-2018, 04:57 PM - Forum: General Coding Help - Replies (2)

I am a new programmer looking to write a program that will search a .txt file and print out the unique words in it. Are there any built in functions t..... More

Print this item

  Topic Modelling - Document Labels
Posted by: Nicson - Nov-20-2018, 04:56 PM - Forum: General Coding Help - No Replies

Hi guys,
I have a question about Topic Modeeling with NLTK & Gensim.
I just started to deal with this topic and the Python language. Nevertheless,..... More

Print this item

  How to rerun the program in a loop with different input?
Posted by: bharaths - Nov-20-2018, 04:46 PM - Forum: General Coding Help - Replies (3)

Hi All!,

Following is my program, It asks for input, input is looked up in mysqldatabase, if host is found it will do a ssh, I'm new to python, I'm..... More

Print this item

  Signature verification
Posted by: saisankalpj - Nov-20-2018, 04:38 PM - Forum: General Coding Help - Replies (19)

https://gist.github.com/lkdocs/6519372
While following the code in above link i am getting false when i am using this code.The public key i am passin..... More

Print this item

  Class CryptoCSV: scrapes a given crypto-currency's daily historical data 2013-present
Posted by: rootVIII - Nov-20-2018, 04:30 PM - Forum: Code sharing - Replies (2)

also have a github repo... here's the code:

[python]
#! /usr/bin/python3
# Scrape coinma..... More

Print this item

  My First Qt App
Posted by: microphone_head - Nov-20-2018, 03:53 PM - Forum: GUI - Replies (4)

Hi all,

I am just starting to look into how to use Qt4 with Python 3.

I found an example that gives a skeleton Python file that I can use, but i..... More

Print this item

  Info web login
Posted by: antonio04 - Nov-20-2018, 03:17 PM - Forum: Web Scraping & Web Development - Replies (18)

Hello everybody.
Sorry for my english Cool Cool
I'm new and I'm a beginner

I have to check the articles on this website
http://dls.del..... More

Print this item

  Python Import Sybase Module returning non explicit error
Posted by: thebeefes - Nov-20-2018, 01:37 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi All.

I need to install ( import ) sybase module in python 3.7 but it has been a fiasco.

The major objective is to be able to query a Sybase A..... More

Print this item

  Hi how to take row 1 for every column and check the value what class is it
Posted by: kirito85 - Nov-20-2018, 12:29 PM - Forum: Homework - Replies (2)

Hi I have homework and i am stuck as to how to take row 1 for every column in the given csv file and check the value inside the cell what class is it?..... More

Print this item

  how can I create graphics using matplotlib
Posted by: royer14 - Nov-20-2018, 12:26 PM - Forum: Data Science - Replies (8)

hello, I'm trying to use the matplotlib library and since I'm new my code has been written wrong, can you tell me what I failed ?, more than anything ..... More

Print this item

  some ideas for intelligent list splitting?
Posted by: wardancer84 - Nov-20-2018, 11:39 AM - Forum: General Coding Help - Replies (4)

i have the following list ->

['SYSTEM=LDAP', 'registry=LDAP']
in need the elements as commandline argument for a system com..... More

Print this item

  iterrows() performance issue
Posted by: mohankris_v - Nov-20-2018, 10:33 AM - Forum: News and Discussions - No Replies

The below function calc_time_diff calculates time difference between two timestamps and finally adds them up and returns the result. But it should ign..... More

Print this item

  future warning when using numpy fancy indexing
Posted by: bluefrog - Nov-20-2018, 09:44 AM - Forum: Data Science - No Replies

After loading arrays from a data file, I get a future warning message when I try and use the result of one of the arrays as a mask over another;

th..... More

Print this item

  Connect to SFTP to read cvs files
Posted by: arunlal - Nov-20-2018, 08:02 AM - Forum: General Coding Help - Replies (1)

Hi

Can someone help me to read .CSV files placed on SFTP using Python - pysftp ?

Print this item

  unsupported operand type(s) for %: 'list' and 'int'
Posted by: RandomCoder - Nov-20-2018, 02:47 AM - Forum: General Coding Help - Replies (4)

a = []
k=1
for x in range(0,10):
    a.append(int(input()))
for x in range(0,30):
    if (a%2==0):
        k=k*a
print(k)
n..... More

Print this item

  How to iterate over command line arguments?
Posted by: zBernie - Nov-20-2018, 02:42 AM - Forum: General Coding Help - Replies (5)

How do you iterate over arguments passed to a script? I'm trying to use sys.argv as shown below, which does not work.

-Thanks


[python]
print..... More

Print this item

  raw_input vs input
Posted by: EmilySenechal - Nov-20-2018, 02:07 AM - Forum: General Coding Help - Replies (1)

I'm having a hard time understanding the difference between raw_input and input. Can someone dumb it down for me?
Thank you,
Emily Senechal

Print this item

  Parsing HTML
Posted by: jb34 - Nov-19-2018, 11:10 PM - Forum: Homework - Replies (2)

Hello,

I am new to this forum, so hello everyone!

I have an assignment where I have received data in an HTML format and I need to parse it out i..... More

Print this item

  Instructions unclear
Posted by: pySpy - Nov-19-2018, 10:11 PM - Forum: Homework - Replies (1)

Hey everyone, I have some code here that I just wrote for a course I am taking
in computer science. The instructions are, "Given the variables s and ..... More

Print this item

  update the content of Text widget
Posted by: atlass218 - Nov-19-2018, 09:05 PM - Forum: GUI - Replies (10)

hi
I try to update the content of Text widget by using this fonction:
[python]
def affichage_ddm_axe_loc35R_update ():

with open('archives/ILS_..... More

Print this item

  ORM Designer for Python ORMs
Posted by: ludekvodicka - Nov-19-2018, 08:58 PM - Forum: News and Discussions - Replies (3)

Hi,

I'm a creator of Skipper (https://www.skipper18.com) application (formerly ORM Designer) which allows PHP ..... More

Print this item

  Why is subprocess.call command not working?
Posted by: zBernie - Nov-19-2018, 08:54 PM - Forum: General Coding Help - Replies (5)

In the code snippet below, the subprocess.call command generates the file not found error shown below. However, passing the same variable "command" t..... More

Print this item

  pytesseract - enhance image before OCR
Posted by: kerzol81 - Nov-19-2018, 06:21 PM - Forum: General Coding Help - No Replies

Hi,

I'd like to get pytesseract correctly recognise characters from a security camera's OSD.

Here is a sample:
sampl[url=https://python-forum.io/thread-14201.html]..... More

Print this item

  Replace element in a nested list
Posted by: nagymusic - Nov-19-2018, 06:08 PM - Forum: General Coding Help - Replies (4)

I’m writing to ask if you could help me with a short Python example. Here’s a list of the list of strings:

[icode]my_string = [[89, 111, 117, 32], ..... More

Print this item

  describe top
Posted by: JerryGraham - Nov-19-2018, 04:27 PM - Forum: Data Science - Replies (3)

Sad

I import pandas and read my data file. describe says that top is divide by zero for Perc Ch column and it does not give some of the stati..... More

Print this item

  list of functions
Posted by: trazom - Nov-19-2018, 02:28 PM - Forum: General Coding Help - Replies (3)

hi,
i'm a total beginner.
how can i list all the functions in a module?

example : import * from os

which are all the components of "os"?

t..... More

Print this item

  help with homework
Posted by: lga13 - Nov-19-2018, 02:01 PM - Forum: Homework - Replies (3)

hey guys, needing some help here! I need to make a program that is going to take a range of numbers which are to be temperatures and store them in a l..... More

Print this item

  getting windows title and keystrokes !!
Posted by: evilcode1 - Nov-19-2018, 10:58 AM - Forum: General Coding Help - Replies (4)

hello there .... im trying to code a simple keylogger that log the key strokes and active windows titles : this is my code :

[python]# -*- coding: ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Comparing 2 100GB Drives/... 12 minutes ago tester_V tester_V General Codin...
  My goal to be hired worki... 3 hours ago GnomeSweetGnome Larz60+ News and Disc...
  what does % stand for in ... 9 hours ago arbiel Gribouillis General Codin...
  My First App Yesterday, 10:53 BCopeland64 carlbidwell Code Review
  Unable to resolve FileNot... Yesterday, 03:54 llarkin6 Pedroski55 General Codin...
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 09-26, 09:50 P212 Biks News and Disc...
  Using Python to SSH and R... 09-26, 03:53 justaguy SprunkiRetake Networking
  extracting data from a us... 09-25, 13:49 Perry DeaD_EyE General Codin...
Most views
  The best Prog... 577188
  Tutorial Requ... 500155
  Web Scraping ... 440893
  Newbie with P... 384904
  New Users Int... 369160
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 8176
snippsat 7367
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Edzed4431 Yesterday
chaoh1911 Yesterday
KaydenJonah098 Yesterday
carlbidwell Yesterday
llarkin6 09-26

User Panel Messages

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