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,285
» Latest member: IsmaelSlalk
» Forum threads: 38,794
» Forum posts: 175,877

Full Statistics

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

Latest Threads
LewisByday
Forum: General Coding Help
Last Post: IsmaelSlalk
26 minutes ago
» Replies: 0
» Views: 1
LhanePulse
Forum: General Coding Help
Last Post: Gichardaxora
4 hours ago
» Replies: 0
» Views: 16
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 12:05 PM
» Replies: 5
» Views: 118
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 50
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,483
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 143
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 63
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,071
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,300
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 367

 
  Set Output
Posted by: ghosalsantanuit - Jan-15-2020, 05:12 PM - Forum: General Coding Help - Replies (1)

Hi i am running below code
[python]
color_list_1 = set(["White", "Black", "Red"])
color_list_2 = set(["Red", "Green"])

for i in color_list_1:
..... More

Print this item

  Creating a set with dataclass and dict
Posted by: hobbitdur - Jan-15-2020, 05:06 PM - Forum: General Coding Help - Replies (11)

Hi everyone.
I am trying to play with the new @dataclass and TypedDict from 3.7 and 3.8
But after searching and reading lots of documentation I cann..... More

Print this item

  Manipulating the filename of an output script
Posted by: mckinneycm - Jan-15-2020, 04:05 PM - Forum: General Coding Help - Replies (4)

I'm using this script to pull the Running-Configs from my switches. It creates a filename for each output that includes "IP Address + today's date". W..... More

Print this item

  Write text expander in Python
Posted by: constantin01 - Jan-15-2020, 03:46 PM - Forum: General Coding Help - Replies (5)

Hi

I want to write simple program in Python that replace the certain sequence of letters with some unicode symbol. For example, "delta_low" -> "δ"...... More

Print this item

  How to prevent python from going to new line in for loop?
Posted by: idknuttin - Jan-15-2020, 03:38 PM - Forum: General Coding Help - Replies (3)

For example, let's say I want to go through each character in a string and print it like this

for x in "Python":
    print(x)
..... More

Print this item

  Error with print and return commands
Posted by: TheDark_Knight - Jan-15-2020, 03:30 PM - Forum: General Coding Help - Replies (2)


Hello guys, I'm new to Python, just tried running a simple code but am facing an error. Here's how my code ..... More

Print this item

  How to set majorGridLines in openpyxl?
Posted by: Karsten42 - Jan-15-2020, 02:34 PM - Forum: General Coding Help - No Replies

Dear Experts,

Quite new at Python, so sorry fo stupid question but I have some experiences in C/C++ and Perl and some other languages. Now I need t..... More

Print this item

  Formatting file data written to file.
Posted by: melblanc - Jan-15-2020, 01:35 PM - Forum: General Coding Help - Replies (2)

I have four columns of data in a file created and written to
by a Python script.

The first column is a line entry number beginning with, '1'
wi..... More

Print this item

  connecting the first point to the last point Matplotlib
Posted by: omar_mohsen - Jan-15-2020, 01:23 PM - Forum: General Coding Help - No Replies

I wanted to plot by using matplotlib library to plot data frames that read from database SQL without using plt.pause so I created a class to plot and ..... More

Print this item

  Skbio with Tree
Posted by: Zach - Jan-15-2020, 12:59 PM - Forum: General Coding Help - Replies (1)

Hi all,

I am new to this forum as well as python, and would be grateful for any help. I am working with a tree for my analyses and it does not seem..... More

Print this item

  Newbie needs help with a simple program
Posted by: feynarun - Jan-15-2020, 12:41 PM - Forum: General Coding Help - Replies (3)

I am trying to follow a python youtube channel by Mosh Hamedani and I tried to write a simple piece of code after seeing his program. My basics are no..... More

Print this item

  Serial port monitor
Posted by: federicomassimi - Jan-15-2020, 11:52 AM - Forum: Networking - Replies (1)

hi, I would like to create a small software that can monitor data from ant to serial port.
In practice I have a hardware device that communicates wit..... More

Print this item

  Help with install kivy
Posted by: PythonHenning - Jan-15-2020, 05:06 AM - Forum: GUI - Replies (4)

Hi, I have problem with install kivy.

I have follow the instruction on the link under:
under the heading "Installing the kivy stable release."

..... More

Print this item

  Homework help
Posted by: khanhcao1 - Jan-15-2020, 05:06 AM - Forum: Homework - Replies (2)

My teacher requirement is to use format() function to display the result of the division to 2 decimal places and inform the user that only 2 decimal p..... More

Print this item

  merge sort
Posted by: rootVIII - Jan-15-2020, 04:22 AM - Forum: Code sharing - Replies (4)

This one always blows my mind

[python]

def merge(left, right):
combined, left_index, right_index = [], 0, 0
while left_index < len(lef..... More

Print this item

  Python to build desktop and mobile apps
Posted by: tneilson08 - Jan-15-2020, 02:37 AM - Forum: News and Discussions - Replies (3)

Hello,
I'm very new to programming. I'm teaching myself through YouTube and some other courses. So one thing I'd like to do is learn how to develop m..... More

Print this item

  Homework help
Posted by: khanhcao1 - Jan-15-2020, 02:07 AM - Forum: Homework - Replies (2)

Look up the basic 2019 federal income tax rates for single filers by going to this
site at nerdwallet.com and expanding the section for Single Filers..... More

Print this item

  How do you set the alpha of a color???
Posted by: xBlackHeartx - Jan-15-2020, 01:11 AM - Forum: Game Development - Replies (7)

When I enter in the alpha value for a color, nothing changes no matter what I set it to. I don't even get an error message. My program just acts like ..... More

Print this item

  expressing an 8-bit ASCII code
Posted by: Skaperen - Jan-15-2020, 12:43 AM - Forum: Bar - Replies (2)

every possible unambiguous way people might want to express one of the 256 possible byte codes, where the first 128 are ASCII codes, i want to be able..... More

Print this item

  Tkinter problem
Posted by: catlessness - Jan-14-2020, 11:38 PM - Forum: GUI - Replies (1)

1.if you just run this, youll have a window to input 'order' and 'Rs'.
2.Enter a number in 'order' and press ok.
3.Change the number in 'order' aga..... More

Print this item

  Python "IndexError:"
Posted by: baidyas - Jan-14-2020, 10:39 PM - Forum: General Coding Help - Replies (3)

Dear experts,

I am not an expert in python. I am using a python code which takes two parameters Kpoints and Energy from a file EIGENVAL file...... More

Print this item

  Help with a banking Program
Posted by: CrazyMakes - Jan-14-2020, 10:20 PM - Forum: General Coding Help - Replies (4)

Hello i am a 13 year old novice programer trying to learn and just mess around with programing. I am making a bank program and have been trying to fix..... More

Print this item

  Unable to verify python versio
Posted by: ThereIsNoSpoom - Jan-14-2020, 10:18 PM - Forum: General Coding Help - Replies (2)

Hello, yesterday I installed 3.8.1 version of python and node.js. When I installed node.js afterwords and clicked install all requirements I saw as it..... More

Print this item

  How to use a returned value?
Posted by: t4keheart - Jan-14-2020, 10:04 PM - Forum: General Coding Help - Replies (12)

Hi everybody,
I'm working on a program that involves querying a database with pyodbc and working with the results. below you will see my program, and..... More

Print this item

  Plotly library with AIX 6.X / 7.X ?
Posted by: HK2432 - Jan-14-2020, 06:03 PM - Forum: General Coding Help - No Replies

Hello,

I've created a CGI in bash for my job but I find that the graphs are pretty bad visually...

I would like to use the Plotly library in ord..... More

Print this item

  Need to speed up my code.
Posted by: blackknite - Jan-14-2020, 05:04 PM - Forum: Code Review - Replies (6)

I have to return a simple sum of the most present values in the array, ie [3,5,2,1,2,3,2,2] - > should return 4, because (2,2,2,2).
The array sometim..... More

Print this item

  User management library?
Posted by: MuntyScruntfundle - Jan-14-2020, 02:01 PM - Forum: General Coding Help - No Replies

Hi there. Just wondering if there is a user management library anywhere, adding users, changing groups etc. I'm specifically interested in Debian/Ra..... More

Print this item

  [split] Python Module for Druid Users - "druidpy!"
Posted by: adaomacarl - Jan-14-2020, 11:34 AM - Forum: General Coding Help - No Replies

Its good to use to use python druid

for line in lines:

producer.send('vtintel', value=line)
sleep(1)
I can fe..... More

Print this item

  how to stop and start a script for 30 seconds
Posted by: laspaul - Jan-14-2020, 11:08 AM - Forum: General Coding Help - Replies (9)

Hello and thank you for having me.

At the moment i run a shell script using start.sh and then stop it with stop.sh.

Is there a way i can run the..... More

Print this item

  Python 3.8 on mac failing to start
Posted by: sgandon - Jan-14-2020, 10:58 AM - Forum: General Coding Help - No Replies

hi there,
I hope this is the right place to get help on install issues.
I am on a mac, using brew to install the azure cli that depends on the pyhton ..... More

Print this item

  I am trying to change the value of an element in a record array
Posted by: ingu - Jan-14-2020, 10:02 AM - Forum: Data Science - Replies (1)

[inline]import numpy as np
person_data_def = [('name', 'm8'),('height', 'f8'),('weight', 'f8'),('age', 'i8')]
people_array = np.zeros(4, dtype=perso..... More

Print this item

  install PyQt
Posted by: jaleel2007 - Jan-14-2020, 09:44 AM - Forum: GUI - Replies (2)

Just today install python and then download pyqt5
how can I install PyQt5? In windows command prompt,
I type "python pip install PyQt5" some error ..... More

Print this item

  Parsing based on variables in the website
Posted by: nikos48 - Jan-14-2020, 08:51 AM - Forum: Web Scraping & Web Development - Replies (3)

Hi,

I am a newby at Python, so bear with me.
My code is already working for multiple websites with the same setup (example: https://www.dropbox.c..... More

Print this item

  Converting query string as a condition for filter data.
Posted by: shah_entrance - Jan-14-2020, 08:35 AM - Forum: General Coding Help - Replies (1)

I make a project where user gives a query string for example " ( (ip.src==10.74.45.110 && ip.dst==239.255.255.255) || ip.proto == 17 ) && eth.addr==6c..... More

Print this item

  python echo server
Posted by: kerzol81 - Jan-14-2020, 07:46 AM - Forum: Networking - Replies (2)

Hi, I commited this little echo server for testing purposes. The only thing I don't like, that I cannot stop or exit from the client side.
I'd like t..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  LewisByday 26 minutes ago IsmaelSlalk IsmaelSlalk General Codin...
  LhanePulse 4 hours ago Gichardaxora Gichardaxora General Codin...
  data fetching for indian ... Yesterday, 12:05 drakhsin snippsat Web Scraping ...
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... 11-21, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 11-20, 04:46 Barber532 SledgeNE Game Developm...
  Graph Interpolate Difficu... 11-19, 20:34 Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... 11-19, 05:03 Astrobert Gribouillis General Codin...
Most views
  The best Prog... 579259
  Tutorial Requ... 512108
  Web Scraping ... 442186
  Newbie with P... 386294
  New Users Int... 379622
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+ 12109
buran 8196
snippsat 7390
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
IsmaelSlalk Today
Stephenchers Today
alexferrina Yesterday
MattCarters 11-22
drakhsin 11-22

User Panel Messages

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