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,659
» Latest member: AustinKade
» Forum threads: 37,403
» Forum posts: 169,977

Full Statistics

Online Users
There are currently 385 online users.
» 0 Member(s) | 377 Guest(s)
Facebook, Applebot, Google, AOL, Yandex, Baidu

Latest Threads
ModulNotFoundError matplo...
Forum: General Coding Help
Last Post: WicardBohnam
58 minutes ago
» Replies: 9
» Views: 175
API design an choice
Forum: News and Discussions
Last Post: Skaperen
1 hour ago
» Replies: 0
» Views: 17
using mutable in function...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 12:52 PM
» Replies: 4
» Views: 213
Why am I getting this err...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:31 PM
» Replies: 4
» Views: 119
Discord - Webcrapping fro...
Forum: Web Scraping & Web Development
Last Post: Tolska
Yesterday, 12:27 PM
» Replies: 0
» Views: 51
Low code b2b e-commerce s...
Forum: Web Scraping & Web Development
Last Post: abdlwafitahiri
Yesterday, 12:18 PM
» Replies: 2
» Views: 395
How to edit Tkinter Minim...
Forum: General Coding Help
Last Post: kucingkembar
Yesterday, 11:36 AM
» Replies: 7
» Views: 152
TypeError: '>' not suppor...
Forum: Data Science
Last Post: Anouar
Yesterday, 09:34 AM
» Replies: 0
» Views: 71
How To Make A PyQt5 Progr...
Forum: GUI
Last Post: menator01
Yesterday, 02:18 AM
» Replies: 1
» Views: 141
Problem Converting Tradin...
Forum: General Coding Help
Last Post: kralxs
Apr-25-2024, 07:40 PM
» Replies: 0
» Views: 123

 
  configuring python at build time
Posted by: Skaperen - Jul-02-2019, 08:46 PM - Forum: News and Discussions - Replies (2)

does Python have a build time option to use long double instead of just double for its float type? Pike does and it has been convenient.

Print this item

  Store a product/item in a inventory program
Posted by: viktoria_linn - Jul-02-2019, 08:23 PM - Forum: General Coding Help - Replies (1)

Hi!

I'm a new programmer and new to the forum :) and right now I am working on a very simple cash register program. I was wondering if anyone has got..... More

Print this item

  need help with floodfill
Posted by: rfdv - Jul-02-2019, 08:21 PM - Forum: Homework - Replies (1)

Hello, i'm having some difficulty at a college task and I wonder if you can help me. It is the realization of a floodfill algorithm in python 3 using ..... More

Print this item

  How to add a widget to a QtWindow after it has been created
Posted by: LavaCreeperKing - Jul-02-2019, 05:01 PM - Forum: GUI - Replies (4)

I think I asked this before, but I was unable to get an answer. I need to know how I can add widgets to my window after it has been created.
[python]..... More

Print this item

  web scraping to csv formatting problems
Posted by: bluethundr - Jul-02-2019, 04:31 PM - Forum: Web Scraping & Web Development - Replies (4)

Hello,

I am trying to scrape a web page and send the result to CSV. I am able to get the content I want in the CSV. However, the content is being rep..... More

Print this item

  How to make mmo with python?
Posted by: Aresofthesea - Jul-02-2019, 04:17 PM - Forum: News and Discussions - Replies (6)

I want to make an MMO with python, but I don't know how. Please direct me to a tutorial. Thank you.

Print this item

  [Tkinter] Recommended book/online resource?
Posted by: Winfried - Jul-02-2019, 03:58 PM - Forum: GUI - Replies (3)

Hello,

I need to learn how to write Python apps with GUIs.

Apparently, Tcl/Tk through Tkinter seems easiest since it's already part of Python.
..... More

Print this item

  How can I save Python dictionaries in Matlab?
Posted by: jlostinco - Jul-02-2019, 03:45 PM - Forum: General Coding Help - Replies (1)

What is the simplest way to send complex data from Matlab to Python? I have a pre-written script in Python that uses dictionaries as the base data for..... More

Print this item

  Matplotlib problem
Posted by: ift38375 - Jul-02-2019, 02:54 PM - Forum: General Coding Help - No Replies

This is my source code for Bar graph through Pyplot :
[python]
import matplotlib.pyplot as plt

x = [2,4,6,8,10]
y=[3,9,11,2,6]
plt.bar(x,y,labe..... More

Print this item

  Debugging in VS code
Posted by: kw42chan - Jul-02-2019, 02:06 PM - Forum: General Coding Help - No Replies

hi all,

When i tried to debug in VS code for a py file which involves reading csv with pandas, VS code said cwd needs to be set in launch.json. How..... More

Print this item

  [split] Automate the boring stuff, inserting commas in list
Posted by: srikanth - Jul-02-2019, 01:31 PM - Forum: General Coding Help - Replies (1)

[python]
def sri(z):
... for i in range(len(z)):
... if i<len(z)-1:
... y=z[i]+','
... else:
... y='and ' + z[-1]
..... More

Print this item

  Transform simplified dictionary to nested dictionaries
Posted by: bhojendra - Jul-02-2019, 01:18 PM - Forum: General Coding Help - Replies (1)

Today, I was trying to solve a question in which the data is structured like:
[python]
{
"bar": [
{
"id": 1,
"foo_id": 1,
..... More

Print this item

  Receiving Werkzeug. exception. Bad Request error when using GET with an endpoint
Posted by: robogeek - Jul-02-2019, 01:04 PM - Forum: Web Scraping & Web Development - No Replies

Hello,

I was trying to implement an API using Python, and flask to help myself learn and practice REST.

The idea was to receive a HTTP POST wi..... More

Print this item

  Getting Name Error: Name not defined
Posted by: AAD - Jul-02-2019, 12:39 PM - Forum: General Coding Help - Replies (2)

Hi,

I am a new user, just at very beginning. I am trying to write a simple function but I get the name error saying that I have not defined a varia..... More

Print this item

  Trying to write an app to connect to a mysql DB
Posted by: gizmo - Jul-02-2019, 12:00 PM - Forum: General Coding Help - No Replies

Hi all, I just began my journey with python, and I'm trying to make an app to connect and manage some data.

I have several questions though.

1...... More

Print this item

  CNN, dropout error
Posted by: habib - Jul-02-2019, 10:45 AM - Forum: Data Science - Replies (4)

using python3 at ubuntu.

Reciving error constantly at each cnn code run.

WARNING:tensorflow:From /home/habib/.virtualenvs/kerasTF/lib/python3.6/..... More

Print this item

  Pyinstaller error
Posted by: vipinv23 - Jul-02-2019, 09:37 AM - Forum: News and Discussions - Replies (3)

Hello,

I am using pyinstaller to generate exe from py file but i am getting following error:


"
Traceback (most recent call last):
File "c:..... More

Print this item

  Text after push button
Posted by: chano - Jul-02-2019, 09:07 AM - Forum: GUI - Replies (13)

Hello All,
can after push button to see text on display- ,(bоttom) "please wait",for 30 secоnds,is it possible?
Thank you

Print this item

  What am I doing wrong? New to Python
Posted by: Stthmc_1995 - Jul-02-2019, 03:50 AM - Forum: General Coding Help - Replies (6)

Hi everyone I have recently been introduced to Python and I am attempting some activities for beginners but I have become stuck on one part.
Basical..... More

Print this item

  [split] No Error, and No Output
Posted by: vishal2894 - Jul-02-2019, 02:05 AM - Forum: General Coding Help - Replies (1)

Hi Guys I am a beginner with Python, I am trying to execute a code, it says no error. But I am not getting the expected output. Can someone please hel..... More

Print this item

  display graph in columns and rows
Posted by: william888 - Jul-02-2019, 01:38 AM - Forum: Data Science - Replies (1)

Hi,
[python]
for col in df[['age','num1','num2','num3','num4']]:
grid = sns.FacetGrid(data=df,hue='predictor').map(sns.kdeplot,col)
grid.a..... More

Print this item

  DOWNLOAD DACTILAR FOOTPRINT SENSOR TEMPLATES
Posted by: jorge29 - Jul-02-2019, 12:18 AM - Forum: Data Science - No Replies

I have a fingerprint module installed in a school.
They require to place a second module.
I already registered the traces of the teachers in the fir..... More

Print this item

  Create XML from dictionary
Posted by: pygrrrl - Jul-01-2019, 11:57 PM - Forum: General Coding Help - Replies (7)

Hi all,

I have a dictionary that is grouped by terms. The terms then has a list of users associated with it. The following is the dictionary:

..... More

Print this item

  ImportError: cannot import name 'gphoto2' from 'sh'
Posted by: evvvonder - Jul-01-2019, 10:29 PM - Forum: General Coding Help - Replies (1)

I'm trying to run a python script that previously worked on a new raspberry pi.

[python]
## added scheduled on the minute instead of sleep time
..... More

Print this item

  external refs by libraries loaded with cdll
Posted by: caldodge - Jul-01-2019, 10:26 PM - Forum: General Coding Help - No Replies

I'm trying to debug a runtime issue. I have a file "market.c", compiled to a shared library "market.so". It uses the glib2 call g_direct_equal exten..... More

Print this item

  Writing the Path to a file properly
Posted by: dcw9996 - Jul-01-2019, 10:26 PM - Forum: General Coding Help - Replies (2)

Hello,

I am 64 years old but new to Python and brand new to this forum. If I due something wrong please let me know.

I purchased a book on pyth..... More

Print this item

  Applying Function With If
Posted by: ab0217 - Jul-01-2019, 09:07 PM - Forum: Data Science - Replies (8)

I created a function with if statement to know which table to query and return a value to my dataframe, but I am getting truth value of series is ambi..... More

Print this item

  Looping JSON data
Posted by: graham23s - Jul-01-2019, 08:04 PM - Forum: General Coding Help - Replies (1)

Hi Guys,

I'm trying to loop some JSON which i have created using PHP, sample:

[python]
{
"action": [
"val1|0|0|val4",
"v..... More

Print this item

  Run jupyter notbook in background
Posted by: metulburr - Jul-01-2019, 06:25 PM - Forum: Data Science - Replies (4)

OS Ubuntu linux

I am trying to get jupyter notebook to run in the background.

I first tried:

jupyter notebook &
but it ignor..... More

Print this item

  For loop that prints four subplots
Posted by: dervast - Jul-01-2019, 04:52 PM - Forum: Data Science - Replies (4)

Hi all,
I am new to the python world and I was able to make some progress with my code. I have a relative large dataframe with around of 400+ rows. W..... More

Print this item

  Problem with creating DataFrame using Dictionary
Posted by: ift38375 - Jul-01-2019, 04:28 PM - Forum: Data Science - Replies (8)

Hi,

When i am creating dataframe for desired table then it is working fine as given below
[python]
import pandas as pd
diSales= { 2016:{'qtr1':3..... More

Print this item

  Telnetlib reading output
Posted by: petterg - Jul-01-2019, 04:10 PM - Forum: Networking - Replies (1)

Hi,

Im using a python telnetlib script to communicate with a device.

I want to keep an open connection without exiting. My problem is that i can..... More

Print this item

  python alternatives for adding points to a map. Driving car around
Posted by: dervast - Jul-01-2019, 01:56 PM - Forum: News and Discussions - Replies (2)

Hi all,

I have a dataframe that contains time,temperature measurement and Latitude and Longitude.

I want to plot the movement of the car over ti..... More

Print this item

  Find a given file recursively inside a directory
Posted by: alinaveed786 - Jul-01-2019, 12:04 PM - Forum: General Coding Help - Replies (1)

Find a given file recursively inside a dir. The code I tried is not showing any output, though I have a file C:\Users\anaveed\test\hoax\a.txt
[u]Belo..... More

Print this item

  string slicing default value
Posted by: Uchikago - Jul-01-2019, 09:30 AM - Forum: General Coding Help - Replies (1)

If a slice with positive step like

[::1]
then the default value of starting point and ending point is [python][0:len(list):1][/python..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  ModulNotFoundError matplo... 58 minutes ago WicardBohnam WicardBohnam General Codin...
  API design an choice 1 hour ago Skaperen Skaperen News and Disc...
  using mutable in function... Yesterday, 12:52 akbarza deanhystad General Codin...
  Why am I getting this err... Yesterday, 12:31 Pedroski55 Pedroski55 General Codin...
  Discord - Webcrapping fro... Yesterday, 12:27 Tolska Tolska Web Scraping ...
  Low code b2b e-commerce s... Yesterday, 12:18 makc abdlwafitahiri Web Scraping ...
  How to edit Tkinter Minim... Yesterday, 11:36 kucingkembar kucingkembar General Codin...
  TypeError: '>' not suppor... Yesterday, 09:34 Anouar Anouar Data Science
  How To Make A PyQt5 Progr... Yesterday, 02:18 rcwildabeast menator01 GUI
  Problem Converting Tradin... 04-25, 19:40 kralxs kralxs General Codin...
  New on python. Needs help... 04-25, 18:47 jeromep deanhystad General Codin...
Most views
  The best Prog... 414789
  Web Scraping ... 305373
  Tutorial Requ... 294704
  Newbie with P... 252554
  Thread remain... 234930
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+ 11873
buran 8090
snippsat 7091
deanhystad 6221
metulburr 5150
Top referrers
Googlepro 20
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
AustinKade Today
mihir_patel535 Yesterday
Tolska Yesterday
Anouar Yesterday
WillieNelson Yesterday

User Panel Messages

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