Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 18,594
» Latest member: alminnawi
» Forum threads: 37,370
» Forum posts: 169,822

Full Statistics

Online Users
There are currently 465 online users.
» 2 Member(s) | 456 Guest(s)
Bing, Mojeek, Google, Baidu, Applebot, Yandex, DeaD_EyE, deanhystad

Latest Threads
Adding a sub menu to a tt...
Forum: GUI
Last Post: deanhystad
4 minutes ago
» Replies: 5
» Views: 180
measure diameter of compl...
Forum: General Coding Help
Last Post: alminnawi
2 hours ago
» Replies: 0
» Views: 33
How to remove words in th...
Forum: Data Science
Last Post: CK12780
5 hours ago
» Replies: 0
» Views: 38
How to Randomly Print a Q...
Forum: General Coding Help
Last Post: Bronjer
5 hours ago
» Replies: 13
» Views: 617
Cloud computing advice ne...
Forum: Data Science
Last Post: sawtooth500
Yesterday, 10:48 PM
» Replies: 2
» Views: 93
Dynamically plotting grap...
Forum: Data Science
Last Post: deanhystad
Yesterday, 04:09 PM
» Replies: 11
» Views: 239
i have not decided which ...
Forum: GUI
Last Post: CaseySullivan
Yesterday, 12:43 PM
» Replies: 3
» Views: 270
Number stored as text wit...
Forum: General Coding Help
Last Post: CAD79
Yesterday, 10:17 AM
» Replies: 2
» Views: 339
Help with writing monitor...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 10:11 AM
» Replies: 2
» Views: 129
Python Jira Connectivity
Forum: General Coding Help
Last Post: Abhishikt
Yesterday, 08:55 AM
» Replies: 1
» Views: 236

 
  XML modules
Posted by: bertilow - Jan-25-2020, 02:05 PM - Forum: Web Scraping & Web Development - Replies (1)

I'm porting a web application from Perl to Python3 (using mod_wsgi and Flask). The application uses XML extensively.

I've found that I need to use ..... More

Print this item

  program a calculator
Posted by: manomarH - Jan-25-2020, 11:36 AM - Forum: General Coding Help - Replies (3)

hey guys if you have any suggestion to program a calculator without using class please tell my about

Print this item

  How to compute conditional unigram probabilities?
Posted by: jbond - Jan-25-2020, 11:34 AM - Forum: Homework - Replies (2)

Hello,

i have difficulties with my homework (Task 4).
I don't know how to do this.
I have already an attempt but I think it is wrong and I don't..... More

Print this item

  Beginners book in Spanish
Posted by: MauserMan - Jan-25-2020, 11:29 AM - Forum: News and Discussions - Replies (1)

Hi all!

I'm looking for a good "Python for beginners" book in Spanish for my wife.
She has a little bit of programming experience from a bash prog..... More

Print this item

  From sqlite3 to sqlalchemy
Posted by: qrion - Jan-25-2020, 10:52 AM - Forum: Web Scraping & Web Development - No Replies

Hi
Just wondering if its possible to make this sqlite3 code to sqlalchemy?

[python]@app.route("/addToCart")
def addToCart():
if 'email' not ..... More

Print this item

  Can I connect python/django to nginx "after the fact"?
Posted by: david503 - Jan-25-2020, 10:43 AM - Forum: Networking - Replies (2)

This tutorial describes how to get python and django up and running:

https://www.digitalocean.com/community/t...go-and-set..... More

Print this item

  Import all items from all modules from package
Posted by: DD169 - Jan-25-2020, 06:22 AM - Forum: General Coding Help - Replies (3)

Hello,

File Structure:
DND:

  • testing.py
  • Weapons:
    • __init__.py
    • Simple_Melee.py
    • Simple_Ranged.py
      [..... More

Print this item

  Help!
Posted by: Karliux2002 - Jan-25-2020, 03:37 AM - Forum: Homework - Replies (6)

Please, can someone help me with this problem:

The Fibonacci sequence is a series of related numbers. Usually, the series begins with the numbers 0..... More

Print this item

  Please Help
Posted by: jackthechampion - Jan-25-2020, 02:32 AM - Forum: General Coding Help - Replies (2)

So im in introduction to programming and we use python and the assignment is
Create a program that prompts the user to enter a first name and a last..... More

Print this item

  forming a str one by one
Posted by: Skaperen - Jan-24-2020, 08:58 PM - Forum: General Coding Help - Replies (2)

some complicated code needs to form a str one character at a time, as it figures out each character, one at a time. these characters can be any Unico..... More

Print this item

  Importing acting weird
Posted by: IILawrenceII - Jan-24-2020, 07:43 PM - Forum: General Coding Help - Replies (3)

I'm trying to call functions from my "functions.py" module to my "mainTest.py" module.

Here is basically what I write:

from functions import fun..... More

Print this item

  my first attempt, please advise me of any thing
Posted by: danak - Jan-24-2020, 07:01 PM - Forum: Code Review - Replies (6)

My first bit of code, I've only just started to learn, I understand this is very basic but this is the best way I learn.

I'm not sure how this shou..... More

Print this item

  remove and reinstall base 1.0.4
Posted by: KipCarter - Jan-24-2020, 06:50 PM - Forum: General Coding Help - Replies (3)

I'm having issues with base 1.0.4, so I thought that I would remove it and reinstall it.

The only version of base I see is what I've found on Pypi...... More

Print this item

  Parsing JSON with backslashes
Posted by: bazcurtis - Jan-24-2020, 04:45 PM - Forum: General Coding Help - Replies (3)

I have a script where the users will need to edit some variables. I don't want them to mess the script up so decided I would make a config json file w..... More

Print this item

  python beginner HTTP Error 500
Posted by: leofcastro - Jan-24-2020, 04:37 PM - Forum: Web Scraping & Web Development - No Replies

Dear all, this is my first time sharing doubts in a forum. I would be very grateful if you could help me.

I have succeeded in scrapping the data of..... More

Print this item

  How to execute code WHILE a function runs
Posted by: t4keheart - Jan-24-2020, 03:25 PM - Forum: General Coding Help - Replies (4)

Hi everyone,
I have some code for a loading bar animation that I would like to run during execution of specific functions. I know some sort of while..... More

Print this item

  syntax error: can't assign to operator
Posted by: liam - Jan-24-2020, 02:25 PM - Forum: Homework - Replies (3)

Below is my code, the error was "syntax error: can't assign to operator" at line 6, " L**2 - (2*a**2*L) + (16*area**2)= 0 ". I need help in debugging ..... More

Print this item

  start and stop omxlayer playback
Posted by: dezmob - Jan-24-2020, 01:33 PM - Forum: General Coding Help - Replies (2)

Hi,

I'm trying to find an elegant way to start / stop the playback of a video from a cluster of raspberry pi

To playback the video in sync I use..... More

Print this item

  "for loop" not indexing correctly?
Posted by: melblanc - Jan-24-2020, 01:03 PM - Forum: General Coding Help - Replies (4)

Wall
I am using a for loop with regular expressions to scrape a file
for ordered pairs of geographic co-ordinates. All seemed to be
working u..... More

Print this item

  Python module wifi not showing all wireless networks
Posted by: marozsas - Jan-24-2020, 12:03 PM - Forum: Networking - Replies (3)

The call to wifi.Cell.all is not returning all wireless networks as regular user but is does as root user !
I don't know if it is a bug or by design...... More

Print this item

  Python Application in Taskbar
Posted by: constantin01 - Jan-24-2020, 10:24 AM - Forum: GUI - Replies (3)

I have an application that uses tkinter for GUI and pyinstaller for building.

Now it just opens in window. I would like to make it possible to clos..... More

Print this item

  need help
Posted by: deepakkr3110 - Jan-24-2020, 09:56 AM - Forum: General Coding Help - Replies (3)

Hello

i have ten line of results like

Count
0
0
0
0
0
0
0
0
0
0

this is the results of 10 lines and i want to run a loop to check if the value of m..... More

Print this item

  Ubuntu Taskbar icon shows title as "Unknown" while hover
Posted by: davidmuni - Jan-24-2020, 06:47 AM - Forum: GUI - Replies (3)

Hi all,
I am a new user in python and Qt. I did a small application using PyQt5. It is really wonderful tool. It is working awesome. I face a sm..... More

Print this item

  read_dotenv problem
Posted by: wolf8963 - Jan-24-2020, 04:21 AM - Forum: General Coding Help - Replies (4)

Hi

I am working with some sample code from ciscoAxl sdk

part of the sample code is this:

[python]
import os #for ciscoaxl sdk
from ciscoax..... More

Print this item

  does try really need to be a keyword?
Posted by: Skaperen - Jan-23-2020, 11:57 PM - Forum: Bar - Replies (14)

does try really need to be a keyword? perhaps not. maybe all that was needed was for try: to be a ke..... More

Print this item

  site packages, python 3.8
Posted by: Dixon - Jan-23-2020, 11:45 PM - Forum: General Coding Help - Replies (12)

[python]from setuptools import setup

setup(
name = 'vsearch'
version = '1.0'
description = 'The Head First PYthon Search Tools',
..... More

Print this item

  I'm getting error for use this script
Posted by: Danielab - Jan-23-2020, 11:31 PM - Forum: General Coding Help - Replies (3)

hi
I'm getting error for use this code
this code for download from viu.com
I saved in notepad and changed a.txt to a.bat but I can't use this
how ..... More

Print this item

  ValueError: could not convert string to float: '4 AVENUE'
Posted by: Kudzo - Jan-23-2020, 10:49 PM - Forum: Data Science - Replies (4)

I tried to run regression using

regr = linear_model.LinearRegression()
regr.fit(X, y)
My data contains columns with DateTime format..... More

Print this item

  How to fix statement seems to have no effect
Posted by: hernancrespo89 - Jan-23-2020, 09:22 PM - Forum: General Coding Help - No Replies

Hi, i know there are similar questions but they didn't solve my problem. I have been trying to read brightness of my webcam using OpenCV and QT. I hav..... More

Print this item

  Transfer Toplevel window entry to root window entry with TKinter
Posted by: HBH - Jan-23-2020, 09:00 PM - Forum: GUI - No Replies

With Tkinter, on a PopUp Toplevel window with an Entry and Button, when Destroy by the button, I want the TopLevel window Entry to be transferred to m..... More

Print this item

  for loop for lyrics
Posted by: irba15ab - Jan-23-2020, 08:17 PM - Forum: General Coding Help - Replies (2)

Hello everyone.

Can anyone help me with figuring out how to do the 'for loop' to automatically generate lyrics for each of the songs in a dataset ..... More

Print this item

  Issues installing xlrd
Posted by: KipCarter - Jan-23-2020, 07:52 PM - Forum: General Coding Help - Replies (2)

I've been experimenting with Pandas the last few days and needed to install xlrd to read excel files. Something is blowing up and I don't know why.
..... More

Print this item

  add database rows to dataframe
Posted by: cspower - Jan-23-2020, 06:37 PM - Forum: General Coding Help - Replies (7)

I'm trying to build a dataframe from rows I select incrementally from a database.

SQL = '''select ..... where userid = ? and roleName = ?"" I use t..... More

Print this item

  Running cli program within a wx window?
Posted by: t4keheart - Jan-23-2020, 03:46 PM - Forum: GUI - Replies (2)

Hi everyone,
is there a specific module I should be using to run the python code within a wx window? I mean, like create a gui to pop up and contain..... More

Print this item

  Pass multiple items from one parse to another using Scrapy
Posted by: nazmulfinance - Jan-23-2020, 02:19 PM - Forum: Web Scraping & Web Development - Replies (2)

Dear Members,

I want to pass both name and link_only from parse to parse_country. I know we use the meta function to transfer. Could you please tel..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Adding a sub menu to a tt... 4 minutes ago Robo deanhystad GUI
  measure diameter of compl... 2 hours ago alminnawi alminnawi General Codin...
  How to remove words in th... 5 hours ago CK12780 CK12780 Data Science
  How to Randomly Print a Q... 5 hours ago BillKochman Bronjer General Codin...
  Cloud computing advice ne... Yesterday, 22:48 sawtooth500 sawtooth500 Data Science
  Dynamically plotting grap... Yesterday, 16:09 CAD79 deanhystad Data Science
  i have not decided which ... Yesterday, 12:43 Skaperen CaseySullivan GUI
  Number stored as text wit... Yesterday, 10:17 CAD79 CAD79 General Codin...
  Help with writing monitor... Yesterday, 10:11 donottrackmymetadata Pedroski55 General Codin...
  Python Jira Connectivity Yesterday, 08:55 Shyam Abhishikt General Codin...
  Low code b2b e-commerce s... Yesterday, 08:54 makc Abhishikt Web Scraping ...
Most views
  The best Prog... 397555
  Web Scraping ... 290019
  Tutorial Requ... 283639
  Newbie with P... 243347
  New Users Int... 228545
Most reputation
buran 582
snippsat 499
Larz60+ 452
Gribouillis 330
deanhystad 312
Most replies
  New Users Int... 431
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 11869
buran 8088
snippsat 7080
deanhystad 6196
metulburr 5150
Top referrers
Googlepro 20
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
alminnawi Today
Webnox Today
CK12780 Today
Elionweest Today
Jyotirmoyee Yesterday

User Panel Messages

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