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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,305
» Latest member: cruisesfares
» Forum threads: 38,799
» Forum posts: 175,899

Full Statistics

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

Latest Threads
Earnestinome
Forum: General Coding Help
Last Post: Dichaelmag
1 hour ago
» Replies: 0
» Views: 8
What role does IoT play i...
Forum: General Coding Help
Last Post: ShaneCorn
1 hour ago
» Replies: 0
» Views: 8
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: ShaneCorn
1 hour ago
» Replies: 7
» Views: 7,775
Enhancing Python Learning...
Forum: General Coding Help
Last Post: slicemasternet
2 hours ago
» Replies: 0
» Views: 14
Help with Serial.write in...
Forum: General Coding Help
Last Post: racingsubby
8 hours ago
» Replies: 7
» Views: 610
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Yesterday, 09:58 PM
» Replies: 3
» Views: 105
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Yesterday, 03:53 PM
» Replies: 1
» Views: 84
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Yesterday, 08:47 AM
» Replies: 3
» Views: 155
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Yesterday, 04:40 AM
» Replies: 6
» Views: 3,200
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 274

 
  A context to exit deeply nested loops
Posted by: Gribouillis - May-10-2019, 12:04 PM - Forum: Code sharing - Replies (3)

The break statement doesn't allow to exit several nested loops. It is a simple exercise to develop a block() context to do so. Here is ..... More

Print this item

  Is there a way to create multiple linux users using python?
Posted by: Jannejannesson - May-10-2019, 10:59 AM - Forum: Homework - Replies (1)

Hey guys, I've got an assignment where I need to create a python script that creates [b]multiple linux users with existing usernames and passwords [/b..... More

Print this item

  Installing Python and pointing it to required libraries
Posted by: hooiberg - May-10-2019, 10:12 AM - Forum: General Coding Help - Replies (2)

Hello, more experienced people.

I am responsible for installing software on our CentOS cluster. Several users have requested a new Python version b..... More

Print this item

  bytes-like object is required, not 'str
Posted by: anna - May-10-2019, 10:00 AM - Forum: General Coding Help - Replies (2)

Hi All,

I am fetching all devices from SQL server, checking there reachability, if devices are not in specific IPNetwork, writing to file. again o..... More

Print this item

  real & imag part
Posted by: mcgrim - May-10-2019, 09:52 AM - Forum: Data Science - Replies (5)

this code is supposed to contain methods for complex numbers

[python]
from scipy import *
import numpy as np
from numpy import array
from scipy..... More

Print this item

  parsing logical expression with pyparsing
Posted by: palo173 - May-10-2019, 09:47 AM - Forum: General Coding Help - Replies (2)

I try to create JSON from logical expression as input from user.


[python]
#input from user (for example)
string = "Apple == 5 & (Plum == 7 | Pe..... More

Print this item

Exclamation Get syntax error. Dont understand why
Posted by: beLIEve - May-10-2019, 08:52 AM - Forum: General Coding Help - Replies (21)

Hello!
I am looking for luck Wall

I have whole idea how should work my game but i stuck with simple things Confused
Try to learn but i..... More

Print this item

  Duplicate output when calling a custom function from the same file?
Posted by: road2knowledge - May-10-2019, 07:38 AM - Forum: General Coding Help - Replies (2)

Hi folks,

I'm new to programming and python, and I don't understand why if you call a custom function from the same file it's defined in, you get dup..... More

Print this item

  undup
Posted by: Skaperen - May-10-2019, 06:56 AM - Forum: General Coding Help - Replies (5)

i'm looking for a function to take a sequence that might have duplicates and return one of the same type with no more than one of each item. i only n..... More

Print this item

  Fun Task: Python 3.7.2
Posted by: CozyDarkness - May-10-2019, 06:55 AM - Forum: Homework - Replies (1)

Create a script that reads in the attached emp.txt file and outputs a file with the net pay of each employee. Incorporate the overtime and net pay rul..... More

Print this item

  Text file data to meaningful .csv conversion
Posted by: shrutika - May-10-2019, 05:40 AM - Forum: News and Discussions - Replies (1)

Is there any python lib available to convert a text file with any format of data ( like data have key/value pairs and not fixed delimiters) into csv f..... More

Print this item

  program
Posted by: cm53 - May-09-2019, 10:23 PM - Forum: Homework - Replies (2)

definitely need help solving this program. It is due tonight at 11:59 and i am completely lost. Any and all help for answers please. Must be in python..... More

Print this item

  How to plot implicit functions (with two variables) in scipy python using matplotlib?
Posted by: Jay_Nerella - May-09-2019, 09:48 PM - Forum: General Coding Help - Replies (1)

I have a function with two independent variables x & y and three parameters a,b & c. I done optimization of parameters using least_squares. Now I want..... More

Print this item

  Call a varaible from class in the parent class
Posted by: Clement_2000 - May-09-2019, 09:21 PM - Forum: General Coding Help - Replies (1)

Hi experts.
I'm making a modular interface containing tabs with different tools.
These tools are for now :

Print this item

  Simple inter-process communication: Switching from Perl to Python
Posted by: Pappy - May-09-2019, 08:40 PM - Forum: General Coding Help - Replies (1)

[font=Arial, Helvetica, sans-serif]My go-to scripting language for quite some time has been perl.

However, I have been keenly interested in Python ..... More

Print this item

  Cannot Install python-3.7.3-macosx10.6.pkg
Posted by: steve_314 - May-09-2019, 08:25 PM - Forum: General Coding Help - Replies (6)

I cannot install the latest version of Python (python-3.7.3-macosx10.6.pkg) on Mac OS 10.6.8. The installer throws the following error:

The operat..... More

Print this item

  Animation using matplotlib query
Posted by: JohnDoe - May-09-2019, 08:07 PM - Forum: General Coding Help - No Replies

I am trying to animate a plot of two distinct points (blue and orange points) moving about the complex unit circle using Python's Matplotlib library (..... More

Print this item

  Practicing using a "flag": please point in right direction
Posted by: magsloo - May-09-2019, 07:58 PM - Forum: General Coding Help - Replies (5)

I'm currently going through the Python Crash Course and I'm on Chapter 7. I'm attempting to use an active variable to control how long the loop runs. ..... More

Print this item

  raise error
Posted by: mcgrim - May-09-2019, 07:55 PM - Forum: Homework - Replies (4)

I am testing the function __truediv__ in this code, I am specifically interested in the

raise ValueError
command.

Is supposed to..... More

Print this item

  Looping a function
Posted by: wendysling - May-09-2019, 07:14 PM - Forum: General Coding Help - Replies (3)

Hello,

I am trying to run a function that creates additional columns in a data frame in case the column is missing.

The columns are for months...... More

Print this item

  Pycharm Import statement
Posted by: sunilramakumar - May-09-2019, 06:01 PM - Forum: General Coding Help - Replies (1)

Hello -
Hoping this is the right forum.
I installed pycharm and started using it. I am running into an error when using the import statement. Can y..... More

Print this item

  Please help coding
Posted by: aankrose - May-09-2019, 05:57 PM - Forum: General Coding Help - Replies (4)

If given input in INPUT=9 , I would like to get below output

[output]
123456789
.1234567
..12345
...123
....1
...123
..12345
.1234567
1234..... More

Print this item

  getting Entry text
Posted by: Stauricus - May-09-2019, 04:24 PM - Forum: GUI - Replies (4)

hello everybody. first post here Smile

i'm having trouble to get the text value inside an Entry box. So, i created this small example that show..... More

Print this item

  Tkinter window pop up again when i click button
Posted by: Orimura_Sandy - May-09-2019, 04:24 PM - Forum: GUI - Replies (1)

Hi guys, im new at python and new at programming code.
i got confused when run a little program that i created on.
so it pop up again when i click "..... More

Print this item

  Play Audio While continuing Gameplay
Posted by: apealunited - May-09-2019, 02:25 PM - Forum: Game Development - Replies (2)

I am new to game development.

I am making Snake game as my first game project. I want to play audio when snake eats food.

I tried doing using t..... More

Print this item

  trying to locate a working grpc to install
Posted by: MrMajorThorburn - May-09-2019, 01:48 PM - Forum: General Coding Help - Replies (6)

I am trying to find a working grpc to install.
The command I tried and result was
>py -m pip install grpc
Collecting grpc
Using cached https://f..... More

Print this item

  WHY? General Python Programming question moved to GUI.
Posted by: Webtest - May-09-2019, 01:10 PM - Forum: Board - Replies (3)

Esteemed Administrators and Moderators:

I just posted a very generic Python Programming question which was immediately moved to the "..... More

Print this item

  HOW TO: Use Globals In Module ???
Posted by: Webtest - May-09-2019, 12:45 PM - Forum: GUI - Replies (3)

Esteemed Forum Participants and Lurkers:
Platform: Linux Mint 18.3 Mate 64-bit, Python 3.5.2 & Idle3
I am working on a Python 3..... More

Print this item

  Still struggling with np.where...
Posted by: pberrett - May-09-2019, 12:06 PM - Forum: General Coding Help - Replies (1)

Hello everyone

Despite some help on this forum I am still struggling with np.where

Can someone help solve my problem?

I have a numpy array d..... More

Print this item

  Reading in MYSQL data as integer type
Posted by: Daveinthebigcity - May-09-2019, 11:49 AM - Forum: General Coding Help - Replies (2)

Hi,
I'm using mysql.connector to query my databases but I'm having trouble with the data type returned.
in my query result I'm just looking for a co..... More

Print this item

  Type error when reading in different data types on an __init__ method
Posted by: Dylanmull - May-09-2019, 11:28 AM - Forum: General Coding Help - Replies (3)

I have the following task to complete:
Making appropriate use of your Duration class write an MP3Song class to
model an MP3 song. Every song has an ..... More

Print this item

  Keras + Matplotlib causing crash
Posted by: spearced - May-09-2019, 10:40 AM - Forum: Data Science - Replies (3)

Hi all,

I'm working my way through Francios Chollet's 'Deep Learning with Python', which teaches Deep Learning through the Keras frontend for Tenso..... More

Print this item

  zip lists with condition
Posted by: 3Pinter - May-09-2019, 09:08 AM - Forum: General Coding Help - Replies (6)

Guys,

Can I zip lists but ONLY if a list isn't empty?

[python]
a = [1,2,3,4,5]
b = [ [], [], ["a","b"], ["e","h"], []]
c = zip(a, b)
d = []..... More

Print this item

  Print Numbers starting at 1 vertically with separator for output numbers
Posted by: Pleiades - May-09-2019, 08:45 AM - Forum: General Coding Help - Replies (3)

These numbers scroll vertically down my cmd screen after I hit execute from Geany. Is it possible for python to include numbers next to numbers with ..... More

Print this item

  Replace a list or string element with a random one..
Posted by: pianistseb - May-09-2019, 08:03 AM - Forum: General Coding Help - Replies (3)

Hello!

I have to do a very simple task, but I have problems with speed. I have a list called 'chromosome', and I want to replace each N into A,G,C ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Earnestinome 1 hour ago Dichaelmag Dichaelmag General Codin...
  What role does IoT play i... 1 hour ago ShaneCorn ShaneCorn General Codin...
  Can I develop a live vide... 1 hour ago mtrkhan ShaneCorn Web Scraping ...
  Enhancing Python Learning... 2 hours ago slicemasternet slicemasternet General Codin...
  Help with Serial.write in... 8 hours ago racingsubby racingsubby General Codin...
  silent deployment Python ... Yesterday, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP Yesterday, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... Yesterday, 08:47 Moltar1997 perfringo General Codin...
  best way to learn python Yesterday, 04:40 dutch ichsanputr News and Disc...
  data fetching for indian ... 11-25, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
Most views
  The best Prog... 579385
  Tutorial Requ... 512439
  Web Scraping ... 442300
  Newbie with P... 386351
  New Users Int... 380365
Most reputation
buran 581
snippsat 511
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12111
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
cruisesfares Today
Dichaelmag Today
ShaneCorn Today
SNR Today
slicemasternet Today

User Panel Messages

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