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,958
» Latest member: SprunkiRetake
» Forum threads: 38,728
» Forum posts: 175,529

Full Statistics

Online Users
There are currently 46 online users.
» 0 Member(s) | 40 Guest(s)
Google, Bing, AOL, Applebot, AOL

Latest Threads
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
39 minutes ago
» Replies: 1
» Views: 2,421
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
4 hours ago
» Replies: 0
» Views: 84
extracting data from a us...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 01:49 PM
» Replies: 2
» Views: 248
how to export a dictionar...
Forum: GUI
Last Post: Pedroski55
Yesterday, 03:45 AM
» Replies: 3
» Views: 308
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
Yesterday, 01:04 AM
» Replies: 0
» Views: 445
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-24-2025, 02:48 PM
» Replies: 10
» Views: 29,573
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Sep-23-2025, 12:00 PM
» Replies: 4
» Views: 9,514
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
Sep-23-2025, 09:08 AM
» Replies: 0
» Views: 386
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
Sep-23-2025, 03:29 AM
» Replies: 2
» Views: 859
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Sep-22-2025, 08:56 PM
» Replies: 9
» Views: 1,080

 
  Automating putty for daily repetitive task
Posted by: Kanchan - Aug-30-2018, 06:18 PM - Forum: Bar - Replies (4)

I have a daily work on putty.
1)login to putty
2)type commands to give file path
3)run .sh file
This sh file has 43 options. I have to enter 1 to ..... More

Print this item

  KeyError issue - unable to find root cause
Posted by: simms7400 - Aug-30-2018, 05:36 PM - Forum: General Coding Help - Replies (13)

Hi Folks -

I'm very new to python and I'm trying to muddle way through an issue I'm having but can't seem to figure it out.

I have the followin..... More

Print this item

  Python function that uses a word as the encryption key, rather than an integer
Posted by: wak_stephanie - Aug-30-2018, 04:57 PM - Forum: General Coding Help - Replies (4)

I am confused on what to add as my encryption function via the Vigenere cipher... I am more familiar with the Caesar method so I am drawing a complete..... More

Print this item

  How to store pathlib paths in json file
Posted by: Larz60+ - Aug-30-2018, 04:30 PM - Forum: Code sharing - Replies (2)

This took me a while to figure out, woludn't have 15 years ago, but the result is quite simple:

I wanted to store pathlib objects in a json file, s..... More

Print this item

  Using a imported module in python via pache results in permission denied error
Posted by: zooitje - Aug-30-2018, 03:00 PM - Forum: Web Scraping & Web Development - Replies (1)

I'm trying to use a imported module (pylightning) in a python script that runs using apache under user www-data.

The script gives a permission erro..... More

Print this item

  Simple pendulum with variable length
Posted by: Gaelou - Aug-30-2018, 02:59 PM - Forum: Data Science - Replies (1)

Hello, I need to model a simple pendulum with a variable length. I found a differential equation with two variables, does somebody know a method or an..... More

Print this item

  That moment...
Posted by: ichabod801 - Aug-30-2018, 01:44 PM - Forum: Bar - Replies (3)

when you're testing one of your games, and it's a really hard game, but you are about to win for once, but you have to lose because that's what you're..... More

Print this item

  Python read Password protected excel and convert to Pandas DataFrame
Posted by: FORTITUDE - Aug-30-2018, 12:53 PM - Forum: Data Science - Replies (2)

Hi All,

I am new to Python and now actively learning pandas.

I am trying to read a password protected excel file (prompt for password upon open)..... More

Print this item

  Python Code Help Needed
Posted by: eddywinch82 - Aug-30-2018, 11:07 AM - Forum: Web Scraping & Web Development - Replies (4)

Hi Could someone post the Thread, in the Jobs Section of the Forum, for me ?

I tried but was unable to before :-

Here is the Text :-

Hi there..... More

Print this item

  replace html string with python variable !
Posted by: evilcode1 - Aug-30-2018, 10:07 AM - Forum: General Coding Help - Replies (4)

hello all ...
im trying to run this command on the system ( whoami ) and i need to result for the command to be saved in html page ...

this is my ..... More

Print this item

  Download multiple images and rename them
Posted by: andie31 - Aug-30-2018, 07:36 AM - Forum: General Coding Help - Replies (4)

Morning guys, I'm trying to download pictures and rename them

I've got 1 product, that has 5 pictures, so 5 pictures to download and rename.

It w..... More

Print this item

  user input to select and print data from another class python
Posted by: TyTheChosenOne - Aug-30-2018, 04:12 AM - Forum: General Coding Help - Replies (6)

This is a snippet of my playercharacter class, specifically the inventory which later calls Weapon which is another class with a list of..... More

Print this item

  How to best communicate with android phone from PC running Python script?
Posted by: Sol33t303 - Aug-30-2018, 02:37 AM - Forum: Networking - Replies (1)

I'm currently new to Python (have been learning it for a month or two now, with some previous experience with bash scripting), I want to create a scri..... More

Print this item

  Getting Started
Posted by: john_rb - Aug-30-2018, 12:07 AM - Forum: News and Discussions - Replies (3)

I started learning Python by using Thonny. I lost it when a Windows 10 update failed and I had to re-install Windows. I downloaded Python (python-3.7...... More

Print this item

  iterating over files
Posted by: clarablanes - Aug-29-2018, 05:57 PM - Forum: General Coding Help - Replies (17)

Hello all, I think I need a lot of help.
I have a file named CONFIG.inp. What I need to do is to create 100 others (i.e. CONFIG1, CONFIG2, etc) repl..... More

Print this item

  Assign image names in folder to images in other folder.
Posted by: ujjwalrathod007 - Aug-29-2018, 05:10 PM - Forum: Data Science - Replies (15)

Hello all,

I want to use images for input to my algorithm. the images are stored in a file with names and I want to extract those names and give it..... More

Print this item

  How to write for loop?
Posted by: sandy49992 - Aug-29-2018, 04:25 PM - Forum: Data Science - Replies (7)

Hello, my friends. This is my first post in python. My English is not very well,sorry...
I'm try to practice more. I do my best to express the quest..... More

Print this item

  Join 2 items of array without a separator
Posted by: VoodooJia - Aug-29-2018, 04:19 PM - Forum: General Coding Help - Replies (3)

Hi all
Im trying to join 2 items together from a 2D array without a separator

[python]
x = [[2, "D"], [6, "H"], [8, "S"], [5, "H"]]
print(x[2])..... More

Print this item

  Twilio alternative
Posted by: jmair - Aug-29-2018, 02:55 PM - Forum: General Coding Help - Replies (4)

Twilio would be perfect, but I'm in a location where cell service doesn't work very well so SMS messages would be impractical. I plan on using it for ..... More

Print this item

  Keyboard Maestro has problem importing python scripts
Posted by: bobsmith76 - Aug-29-2018, 02:53 PM - Forum: General Coding Help - Replies (3)

I'm trying to run my python scripts with the click of one button. i'm tired of hunting for my terminal, activating it, then inputting an alias. so i'v..... More

Print this item

  Try and Exception not properly working with xpath
Posted by: sumandas89 - Aug-29-2018, 02:33 PM - Forum: General Coding Help - No Replies

This is a small code segment of a program and below the output is given -
[python] try:
print('li 8')
lim = driver.find_element..... More

Print this item

  How to Integrate PyQt4 Custom Widget with Qt Designer
Posted by: Zukias - Aug-29-2018, 02:06 PM - Forum: GUI - Replies (1)

Hi All,

I am quite new to PyQt and am having some difficulty integrating custom PyQt4 widgets into Qt Designer.

I'm using the analogclock.pyw cu..... More

Print this item

  [link]Creating-a-repo-for-your-completed-scripts
Posted by: metulburr - Aug-29-2018, 01:19 PM - Forum: Code sharing - No Replies

test

Print this item

  Shanting Yard Algorithm basic implementation
Posted by: praevalens - Aug-29-2018, 11:16 AM - Forum: General Coding Help - Replies (1)

Hey there!

I wanted to write the Shanting yard algorithm for solving algebraic expressions as a warm up exercise after taking a break from coding ...... More

Print this item

  Extremely Long String Help
Posted by: Destry23000 - Aug-29-2018, 10:46 AM - Forum: General Coding Help - Replies (7)

Hi,
I'm working with DNA and am trying to run a simple program to clean up the sequences I get from online databases. I need to convert all lower..... More

Print this item

  Why my python code is throwing several errors?
Posted by: amanulla1601 - Aug-29-2018, 10:29 AM - Forum: Web Scraping & Web Development - Replies (2)

[python]
from selenium import webdriver
import time

driver=webdriver.Firefox()
time.sleep(3)
driver.minimize_window()
time.sleep(3)
driver.get("htt..... More

Print this item

  Anyone knows how to decrypt a gif file?
Posted by: SoulsKeeper - Aug-29-2018, 10:25 AM - Forum: General Coding Help - No Replies

Hi, I got what seems to be an encrytion for a gif file in python and no matter which method i research i can't find the right command lines to deycrpt..... More

Print this item

  Cannot use functions at the bottom of ptpython
Posted by: sylas - Aug-29-2018, 09:52 AM - Forum: General Coding Help - Replies (1)

Hi all!

Quote: [F4] Emacs 24/24 [F3] History [F6] Paste mode [F2] Menu - CPython 3.7.0
You have above the bottom line of my ptpyth..... More

Print this item

  Accuracy of sqrt
Posted by: vndywarhol - Aug-29-2018, 09:37 AM - Forum: General Coding Help - Replies (1)

I'm trying to create a function which calculate root using the Newton method, but with small numbers this doesn't work. Is it problem with Python or w..... More

Print this item

  Can't get defined random integer to print properly?
Posted by: thb202 - Aug-29-2018, 08:55 AM - Forum: General Coding Help - Replies (1)

https://imgur.com/a/TAarvQQ

^I've attached the image above, program when it runs is on the left. Any help wo..... More

Print this item

  Problem while showing a Pandas DataFrame
Posted by: Sirduke1 - Aug-29-2018, 06:14 AM - Forum: Data Science - No Replies

I have a 100x10 pandas DataFrame and I would like to show it nicely, for the moment when I print it there is a "\" that separates it in two big lines ..... More

Print this item

  Loop-help for a newbie?
Posted by: pcsailor - Aug-29-2018, 04:14 AM - Forum: General Coding Help - Replies (25)

Hello,
I'm new here and this is my first post. I am aggressively learning Python and very excited to be doing so. Last year I took a 5-month MEAN s..... More

Print this item

  main function scope issues
Posted by: wak_stephanie - Aug-29-2018, 02:14 AM - Forum: General Coding Help - Replies (1)

I created a Python function that take an argument, full name, gets full name's initials and prints them out capitalized but the problem is with my mai..... More

Print this item

  more on the ubuntu/pypi packaging problems
Posted by: Skaperen - Aug-29-2018, 01:54 AM - Forum: Bar - Replies (1)

1. ubuntu has included many pypi packages in order to resolve dependencies of some non-pypi packages in its repository without running pip.

2. py..... More

Print this item

  Writing a function that accepts a path to an input file
Posted by: says - Aug-29-2018, 01:37 AM - Forum: General Coding Help - Replies (3)

[python]import os
path = 'c:\users\name\desktop\project\input_samples'

for xyz_file in os.listdir(path):
if xyz_file.endswith('xyz'):
(operat..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Using Python to SSH and R... 39 minutes ago justaguy SprunkiRetake Networking
  My goal to be hired worki... 4 hours ago GnomeSweetGnome GnomeSweetGnome News and Disc...
  extracting data from a us... Yesterday, 13:49 Perry DeaD_EyE General Codin...
  [Tkinter] how to export a... Yesterday, 03:45 RonR Pedroski55 GUI
  Is the interpreter that c... Yesterday, 01:04 helendamdam helendamdam General Codin...
  pip install requests does... 09-24, 14:48 misodca DeaD_EyE General Codin...
  Creating a Mindmap progra... 09-23, 12:00 J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... 09-23, 09:08 compuman145 compuman145 General Codin...
  A coding beginner needs h... 09-23, 03:29 Littlefish Littlefish General Codin...
  Using a For Loop to subtr... 09-22, 20:56 Anunderling deanhystad General Codin...
  403 error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
Most views
  The best Prog... 576914
  Tutorial Requ... 499539
  Web Scraping ... 440693
  Newbie with P... 384662
  New Users Int... 368660
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+ 12088
buran 8176
snippsat 7367
deanhystad 6895
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
SprunkiRetake Today
GnomeSweetGnome Yesterday
alxpetrovo2272 Yesterday
Jamirul Yesterday
Perry Yesterday

User Panel Messages

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